Stefan Seyfried d679c3fdf0 neutrino: try to fix segfault on shutdown
I have no other explanation for this backtrace on shutdown,
(gdb) bt
 #0 0x00000f00 in ?? ()
 #1 0x2fd7b7b8 in cDataReader::RemoveFilter(cDemuxFilter*) () from /lib/libcoolstream-mt.so
 #2 0x2fd6c8cc in cDemux::Stop() () from /lib/libcoolstream-mt.so
 #3 0x00164c38 in getUTC (UTC=0x41a86e03, TDT=false)
 at ./src/sectionsd/dmxapi.cpp:148
 #4 0x001490f8 in timeThread ()
 at ./src/sectionsd/sectionsd.cpp:6969
 #5 0x2fd2a584 in start_thread () from /lib/libpthread.so.0

it happened in this sequence:
 [ 06:52:16.393 ] dvbsub_thread shutdown
 [dvb-sub] stopped
 [sectionsd] cnThread ended
 pausing...
 [sectionsd] eitThread ended
 httpd shutdown
 httpd shutdown done
 Segmentation fault (core dumped)

So I guess that the pthread_cancel triggered it.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 30778f4b41
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-12-06 (Tue, 06 Dec 2011)

Origin message was:
------------------
neutrino: try to fix segfault on shutdown

I have no other explanation for this backtrace on shutdown,
(gdb) bt
 #0 0x00000f00 in ?? ()
 #1 0x2fd7b7b8 in cDataReader::RemoveFilter(cDemuxFilter*) () from /lib/libcoolstream-mt.so
 #2 0x2fd6c8cc in cDemux::Stop() () from /lib/libcoolstream-mt.so
 #3 0x00164c38 in getUTC (UTC=0x41a86e03, TDT=false)
   at ./src/sectionsd/dmxapi.cpp:148
 #4 0x001490f8 in timeThread ()
   at ./src/sectionsd/sectionsd.cpp:6969
 #5 0x2fd2a584 in start_thread () from /lib/libpthread.so.0

it happened in this sequence:
 [ 06:52:16.393 ] dvbsub_thread shutdown
 [dvb-sub] stopped
 [sectionsd] cnThread ended
 pausing...
 [sectionsd] eitThread ended
 httpd shutdown
 httpd shutdown done
 Segmentation fault (core dumped)

So I guess that the pthread_cancel triggered it.


------------------
This commit was generated by Migit
2012-04-17 19:33:50 +02:00
2012-04-17 19:33:42 +02:00
2012-04-17 19:33:50 +02:00
2009-12-08 11:05:11 +00:00
2009-12-08 11:18:17 +00:00

The file is empty.
Languages
C++ 85%
C 12.5%
Shell 0.6%
Makefile 0.6%
M4 0.5%
Other 0.7%