GNOME Bugzilla – Bug 98467
Crash while picking a font in gedit
Last modified: 2004-12-22 21:47:04 UTC
Description: Description of Problem: I wanted to select a font to use in my Arabic text, so I went to the Gedit settings, and clicked on the font name tp "Pick a Font", I started scrolling through the fonts when suddenly I got a crash. Steps to reproduce the problem: 1. Open Gedit go to Edit> Preferences> Fonts&Colors 2. Click on the Font name to open the "Pick a font" window 3. Scroll through the fonts to see different shapes for the font 4. when you reach certain fonts. Gedit crash.. it will happen with different fonts, but it will always happen with them some of those fonts are: -macromedia-chevara-medium-r-normal-*-*-120-*-*-p-*-iso10646-1 and -macromedia-arioso-medium-r-normal-*-*-120-*-*-p-*-iso10646-1 and -glyph systems-mcs rika out-medium-r-normal-*-*-120-*-*-p-*-iso10646-1 Actual Results: Gedit Crash Expected Results: See the Font Preview How often does this happen? Every time I try to see those fonts Debugging Information: Backtrace was generated from '/opt/gnome2/bin/gedit' [New Thread 1024 (LWP 2291)] 0x420b4769 in wait4 () from /lib/i686/libc.so.6
+ Trace 30370
Thread 1 (Thread 1024 (LWP 2291))
Could you recompile with debugging symbols? That's a fairly short trace. (Paolo: could you check if the trace is any good and move this bug to NEEDINFO if it's not.)
Same probelm showed up in other applications with the same dialog ( "Pick a font" Dialog).. it seems to be a common dialog.. but I am not sure if it is in gnome-libs, or gnome-core or whatever .. It is not a gedit bug.. if anyone knows what package the "Pick a Font" dialog belong to, please move the bug to it..
-> libgnomeui It still can't be solved without a backtrace though
The trace does not contain useful info. Please, post a new one with debugging symbols.
Created attachment 12314 [details] One of the fonts that cause the crash
I am not that good in gdb .. but here is what I can come up with: (gdb) run [New Thread 1024 (LWP 7186)] ** (gnome-font-properties:7186): WARNING **: Cannot load unicode character map for font Arioso 11 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 7186)] get_pattern_info (pattern=Cannot access memory at address 0x31 ) at pangoxft-fontmap.c:234 in pangoxft-fontmap.c
Isam, please do the following in gdb: (gdb) run ... wait for the crash (gdb) bt ... this will print a backtrace that can you should paste in here. Thanks for your help!
I can use this font in gedit, and I can see it just fine in fonts:/// in nautilus. Close this as fixed?
Can you still see this problem?
No feedback. Closing.