Crash while using tvheadend

Added by Maurice Commandeur almost 8 years ago

I was watching TV via tvheadend and switching channels. Suddenly the crash reporter came up.
I can reproduce it when I select an unencrypted channel from tvheadend.
This is what gdb it shows :

@mbp:~ maurice$ cd /Applications/
mbp:Applications maurice$ gdb --args Showtime.app/Contents/MacOS/showtime
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ............... done

warning: .o file "/Users/maurice/Downloads/showtime/showtime/build.osx/libav/install/lib/libswscale.a(rgb2rgb.o)" more recent than executable timestamp in "/Applications/Showtime.app/Contents/MacOS/showtime"

warning: Could not open OSO file /Users/maurice/Downloads/showtime/showtime/build.osx/libav/install/lib/libswscale.a(rgb2rgb.o) to scan for pubtypes for objfile /Applications/Showtime.app/Contents/MacOS/showtime

warning: .o file "/Users/maurice/Downloads/showtime/showtime/build.osx/libav/install/lib/libavcodec.a(mlpdsp.o)" more recent than executable timestamp in "/Applications/Showtime.app/Contents/MacOS/showtime"

warning: Could not open OSO file /Users/maurice/Downloads/showtime/showtime/build.osx/libav/install/lib/libavcodec.a(mlpdsp.o) to scan for pubtypes for objfile /Applications/Showtime.app/Contents/MacOS/showtime

warning: .o file "/Users/maurice/Downloads/showtime/showtime/build.osx/libav/install/lib/libavutil.a(cpu.o)" more recent than executable timestamp in "/Applications/Showtime.app/Contents/MacOS/showtime"

warning: Could not open OSO file /Users/maurice/Downloads/showtime/showtime/build.osx/libav/install/lib/libavutil.a(cpu.o) to scan for pubtypes for objfile /Applications/Showtime.app/Contents/MacOS/showtime

(gdb) run
Starting program: /Applications/Showtime.app/Contents/MacOS/showtime
Reading symbols for shared libraries ++++++++++++.............................................................................................................................. done
core [INFO]: Using 2 CPU
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
i18n [INFO]: Loading language nl_NL
navigator [INFO]: Opening page:home
HTTPSRV [INFO]: Listening on port 42000
Reading symbols for shared libraries . done
UPNP [INFO]: Unable to introspect http://10.211.55.2:2170/ -- Connection refused
UPNP [INFO]: Unable to introspect http://10.37.129.2:2170/ -- Connection refused
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
GLW [INFO]: OpenGL Renderer: 'NVIDIA GeForce 9400M OpenGL Engine' by 'NVIDIA Corporation'
Reading symbols for shared libraries . done
navigator [INFO]: Opening htsp://192.168.20.40:9982
HTSP [INFO]: Connected to 192.168.20.40:9982
HTSP [INFO]: Unknown async method 'dvrEntryAdd' received
HTSP [INFO]: Unknown async method 'dvrEntryAdd' received
navigator [INFO]: Opening htsp://192.168.20.40:9982/tag/6
navigator [INFO]: Opening htsp://192.168.20.40:9982/tagchannel/6/94
navigator [INFO]: Opening htsp://192.168.20.40:9982/tagchannel/6/94
navigator [INFO]: Opening htsp://192.168.20.40:9982/tag/4
navigator [INFO]: Opening htsp://192.168.20.40:9982/tagchannel/4/30

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000018
[Switching to process 46585 thread 0xd20b]
video_subtitles_lavc [inlined] () at /Users/maurice/Downloads/showtime/showtime/src/video/video_overlay.c:83
83 uint32_t *dst = (uint32_t *)vo->vo_pixmap->pm_pixels;
(gdb) thread apply all backtrace

Thread 31 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x0000000100433f2b in frame_worker_thread (arg=0x1021b9270) at pthread.c:289
#3 0x00007fff93b38b75 in thread_start ()

Thread 30 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x0000000100433f2b in frame_worker_thread (arg=0x1021b6410) at pthread.c:289
Previous frame inner to this frame (gdb could not unwind past this frame)

