[mythtv-commits] Ticket #9027: BE segfault on start of recording 3 HD programs (HDHR)

MythTV mythtv at cvs.mythtv.org
Tue Sep 28 17:35:41 UTC 2010


#9027: BE segfault on start of recording 3 HD programs (HDHR)
-------------------------------------------------------+--------------------
     Reporter:  Dave Alverson <dalverson28@…>          |       Owner:  silicondust
         Type:  defect                                 |      Status:  new        
     Priority:  minor                                  |   Milestone:  unknown    
    Component:  MythTV - HDHomeRun                     |     Version:  0.23.1     
     Severity:  medium                                 |    Keywords:             
Ticket locked:  0                                      |  
-------------------------------------------------------+--------------------
 My FE/BE was set to record three HD programs starting at 8pm. 2 were on
 the same multiplex. The BE segfaulted as it was starting. Encoders 1-4 are
 HDHR, 5-6 are AirStar HD5000. The input is TWCable. I noticed at 8:35 the
 2 tuner lights on the HDHR were off and determined it crashed and
 restarted the BE and it started recording 3 programs fine. Heres a
 summary; details in attachments.


 Sep 27 20:00:08 dvr kernel: mythbackend[10835]: segfault at c2e54f20 ip
 00db417d sp a2e54eb0 error 5 in
 libmythhdhomerun-0.23.1.so.0.23.1[daf000+d000]


 MythTV Version   : 25469
 MythTV Branch    : branches/release-0-23-fixes/mythtv/


 {{{
 Program terminated with signal 11, Segmentation fault.
 #0  0x00db417d in hdhomerun_control_recv_sock (cs=0x9a6cfc8,
 tx_pkt=0x9a6cfe0, rx_pkt=0x9a6dbf4, type=4,
     recv_timeout=5000) at hdhomerun_control.c:217
 217                     if (!FD_ISSET(cs->sock, &readfds)) {

 (gdb) p cs
 $1 = (struct hdhomerun_control_sock_t *) 0x9a6cfc8
 (gdb) p readfds
 $2 = {fds_bits = {0 <repeats 32 times>}}
 (gdb) p *cs
 $3 = {desired_device_id = 270163495, desired_device_ip = 0,
 actual_device_id = 270163495, actual_device_ip =
     3232238345, sock = -1, dbg = 0x0, tx_pkt = {pos = 0x9a6d3ec "", start
 = 0x9a6d3ec "", end =
     0x9a6d405 "am:537000000", limit = 0x9a6dbee "", buffer =
     '\000' <repeats 1021 times>,
 "\004\000\021\003\017/tuner0/status\000g\372\022\334am:537000000\000.2\356C0:60134\000\226\215\v\240\060\063\065
 0x0110-0x0112 0x1ffb\000\024\360\004\315", '\000' <repeats 1970 times>},
   rx_pkt = {pos = 0x9a6e004 "", start = 0x9a6e004 "", end = 0x9a6e004 "",
 limit = 0x9a6e802 "", buffer =
     '\000' <repeats 1025 times>,
 "\005\000.\003\017/tuner0/target\000\004\033rtp://192.168.11.200:60134\000\000\005\000\"\003\020/tuner0/channel\000\004\016qam:537000000\000\061%\036\303\000\005\000O\003\017/tuner0/status\000\004<ch=qam:537000000
 lock=qam256 ss=96 snq=99 seq=0 bps=0 pps=0\000\251[\276\267", '\000'
 <repeats 1870 times>}}

 }}}

 Looks like cs->sock is -1, I think thats the problem.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/9027>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list