--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libopenft-gift: seg fault
- From: William Lynch <corsipo@comcast.net>
- Date: Sun, 15 Feb 2004 21:24:54 -0500
- Message-id: <E1AsYOq-00007X-00@spohr.debian.org>
Package: libopenft-gift
Version: 0.2.1.2-1
Severity: normal
Okay, here goes. I'm fiddling around with the Interface Protocal, trying
to see what happens and what not. I open up a telnet session to
localhost:1213, and i decided to type in...
search<enter>;<enter>
that will cause gift to crash, if i have openft loaded as a protocal, but
not if i have none, or gnutella loaded. giftd -v spits out...
[21:18] OpenFT: 68.116.100.143:1215 SEARCH (+SEARCH)
[21:18] OpenFT: 80.13.105.245:0 (USER) -> FINAL:
[21:18] OpenFT: 80.13.105.245:0 (USER) -> DISCO: VerMismatch: 00010005
giftd: ft_search_obj.c:39: set_params: Assertion `query != ((void *)0)' failed.
Aborted
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 29066)]
0x4070a571 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x4070a571 in kill () from /lib/libc.so.6
#1 0x40661761 in pthread_kill () from /lib/libpthread.so.0
#2 0x40661a6b in raise () from /lib/libpthread.so.0
#3 0x4070a324 in raise () from /lib/libc.so.6
#4 0x4070b838 in abort () from /lib/libc.so.6
#5 0x40703a4f in __assert_fail () from /lib/libc.so.6
#6 0x40827c25 in ft_search_cmp () from /usr/lib/giFT/libOpenFT.so
#7 0x40827da8 in ft_search_new () from /usr/lib/giFT/libOpenFT.so
#8 0x40822a8e in ft_browse_reply () from /usr/lib/giFT/libOpenFT.so
#9 0x40822b5d in openft_search () from /usr/lib/giFT/libOpenFT.so
#10 0x0804dbbc in daemon_command_handle ()
#11 0x4002a2e4 in dataset_foreach_ex () from /usr/lib/libgift.so.0
#12 0x4002f64c in list_foreach () from /usr/lib/libgift.so.0
#13 0x4002a332 in dataset_foreach_ex () from /usr/lib/libgift.so.0
#14 0x0804fa11 in plugin_foreach ()
#15 0x0804de8e in daemon_command_handle ()
#16 0x0804d887 in daemon_command_handle ()
#17 0x08052b03 in if_event_detach ()
#18 0x4002c3ca in event_quit () from /usr/lib/libgift.so.0
#19 0x4002c672 in event_quit () from /usr/lib/libgift.so.0
#20 0x4002c789 in event_poll_once () from /usr/lib/libgift.so.0
#21 0x4002c819 in event_loop () from /usr/lib/libgift.so.0
#22 0x08054f9d in if_transfer_finish ()
#23 0x0805506a in gift_main ()
#24 0x080550ab in main ()
#25 0x406f6dc6 in __libc_start_main () from /lib/libc.so.6
I have no idea if this helps, but the last part of a strace on giftd, is
this...
write(2, "giftd: ft_search_obj.c:39: set_p"..., 80giftd:
ft_search_obj.c:39: set_params: Assertion `query != ((void *)0)' failed.
) = 80
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(26, "\374rz\344\v[\264E\301h&\376\\\224\3\317\326P*R\36\1\n"..., 769) = 769
write(24, "n\377[z\270\257\360\24\277\32\316\220% \303\265z\f\331"..., 258) = 258
write(23, "]\316\310\315K\36\320\322^\"\3422vOBm.MDb\1L&5\23\262T"..., 352) = 352
kill(29071, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mini-sharth 2.4.23-epia1 #1 Sat Dec 27 21:21:08 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libopenft-gift depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-16 Berkeley v4.1 Database Libraries [
ii libgift0 0.11.5-2.0 helper library for various giFT co
ii libgiftproto0 0.11.5-2.0 interface library for giFT and pro
ii zlib1g 1:1.2.1-3 compression library - runtime
-- no debconf information
--- End Message ---