You are not logged in.

#1 2005-05-01 11:28:16

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

giftd segfaulting?

in a discussion with a colleague i wanted to show that linux has a nice p2p sharing programme (they argued that windows and mac have much better p2p programmes).

so i pacman -Sy'ed gift, set it up, enabled the plugins (configured it) and started it. it connected to openFT, gnutella and fasttrack after some seconds. everything fine... but either it's demonstration effect or murphy's law (i myself don't use gift or any p22 at all) but unfortunately giftd keeps segfaulting after a short time always

in verbose mode:

[13:24:16] FastTrack: fst_fasttrack.c:306(fst_plugin_session_callback): CONNECTED to 62.234.52.127:1575, local ip: 192.168.1.33
Segmentation fault

strace giftd

poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=21, events=POLLIN}, {fd=30, events=POLLOUT}, {fd=10, events=POLLOUT}, {fd=14, events=POLLOUT}, {fd=12, events=POLLOUT}, {fd=13, events=POLLOUT}, {fd=32, events=POLLIN}, {fd=15, events=POLLOUT}, {fd=16, events=POLLOUT}, {fd=17, events=POLLOUT}, {fd=18, events=POLLIN}, {fd=11, events=POLLIN}, {fd=20, events=POLLOUT}, {fd=31, events=POLLOUT}, {fd=23, events=POLLOUT}, {fd=24, events=POLLOUT}, {fd=25, events=POLLOUT}, {fd=22, events=POLLIN}, {fd=27, events=POLLOUT}, {fd=28, events=POLLOUT}, {fd=26, events=POLLIN, revents=POLLIN}], 25, 650) = 1
recv(26, "rn", 2048, MSG_PEEK)        = 2
recv(26, "rn", 2, 0)                  = 2
gettimeofday({1114946763, 225690}, NULL) = 0
gettimeofday({1114946763, 225749}, NULL) = 0
time(NULL)                              = 1114946763
gettimeofday({1114946763, 225959}, NULL) = 0
gettimeofday({1114946763, 226045}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=21, events=POLLIN}, {fd=30, events=POLLOUT}, {fd=10, events=POLLOUT}, {fd=14, events=POLLOUT}, {fd=12, events=POLLOUT}, {fd=13, events=POLLOUT}, {fd=32, events=POLLIN}, {fd=15, events=POLLOUT}, {fd=16, events=POLLOUT}, {fd=17, events=POLLOUT}, {fd=18, events=POLLIN}, {fd=11, events=POLLIN}, {fd=20, events=POLLOUT}, {fd=31, events=POLLOUT}, {fd=23, events=POLLOUT}, {fd=24, events=POLLOUT}, {fd=25, events=POLLOUT}, {fd=22, events=POLLIN, revents=POLLIN}, {fd=27, events=POLLOUT}, {fd=28, events=POLLOUT}, {fd=26, events=POLLIN}], 25, 638) = 1
getsockopt(22, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
recv(22, "HTTP/1.1 206 Partial ContentrnCo"..., 4096, 0) = 1019
gettimeofday({1114946763, 233023}, NULL) = 0
gettimeofday({1114946763, 233080}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
[damir@Asteraceae ~]$   

gdb giftd

(gdb) run
Starting program: /usr/bin/giftd
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210161472 (LWP 6235)]
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210161472 (LWP 6235)]
0xb7e52d03 in strlen () from /lib/tls/libc.so.6

it may have to do with tls

anyone experiences the same?


The impossible missions are the only ones which succeed.

Offline

#2 2005-05-01 15:18:57

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: giftd segfaulting?

Gift works just fine for me.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

Board footer

Powered by FluxBB