Mailing List archive

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

[vdr] Thread error segfault



Hi all,

I am working on a client-server architecture based on VDR 1.3.12 xine plugin
0.6.0 and streamdev-0.3.3-pre3-geni

I had some problem switching from free to air channels and other encrypted
channels (I have no cam)

es:
from
RAI2;RAI:11765:v:S13.0E:27500:513:651=ita:577:0:3402:318:5200:0
to
Ch. 264 - HB11-12,
HB15-16:12825:v:S19.2E:27500:4260:4322,4332:0:0:264:1:101:0

I think this could be a thread problem.
In my syslog I can see that not all the thread started are closed when I
switch from channels:

Nov 12 17:55:32 goku vdr[13874]: reading EPG data from /video/epg.data
Nov 12 17:55:32 goku vdr[13876]: XineRemote control thread started
(pid=13876, tid=16386)
Nov 12 17:55:32 goku vdr[13876]: Entering cXineRemote thread
Nov 12 17:55:32 goku vdr[13878]: streamdev-client: sections assembler thread
started (pid=13878, tid=49156)
Nov 12 17:55:32 goku vdr[13879]: Section handler thread started (pid=13879,
tid=65541)
Nov 12 17:55:32 goku vdr[13874]: reading EPG data from /video/epg.data
Nov 12 17:55:32 goku vdr[13880]: KBD remote control thread started
(pid=13880, tid=81926)
Nov 12 17:55:32 goku vdr[13874]: remote control KBD - keys known
Nov 12 17:55:32 goku vdr[13881]: transfer thread started (pid=13881,
tid=98311)
Nov 12 17:55:32 goku vdr[13882]: receiver on device 6 thread started
(pid=13882, tid=114696)
Nov 12 17:55:33 goku vdr[13883]: Streamdev: UDP-TS Assembler thread started
(pid=13883, tid=131081)
Nov 12 17:55:54 goku vdr[13881]: transfer thread ended (pid=13881,
tid=98311)
Nov 12 17:55:54 goku vdr[13883]: buffer stats: 32888 (3%) used
Nov 12 17:55:54 goku vdr[13883]: Streamdev: UDP-TS Assembler thread ended
(pid=13883, tid=131081)
Nov 12 17:55:54 goku vdr[13882]: receiver on device 6 thread ended
(pid=13882, tid=114696)
Nov 12 17:55:54 goku vdr[13874]: buffer stats: 43428 (4%) used
Nov 12 17:55:54 goku vdr[13884]: transfer thread started (pid=13884,
tid=147463)
Nov 12 17:55:54 goku vdr[13885]: receiver on device 6 thread started
(pid=13885, tid=163848)
Nov 12 17:55:54 goku vdr[13886]: Streamdev: UDP-TS Assembler thread started
(pid=13886, tid=180233)
Nov 12 17:56:09 goku vdr[13884]: transfer thread ended (pid=13884,
tid=147463)
Nov 12 17:56:12 goku vdr[13874]: buffer stats: 0 (0%) used
Nov 12 17:56:12 goku vdr[13887]: transfer thread started (pid=13887,
tid=196615)
Nov 12 17:56:12 goku vdr[13888]: receiver on device 6 thread started
(pid=13888, tid=213000)
Nov 12 17:56:12 goku vdr[13889]: Streamdev: UDP-TS Assembler thread started
(pid=13889, tid=229386)

Who does have to end the thread:
"receiver on device 6 thread started (pid=13885, tid=163848)" and
"Streamdev: UDP-TS Assembler thread started (pid=13886, tid=180233)"

Following I attach my coredump; it seems to be a thread creation problem

#0  0x40051300 in sem_timedwait () from /lib/libpthread.so.0
#1  0x4004dbea in pthread_mutex_unlock () from /lib/libpthread.so.0
#2  0x4033f670 in cStreamdevAssembler::Action (this=0x8256ad0) at
client/assembler.c:86
#3  0x080d0a98 in cThread::StartThread (Thread=0x8256ad0) at thread.c:189
#4  0x4004ccc4 in pthread_detach () from /lib/libpthread.so.0
#5  0x40259037 in clone () from /lib/libc.so.6

at the end the errno value is 11 (EAGAIN)

does anyone have some suggestions?

thanks
    Cristiano





Home | Main Index | Thread Index