Thread 29 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001a8b93 in ad_thread (aux=0x101900e00) at audio_decoder.c:148
#3 0x00000001001a68d9 in thread_trampoline (aux=0x105401b60) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 28 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001d83eb in mp_dequeue_event (mp=0x1021e5400) at media.c:555
#3 0x00000001001ae4f8 in be_htsp_playvideo (url=0x1021e5400 "\025", mp=0x108181da0, flags=90624, priority=135798176, errbuf=0x108181da0 "?\036\030\b\001", errlen=4430765472, mimetype=0x0, canonical_url=0x10ad3a0a0 "htsp://192.168.20.40:9982/tagchannel/4/30") at htsp.c:1495
#4 0x0000000100236cfd in video_player_idle (aux=0x1021e5480) at video_playback.c:168
#5 0x00000001001a68d9 in thread_trampoline (aux=0x1054adf10) at arch_posix.c:320
#6 0x00007fff93b358bf in _pthread_start ()
#7 0x00007fff93b38b75 in thread_start ()

Thread 27 (process 46585):
#0 video_subtitles_lavc [inlined] () at /Users/maurice/Downloads/showtime/showtime/src/video/video_overlay.c:83
#1 0x0000000100236a8b in video_overlay_decode (vd=0x101923c00, mb=0x101b4f800) at video_overlay.c:178
#2 0x0000000100235914 in vd_thread (aux=0x101923c00) at video_decoder.c:383
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10541c530) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 26 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001ef5b9 in prop_courier (aux=0x10aae3ad0) at prop_core.c:722
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10aadd3f0) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 25 (process 46585):
#0 0x00007fff8cf9f67a in mach_msg_trap ()
#1 0x00007fff8cf9ed71 in mach_msg ()
#2 0x00007fff923f6eb3 in HALB_MachPort::SendMessageWithReply ()
#3 0x00007fff923f6f05 in HALB_MachPort::SendSimpleMessageWithSimpleReply ()
#4 0x00007fff923f0568 in HALC_ProxyIOContext::IOWorkLoop ()
#5 0x00007fff923f0151 in HALC_ProxyIOContext::IOThreadEntry ()
#6 0x00007fff923f000c in HALB_IOThread::Entry ()
#7 0x00007fff93b358bf in _pthread_start ()
#8 0x00007fff93b38b75 in thread_start ()

Thread 24 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001afbc3 in htsp_worker_thread (aux=0x1011f8608) at htsp.c:865
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10115a7c0) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 23 (process 46585):
#0 0x00007fff8cfa0d7a in recvfrom ()
#1 0x00000001001e8355 in tcp_read (tc=0x1011f7ef0, buf=0x1021df800, len=1925, all=121244888) at net_posix.c:167
#2 0x00000001001ae984 in htsp_recv (hc=0x17) at htsp.c:200
#3 0x00000001001af823 in htsp_thread (aux=0x1073a0ef0) at htsp.c:1023
#4 0x00000001001a68d9 in thread_trampoline (aux=0x109d29a10) at arch_posix.c:320
#5 0x00007fff93b358bf in _pthread_start ()
#6 0x00007fff93b38b75 in thread_start ()

Thread 22 (process 46585):
#0 0x00007fff8cfa1192 in __workq_kernreturn ()
#1 0x00007fff93b37594 in _pthread_wqthread ()
#2 0x00007fff93b38b85 in start_wqthread ()

Thread 21 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x000000010021a2c7 in loader_thread (aux=0x10537bef0) at glw_texture_loader.c:91
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10102f960) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 20 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x000000010021a2c7 in loader_thread (aux=0x105358ef0) at glw_texture_loader.c:91
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10102fb90) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 19 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x000000010021a2c7 in loader_thread (aux=0x105335ef0) at glw_texture_loader.c:91
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10102c3d0) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 18 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x000000010021a2c7 in loader_thread (aux=0x105312ef0) at glw_texture_loader.c:91
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10108a510) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 17 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x0000000100219819 in font_render_thread (aux=0x1052efef0) at glw_text_bitmap.c:911
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10106e5a0) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 16 (process 46585):
#0 0x00007fff8cfa1a7a in poll ()
#1 0x00000001001e86ba in ssdp_thread (aux=0x1017f2e88) at ssdp.c:480
#2 0x00000001001a68d9 in thread_trampoline (aux=0x101042400) at arch_posix.c:320
#3 0x00007fff93b358bf in _pthread_start ()
#4 0x00007fff93b38b75 in thread_start ()

