bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] SEGFAULT when thread object is deleted


From: Stas Oskin
Subject: [Bayonne-devel] SEGFAULT when thread object is deleted
Date: Wed, 30 Aug 2006 16:33:38 +0300

Hi.

When I delete a thread, either via self-delete or manually, I
receive SEGFAULTS:

1) Self-Delete
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219343440 (LWP 20374)]
0x00e70904 in ost::Thread::close () from /usr/lib/libccgnu2-1.3.so.1

(gdb) back
#0 0x00e70904 in ost::Thread::close () from /usr/lib/libccgnu2-1.3.so.1
#1 0x00e70f45 in ost::SysTime::getGMTTime () from /usr/lib/libccgnu2-
1.3.so.1
#2 0x00252bd4 in start_thread () from /lib/libpthread.so.0
#3 0x009cb4fe in clone () from /lib/libc.so.6


2) Manual deletion (in launching process)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208908096 (LWP 20963)]
0x00a279b3 in main_arena () from /lib/libc.so.6
(gdb) backtrace
#0 0x00a279b3 in main_arena () from /lib/libc.so.6
#1 0x08054307 in MainClass::deleteWorkers (this=0xbfdc1468)
at MainClass.cpp:162
#2 0x0805548a in MainClass::run (this=0xbfdc1468, argc=3, argv=0xbfdc15f4)
at MainClass.cpp:217
#3 0x0805b3d2 in main (argc=3, argv=0xbfdc15f4) at recorder.cpp:20


Currently, I cannot to release the threads, which leads to memory leaks. Any
help will be much appreciated.

Thanks,
Stas.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]