--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gnome-iconedit: SIGSEGV while using 'draw fill rectangle' in the lower left corner
- From: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>
- Date: Wed, 26 May 2004 13:33:35 +0200
- Message-id: <E1BSwf9-0000rQ-5j@tangerine.coulon.evette>
Package: gnome-iconedit
Version: 1.2.0-9
Severity: normal
Hi,
The operation I have done:
- open a new drawing 48x48
- select a colour (black)
- use the "draw filled rectangles" tool to fill a vertical band
3 pixels wide on the left edge.
I began at the top left corner and then moved to the bottom
3 pixels apart from the edge.
At this point, gnome-iconeditor hang. I had to kill it.
If I stopped the rectangle one pixel before the bottom edge, it works.
If I fill the remaining pixels withe the "paint pixels" tool, it works
Here is the end of a strace on the process:
[ ... ]
gettimeofday({1085570824, 507139}, NULL) = 0
write(4, "B \7\0003\3\240\4\333\2\240\4\0\0\33\0\250\1\33\0\250\1"..., 168) = 168
ioctl(4, FIONREAD, [0]) = 0
poll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2, 0) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(4, "\33 \2\0\0\0\0\0 \2\2\0\0\0\0\0+\1\1\0", 20) = 20
read(4, 0xbfffeb40, 32) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\6\1R\2~\0Q"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\6\1T\2~\0S"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\7\1U\2\177"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\7\1X\2\177"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\7\1Y\2\177"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\7\1Z\2\177"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\10\1\\\2\200"..., 32) = 32
read(4, "\6\0\212\22en>\1H\0\0\0\352\2\240\4\0\0\0\0\t\1]\2\201"..., 32) = 32
read(4, "\1\2\223\22\0\0\0\0\330\2\240\4\0\0\0\0\0\0\0\0\16\0\0"..., 32) = 32
rt_sigprocmask(SIG_SETMASK, NULL, [SEGV RTMIN], 8) = 0
rt_sigsuspend([SEGV]
If I run it in gdb, I get the following backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 27421)]
0x4066a4bd in mallopt () from /lib/libc.so.6
(gdb) bt
#0 0x4066a4bd in mallopt () from /lib/libc.so.6
#1 0x40669ce8 in mallopt () from /lib/libc.so.6
#2 0x40668ed3 in malloc () from /lib/libc.so.6
#3 0x4034c457 in _Xmbstoutf8 () from /usr/X11R6/lib/libX11.so.6
#4 0x4034c81c in _XmbTextListToTextProperty () from /usr/X11R6/lib/libX11.so.6
#5 0x40322f4f in XmbTextListToTextProperty () from /usr/X11R6/lib/libX11.so.6
#6 0x4029ea1b in gdk_mbstowcs () from /usr/lib/libgdk-1.2.so.0
#7 0x401caa1d in gtk_entry_get_text () from /usr/lib/libgtk-1.2.so.0
#8 0x401f24d3 in gtk_marshal_NONE__POINTER_INT_POINTER ()
from /usr/lib/libgtk-1.2.so.0
#9 0x40220d77 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#10 0x4021eea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x401c625a in gtk_editable_insert_text () from /usr/lib/libgtk-1.2.so.0
#12 0x401c7c4a in gtk_entry_set_text () from /usr/lib/libgtk-1.2.so.0
#13 0x0804f8b4 in ie_update_statusbar ()
#14 0x080581f6 in ie_layer_event ()
#15 0x40060a46 in gnome_canvas_item_constructv ()
from /usr/lib/libgnomeui.so.32
#16 0x40221a9e in gtk_signal_remove_emission_hook ()
from /usr/lib/libgtk-1.2.so.0
#17 0x40220f1c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#18 0x4021eea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#19 0x40064f85 in gnome_canvas_new_aa () from /usr/lib/libgnomeui.so.32
#20 0x401f21c9 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#21 0x40220d77 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#22 0x4021eea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#23 0x40254a5a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#24 0x401f205c in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#25 0x401f117d in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#26 0x40299e20 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#27 0x00000000 in ?? ()
#28 0xbffff528 in ?? ()
#29 0x40299dbf in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#30 0x00000000 in ?? ()
#31 0xbffff568 in ?? ()
#32 0x404c203d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
Previous frame inner to this frame (corrupt stack?)
--
Regards
- Jean-Luc
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.26-k6-13
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro
Versions of packages gnome-iconedit depends on:
ii gdk-imlib1 1.9.14-14 imaging library for use with gtk (
ii libart2 1.4.2-18 The GNOME canvas widget - runtime
ii libaudiofile0 0.2.6-3 Open-source version of SGI's audio
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii libdb3 3.2.9-19.1 Berkeley v3 Database Libraries [ru
ii libesd-alsa0 [libesd0] 0.2.29-1 Enlightened Sound Daemon (ALSA) -
ii libgdk-pixbuf2 0.22.0-3 The GdkPixBuf image library, gtk+
ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libgnome32 1.4.2-18 The GNOME libraries
ii libgnomesupport0 1.4.2-18 The GNOME libraries (Support libra
ii libgnomeui32 1.4.2-18 The GNOME libraries (User Interfac
ii libgnorba27 1.4.2-18 GNOME CORBA services
ii libgtk1.2 1.2.10-16 The GIMP Toolkit set of widgets fo
ii liborbit0 0.5.17-9 Libraries for ORBit - a CORBA ORB
ii libpng2 1.0.15-5 PNG library, older version - runti
ii libxml1 1:1.8.17-5 GNOME XML library
ii xlibs 4.3.0.dfsg.1-1 X Window System client libraries m
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- no debconf information
--- End Message ---