[Bug 1205177] New: Mutt: Some characters in mail headers kill the XTerm mutt is running in
http://bugzilla.opensuse.org/show_bug.cgi?id=1205177 Bug ID: 1205177 Summary: Mutt: Some characters in mail headers kill the XTerm mutt is running in Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: P.Suetterlin@royac.iac.es QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- A really strange one, happened to me the second time now: I read my mail via mutt, running in an XTerm. I access my mailbox via IMAPS. If there are emails with strange characters in the Subject: line, when printing that on screen XTerm dies with a segmentation fault. It is specific to XTerm, if I run mutt in Konsole (or a virtual console outside X11) it does work, If I look at the "bad" file with less, I can see Subject: =?utf-8?B?MjAlIHJhYmF0dCBww6UgcmFtYXIg8J+SpQ==?= console/Konsole do display an empty square at the end of the line, so I suspect that one is to blame? I am running TW 20221025 with X11 as server, mutt is 2.2.7-2.1, xterm 373-1.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205177 http://bugzilla.opensuse.org/show_bug.cgi?id=1205177#c1 --- Comment #1 from Peter S�tterlin <P.Suetterlin@royac.iac.es> --- Ah, sent too early. On further research, it seems to be related to the font used, which in my case is "Liberation Mono". If I start an XTerm with another font, like "Noto Sans", no segfault happens. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205177 http://bugzilla.opensuse.org/show_bug.cgi?id=1205177#c2 Peter S�tterlin <P.Suetterlin@royac.iac.es> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Mutt: Some characters in |XTerm with "Liberation |mail headers kill the XTerm |Mono" as font: some UTF8 |mutt is running in |characters cause a segfault | |of xterm --- Comment #2 from Peter S�tterlin <P.Suetterlin@royac.iac.es> --- I've changed the title to be more precise. Mutt isn't involved at all. I can copy the bad character from any application that doesn't crash. If I just paste that (middle mouse click) into an xterm with Liberation Mono font it dies. Here's the relevant text (last character is the bad one) 20% rabatt p� ramar -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205177 http://bugzilla.opensuse.org/show_bug.cgi?id=1205177#c3 --- Comment #3 from Peter S�tterlin <P.Suetterlin@royac.iac.es> --- Looks like the bad character gets removed when posting :( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205177 http://bugzilla.opensuse.org/show_bug.cgi?id=1205177#c5 --- Comment #5 from Peter S�tterlin <P.Suetterlin@royac.iac.es> --- Sounds indeed very similar. I just ran xterm in gdb (had to update it to version 375, because of the debug symbols). Just opening an xterm, and pasting the bad character in. Here's a backtrace, if that helps: #0 IA__FcPatternDuplicate (orig=0x31) at /usr/src/debug/fontconfig-2.14.0-1.4.x86_64/src/fcpat.c:1194 #1 0x00005555555d7bf2 in findXftGlyph (wc=<optimized out>, fontData=0x7ffff76cb340, xw=0x7ffff76be010) at ./fontutils.c:4374 #2 drawXtermText (params=<optimized out>, gc=0x555555680d50, start_x=145, start_y=<optimized out>, text=0x555555975130, len=1) at ./util.c:4025 #3 0x000055555558630a in WriteText (len=1, str=0x555555975130, xw=0x7ffff76be010) at ./util.c:1194 #4 dotext (xw=0x7ffff76be010, charset=nrc_ASCII, buf=0x555555975130, len=1) at ./charproc.c:6448 #5 0x00005555555e8d5b in doparsing.constprop.0 (xw=xw@entry=0x7ffff76be010, c=128165, sp=<optimized out>) at ./charproc.c:3055 #6 0x00005555555855b2 in VTparse (xw=0x7ffff76be010) at ./ptydata.c:334 #7 0x0000555555591319 in VTRun (xw=0x7ffff76be010) at ./charproc.c:8767 #8 0x000055555557ad4a in main (argc=<optimized out>, argv=<optimized out>) at ./main.c:2910 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com