Thread 15 (process 46585):
#0 0x00007fff8cfa1a7a in poll ()
#1 0x00000001001e5f76 in http_server (aux=0x10111b220) at http_server.c:1076
#2 0x00000001001a68d9 in thread_trampoline (aux=0x10101ce00) at arch_posix.c:320
#3 0x00007fff93b358bf in _pthread_start ()
#4 0x00007fff93b38b75 in thread_start ()

Thread 14 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001ef5b9 in prop_courier (aux=0x101040680) at prop_core.c:722
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10103f5c0) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 13 (process 46585):
#0 0x00007fff8cfa0df2 in select$DARWIN_EXTSN ()
#1 0x00007fff93c46f9b in __CFSocketManager ()
#2 0x00007fff93b358bf in _pthread_start ()
#3 0x00007fff93b38b75 in thread_start ()

Thread 11 (process 46585):
#0 0x00007fff8cf9f67a in mach_msg_trap ()
#1 0x00007fff8cf9ed71 in mach_msg ()
#2 0x00007fff93bf5b6c in __CFRunLoopServiceMachPort ()
#3 0x00007fff93bfe2d4 in __CFRunLoopRun ()
#4 0x00007fff93bfdae6 in CFRunLoopRunSpecific ()
#5 0x00000001001aaed2 in coreaudio_start (am=0x101034920, af=0x7fff7b2d7ae0) at coreaudio.c:407
#6 0x00000001001a7c19 in audio_output_thread (aux=0x1016c3198) at audio.c:232
#7 0x00000001001a68d9 in thread_trampoline (aux=0x101125190) at arch_posix.c:320
#8 0x00007fff93b358bf in _pthread_start ()
#9 0x00007fff93b38b75 in thread_start ()

Thread 9 (process 46585):
#0 0x00007fff8cfa1192 in __workq_kernreturn ()
#1 0x00007fff93b37594 in _pthread_wqthread ()
#2 0x00007fff93b38b85 in start_wqthread ()

Thread 8 (process 46585):
#0 0x00007fff8cfa17e6 in kevent ()
#1 0x00007fff8c3895be in _dispatch_mgr_invoke ()
#2 0x00007fff8c38814e in _dispatch_mgr_thread ()

Thread 7 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001ef5b9 in prop_courier (aux=0x10111ea80) at prop_core.c:722
#3 0x00000001001a68d9 in thread_trampoline (aux=0x10111eb00) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 6 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001d83eb in mp_dequeue_event (mp=0x102000e00) at media.c:555
#3 0x00000001001e9e70 in player_thread (aux=0x102000e80) at playqueue.c:1063
#4 0x00000001001a68d9 in thread_trampoline (aux=0x10111c2d0) at arch_posix.c:320
#5 0x00007fff93b358bf in _pthread_start ()
#6 0x00007fff93b38b75 in thread_start ()

Thread 5 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001ef5b9 in prop_courier (aux=0x101119500) at prop_core.c:722
#3 0x00000001001a68d9 in thread_trampoline (aux=0x101118300) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 4 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001f7e98 in service_probe_loop (aux=0x1008a63c0) at service.c:275
#3 0x00000001001a68d9 in thread_trampoline (aux=0x101116920) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 3 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001a6b9d in hts_cond_wait_timeout (c=0x1008a6020, m=0x5f0100006000, delta=1) at arch_posix.c:216
#3 0x00000001001dd61a in callout_loop (aux=0x1008a6020) at callout.c:132
#4 0x00000001001a68d9 in thread_trampoline (aux=0x101018580) at arch_posix.c:320
#5 0x00007fff93b358bf in _pthread_start ()
#6 0x00007fff93b38b75 in thread_start ()

Thread 2 (process 46585):
#0 0x00007fff8cfa0bca in __psynch_cvwait ()
#1 0x00007fff93b39274 in _pthread_cond_wait ()
#2 0x00000001001ef5b9 in prop_courier (aux=0x101018240) at prop_core.c:722
#3 0x00000001001a68d9 in thread_trampoline (aux=0x101017cf0) at arch_posix.c:320
#4 0x00007fff93b358bf in _pthread_start ()
#5 0x00007fff93b38b75 in thread_start ()

