After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 98467 - Crash while picking a font in gedit
Crash while picking a font in gedit
Status: RESOLVED INCOMPLETE
Product: libgnomeui
Classification: Deprecated
Component: general
2.2.x
Other Linux
: High critical
: 2.2.0
Assigned To: libgnomeui maintainers
libgnomeui maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-14 09:06 UTC by Isam Bayazidi
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
One of the fonts that cause the crash (58.34 KB, application/x-font-ttf)
2002-11-15 10:14 UTC, Isam Bayazidi
Details

Description Isam Bayazidi 2002-11-14 09:06:24 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

Thread 1 (Thread 1024 (LWP 2291))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 647
  • #4 <signal handler called>
  • #5 get_pattern_info
    at pangoxft-fontmap.c line 234

Comment 1 Andrew Sobala 2002-11-14 17:26:33 UTC
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.)
Comment 2 Isam Bayazidi 2002-11-14 23:39:42 UTC
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..  
Comment 3 Andrew Sobala 2002-11-15 00:24:09 UTC
-> libgnomeui

It still can't be solved without a backtrace though
Comment 4 Paolo Maggi 2002-11-15 10:11:54 UTC
The trace does not contain useful info.

Please, post a new one with debugging symbols.
Comment 5 Isam Bayazidi 2002-11-15 10:14:36 UTC
Created attachment 12314 [details]
One of the fonts that cause the crash
Comment 6 Isam Bayazidi 2002-11-15 10:17:20 UTC
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
Comment 7 Sebastian Rittau 2002-12-17 00:34:44 UTC
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!
Comment 8 Kjartan Maraas 2003-05-12 20:18:16 UTC
I can use this font in gedit, and I can see it just fine in fonts:///
in nautilus. Close this as fixed?
Comment 9 Kjartan Maraas 2003-11-30 20:33:26 UTC
Can you still see this problem?
Comment 10 Kjartan Maraas 2004-01-18 17:58:29 UTC
No feedback. Closing.