> Can you put something like:
>
> printf("deleting refsock: %p\n", this); in the 'if (refCount < 0)' clause in server.h?
> Also, something like:
> printf("new socket: %p\n", this); in the constructor, and printf("locking socket %p\n", this); in the Lock + unlock functions (change text as appropriate, of course).
>
> Don't really understand how it could be crashing, really. Things shouldn't be able to be deleted and still stay in that list, unless.. This isn't a slave backend doing the dying, is it?
>
> Isaac


The original guy didn't reply yet but I have the same problem. I inserted the lines above and here is the dump.
Seems 0xab716f28 is deleted and then locked.

-----------------------------------8<---------------------------
locking socket 0xabafab20
unlocking socket 0xabafab20
locking socket 0xad586c20
2005-05-25 20:53:48.802 write -> 33 45 BACKEND_MESSAGE[]:[]SCHEDULE_CHANGE[]:[]empty
unlocking socket 0xad586c20
locking socket 0xab716f28
unlocking socket 0xab716f28
locking socket 0xab854da0
unlocking socket 0xab854da0
2005-05-25 20:53:50.000 JobQueue::GetJobsInQueue: findJobs search bitmask 28, found 0 total jobs
new socket: 0xaba6ded0
locking socket 0xaba6ded0
2005-05-25 20:53:59.504 write -> 22 13      ACCEPT[]:[]17
unlocking socket 0xaba6ded0
locking socket 0xaba6ded0
2005-05-25 20:53:59.523 read  <- 22 26      ANN Playback hilly.house 0
2005-05-25 20:53:59.534 MainServer::HandleAnnounce Playback
2005-05-25 20:53:59.538 adding: hilly.house as a client (events: 0)
2005-05-25 20:53:59.538 write -> 22 2       OK
unlocking socket 0xaba6ded0
locking socket 0xaba6ded0
2005-05-25 20:53:59.723 read  <- 22 19      QUERY_GETALLPENDING
2005-05-25 20:53:59.738 write -> 22 70372 0[]:[]121[]:[]My Hero[]:[]Time and Time Again[]:[]Sitcom about an...
unlocking socket 0xaba6ded0
deleting refsock: 0xad4dfb18
deleting refsock: 0xab716f28
deleting refsock: 0xab8c0fa0
new socket: 0xabb0b988
locking socket 0xabb0b988
2005-05-25 20:54:12.471 write -> 22 13      ACCEPT[]:[]17
unlocking socket 0xabb0b988
locking socket 0xabb0b988
2005-05-25 20:54:12.496 read  <- 22 26      ANN Playback hilly.house 0
2005-05-25 20:54:12.502 MainServer::HandleAnnounce Playback
2005-05-25 20:54:12.502 adding: hilly.house as a client (events: 0)
2005-05-25 20:54:12.503 write -> 22 2       OK
unlocking socket 0xabb0b988
locking socket 0xabb0b988
2005-05-25 20:54:12.761 read  <- 22 19      QUERY_GETALLPENDING
2005-05-25 20:54:12.782 write -> 22 70372 0[]:[]121[]:[]My Hero[]:[]Time and Time Again[]:[]Sitcom about an...
unlocking socket 0xabb0b988
new socket: 0xab716f28
locking socket 0xab716f28
2005-05-25 20:54:15.053 write -> 22 13      ACCEPT[]:[]17
unlocking socket 0xab716f28
locking socket 0xab716f28
2005-05-25 20:54:15.079 read  <- 22 26      ANN Playback hilly.house 0
2005-05-25 20:54:15.090 MainServer::HandleAnnounce Playback
2005-05-25 20:54:15.090 adding: hilly.house as a client (events: 0)
2005-05-25 20:54:15.090 write -> 22 2       OK
unlocking socket 0xab716f28
locking socket 0xab716f28
2005-05-25 20:54:15.256 read  <- 22 19      QUERY_GETALLPENDING
2005-05-25 20:54:15.271 write -> 22 70372 0[]:[]121[]:[]My Hero[]:[]Time and Time Again[]:[]Sitcom about an...
unlocking socket 0xab716f28
2005-05-25 20:54:15.370 JobQueue currently set at 1 job(s) max and to run new jobs from 00:00 to 23:59 2005-05-25 20:54:15.380 JobQueue::GetJobsInQueue: findJobs search bitmask 4, found 0 total jobs
deleting refsock: 0xab6bd850
deleting refsock: 0xaba43530
deleting refsock: 0xab854da0
deleting refsock: 0xaba6ded0
2005-05-25 20:55:02.168 DVB#1 Trying to tune to channel 5.
2005-05-25 20:55:02.179 DVB#1 Frequency: 850166670. BW:8MHz HP:2/3 LP:1/2 C:64 TM:2K H:None GI:1/32 2005-05-25 20:55:02.241 Started recording "Super Structures" on channel: 1017 on cardid: 1, sourceid 1
2005-05-25 20:55:02.250 DVB#0 Trying to tune to channel 36.
2005-05-25 20:55:02.260 DVB#0 Frequency: 850166670. BW:8MHz HP:2/3 LP:1/2 C:64 TM:2K H:None GI:1/32
locking socket 0xabafab20
unlocking socket 0xabafab20
locking socket 0xad586c20
2005-05-25 20:55:02.328 write -> 33 45 BACKEND_MESSAGE[]:[]SCHEDULE_CHANGE[]:[]empty
unlocking socket 0xad586c20
locking socket 0xab716f28
unlocking socket 0xab716f28
2005-05-25 20:55:02.446 DVB#0 Waiting for frontend event after tune.
2005-05-25 20:55:02.721 DVB#0 DVB signal cdcd | snr bdbd | ber 1fffe | unc    0
2005-05-25 20:55:03.027 DVB#0 Status: LOCK.
2005-05-25 20:55:03.028 DVB#0 Multiplex Locked
2005-05-25 20:55:03.718 DVB#1 Waiting for frontend event after tune.
2005-05-25 20:55:03.742 DVB#1 DVB signal 3a3a | snr ffff | ber    0 | unc    0
2005-05-25 20:55:03.742 DVB#1 Status: LOCK.
2005-05-25 20:55:03.743 DVB#1 Multiplex Locked
2005-05-25 20:55:03.919 DVB#0 Successfully tuned to channel 36.
[New Thread -1390416976 (LWP 12346)]
locking socket 0xabafab20
unlocking socket 0xabafab20
locking socket 0xad586c20
2005-05-25 20:55:04.085 write -> 33 51 BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
unlocking socket 0xad586c20
locking socket 0xab716f28
unlocking socket 0xab716f28
2005-05-25 20:55:04.122 Changing from None to RecordingOnly
2005-05-25 20:55:04.183 Using profile 'Default' to record
[New Thread -1400906832 (LWP 12348)]
2005-05-25 20:55:04.210 DVB#0 Recorder: Card opened successfully (using TS 
mode).
2005-05-25 20:55:04.218 DVB#0 AutoPID for ServiceID=15744, PCRPID=5989
2005-05-25 20:55:04.227 DVB#0 AutoPID selecting PID 5989, MPEG-2 Video
2005-05-25 20:55:04.239 DVB#0 AutoPID selecting PID 7560, MPEG-2 Audio (eng
2005-05-25 20:55:04.252 DVB#0 AutoPID skipping PID 7082, Data
2005-05-25 20:55:04.263 DVB#0 AutoPID Complete - PAT/PMT Loaded for service
2005-05-25 20:55:04.309 DVB#0 Service is FTA
2005-05-25 20:55:04.317 DVB#0 Adding pid 5989
2005-05-25 20:55:04.336 DVB#0 Adding pid 7560
2005-05-25 20:55:04.357 DVB#0 Data read from DMX - This is for debugging with transform.c
deleting refsock: 0xabb0b988
deleting refsock: 0xab716f28
2005-05-25 20:55:04.538 DVB#1 Successfully tuned to channel 5.
[New Thread -1421874256 (LWP 12349)]
2005-05-25 20:55:04.654 Uncorrectable error in packet, dropped.
2005-05-25 20:55:04.654 Transport Stream Continuity Error. PID = 5989
2005-05-25 20:55:04.654 DVB#0 PID 5989 _continuity_count 12 cc 13
2005-05-25 20:55:04.674 Changing from None to RecordingOnly
locking socket 0xabafab20
unlocking socket 0xabafab20
locking socket 0xad586c20
2005-05-25 20:55:04.674 write -> 33 51 BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
unlocking socket 0xad586c20
locking socket 0xab716f28

0x05cc7f4c in QMutex::lock () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
(gdb) Junk at end of line specification.
(gdb) Quit


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to