--- Begin Message ---
Package: gtksee
Version: 0.5.2-0.1
Severity: normal
Hi!
GTKSee segfaults in browser mode on long filenames:
david@zion:~/tmp$ strace gtksee
[ ... ]
stat64("/home/david/tmp/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.jpg",
{st_mode=S_IFREG|0644, st_size=42888, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
david@zion:~/tmp$
Regards, David
PS: just for your info, current version is 0.5.4; and compiles without
changes to the debian-diff; but doesn't fix this problem;
PPS: There are multiple SEGVs. The first is in
src/imagesilist.c:image_silist_refresh(): fullname[] has to be of size
FILENAME_MAX
Then it segfaults again in
(gdb) bt
#0 0x4038fba5 in mallopt () from /lib/libc.so.6
#1 0x4038ed33 in malloc () from /lib/libc.so.6
#2 0x08051a79 in fsize (size=42888) at util.c:68
#3 0x0806c21a in image_set_tooltips (widget=0x8113220, info=0x8113058)
at imagelist.c:681
#4 0x08069de2 in image_silist_refresh (il=0x80f8618) at
imagesilist.c:350
#5 0x0806912c in image_silist_set_dir (il=0x80f8618,
dir=0x80e3224 "/home/david/tmp") at imagesilist.c:191
But it looks as if there is already major stack/heap corruption.
Regards, David
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zion 2.4.22-1-k7 #5 Sat Oct 4 14:11:12 EST 2003 i686
Locale: LANG=C, LC_CTYPE=de_AT
Versions of packages gtksee depends on:
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libgtk1.2 1.2.10-16 The GIMP Toolkit set of widgets fo
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.5.0-4 PNG library - runtime
ii libtiff3g 3.5.7-2 Tag Image File Format library
ii xlibs 4.3.0-0pre1v1 X Window System client libraries
ii zlib1g 1:1.1.4-16 compression library - runtime
-- no debconf information
--- End Message ---