Thread 1 (process 46585):
#0 0x00007fff93b2369e in longcopy ()
#1 0x00007fff93b0ef8f in memmove$VARIANT$sse3x ()
#2 0x00000002000db8f3 in gldReadPixels ()
#3 0x0000000200012492 in gldModifyTexture ()
#4 0x00000002000d8e6e in gldReadPixels ()
#5 0x00000002000b2a0d in gldUpdateDispatch ()
#6 0x00000001038c4549 in gleDoDrawDispatchCore ()
#7 0x000000010386c526 in glDrawElements_IMM_Exec ()
#8 0x000000010021e27f in render_video_quad (interlace=200292224, rectmode=34013992, width=0, height=0, bob1=249856, bob2=1606400412, gbr=0x1008a7058, gp=0x1011acfc0, gv=0x102105a00, rc=0x7fff5fbfc380) at glw_video_opengl.c:496
#9 0x000000010021d764 in yuvp_render (gv=0x10bf03780, rc=0x7fff5fbfc370) at glw_video_opengl.c:521
#10 0x000000010021c797 in glw_video_render (w=0x102105a00, rc=0x7fff5fbfc470) at glw_video_common.c:523
#11 0x0000000100207fa5 in glw_container_z_render (w=0x7fff5fbfc470, rc=0x102105a00) at glw_container.c:506
#12 0x000000010022a3b7 in glw_view_loader_render (w=0x10bf03780, rc=0x102070328) at glw_view_loader.c:146
#13 0x00000001002149d1 in glw_playfield_render (w=0x10bf03780, rc=0x102070328) at glw_playfield.c:268
#14 0x0000000100207fa5 in glw_container_z_render (w=0x7fff5fbfc790, rc=0x10541b0a0) at glw_container.c:506
#15 0x0000000100208341 in glw_container_y_render (w=0x1054130f0) at glw_container.c:432
#16 0x000000010020f908 in glw_layer_render (w=0x10bf03780, rc=0x7fff5fbfc9b0) at glw_layer.c:149
#17 0x0000000100207fa5 in glw_container_z_render (w=0x7fff5fbfc9b0, rc=0x1054d4270) at glw_container.c:506
#18 0x000000010021bbd6 in render (w=0x1054d5470, rc=0x102070328) at glw_underscan.c:71
#19 0x0000000100207fa5 in glw_container_z_render (w=0x7fff5fbfcad0, rc=0x1054d5470) at glw_container.c:506
#20 0x00000001002074f2 in -[GLWGLView glwRender] (self=0x1008a6d60, _cmd=0x102070328) at glw_cocoa.m:426
#21 0x0000000100206e3b in -[GLWGLView drawRect:] (self=0x101186b20, _cmd=0x102070328) at glw_cocoa.m:788
#22 0x00007fff944f7fdf in -[NSView _drawRect:clip:] ()
#23 0x00007fff945258c4 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#24 0x00007fff94525cf0 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#25 0x00007fff944f55ba in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#26 0x00007fff944f686f in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#27 0x00007fff944f4ab3 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#28 0x00007fff944efec9 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#29 0x00007fff944e893e in -[NSView displayIfNeeded] ()
#30 0x00007fff944e807d in _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints ()
#31 0x00007fff928c4014 in NSFireTimer ()
#32 0x00007fff93c1df84 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
()
#33 0x00007fff93c1dad6 in __CFRunLoopDoTimer ()
#34 0x00007fff93bfe471 in __CFRunLoopRun ()
#35 0x00007fff93bfdae6 in CFRunLoopRunSpecific ()
#36 0x00007fff937c43d3 in RunCurrentEventLoopInMode ()
#37 0x00007fff937cb63d in ReceiveNextEventCommon ()
#38 0x00007fff937cb4ca in BlockUntilNextEventMatchingListInMode ()
#39 0x00007fff944ac3f1 in _DPSNextEvent ()
#40 0x00007fff944abcf5 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#41 0x00007fff944a862d in -[NSApplication run] ()
#42 0x00007fff9472780c in NSApplicationMain ()
#43 0x000000010020657f in glw_cocoa_start (ui=0x7fff5fbff818, root=0x0, argc=-1, argv=0x422d63c37f00000d, primary=2066578144) at glw_cocoa.m:860
#44 0x000000010022c957 in ui_start (argc=0, argv=0x1007be940, argv00=0x1006f0ec0 "glw") at ui.c:150
#45 0x00000001001d6d13 in main (argc=0, argv=0x7fff5fbffc10) at main.c:442
(gdb) @


Replies (1)

RE: Crash while using tvheadend - Added by Andreas Smas almost 8 years ago

I believe this has been fixed in a more recent version

(1-1/1)