#22 segfault in dnh 3.2

open
nobody
None
5
2008-03-17
2008-03-17
Andrew
No

I'm using dnh 3.2 with setvbuf() line in btfiles.cpp removed as suggested here:
http://www.rahul.net/dholmes/ctorrent/#news

Occasionally I get segmentation fault of ctorrent. Sometimes I get glibc double free() corruption message:
*** glibc detected *** /usr/bin/ctorrent: double free or corruption (out): 0x080797f0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d50c16]
/lib/libc.so.6(cfree+0x8e)[0xb7d5141e]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7f2e2e1]
/usr/bin/ctorrent[0x80652f9]
/usr/bin/ctorrent[0x806754b]
[0xb7fb0420]
/usr/bin/ctorrent[0x806656b]
/usr/bin/ctorrent[0x805d2a0]
/usr/bin/ctorrent[0x805d002]
/lib/libc.so.6(__libc_start_main+0xdf)[0xb7cfd35f]
/usr/bin/ctorrent(__gxx_personality_v0+0xa1)[0x8049b71]
======= Memory map: ========

Sometimes sticker in status line just freezes, CPU load is about 100% for a long time, and I kill ctorrent with C-c, and I get just segmentation fault message in this case.

Thus it is rare appeared error it seems almost impossible to use gdb here. Maybe I'll recompile ctorrent with -g3 and will try to receive more meaningful message from glibc.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks