Linux XBMC keeps crashing when browsing through movies.
#1
Hey all,

I've been a user of xbmc for over a year now, and i've always had the ocassional crash, but for some reason it has started crashing every time i browse through movies. The movies are accessed through a nfs share. I have no idea where to start troubleshooting this. I would like to attach the log but it tells me it's too long, so i will split it and reply here.

Code:
############## XBMC CRASH LOG ###############

################ SYSTEM INFO ################
Date: Sun May 20 20:24:01 CDT 2012
XBMC Options:
Arch: i686
Kernel: Linux 3.0.0-19-generic-pae #33-Ubuntu SMP Thu Apr 19 20:59:10 UTC 2012
Release:
    Distributor ID:     Ubuntu
    Description:        Ubuntu 11.10 - XBMCbuntu
    Release:    11.10
    Codename:   oneiric
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/norby/core (2012-05-20 20:24:01.883372724 -0500)
        =========================================
[New LWP 1409]
[New LWP 1429]
[New LWP 1431]
[New LWP 1432]
[New LWP 1433]
[Thread debugging using libthread_db enabled]
Core was generated by `/usr/lib/xbmc/xbmc.bin --standalone'.
Program terminated with signal 11, Segmentation fault.
#0  0xb6393a64 in XUngrabPointer () from /usr/lib/i386-linux-gnu/libX11.so.6

Thread 5 (Thread 0xadfffb70 (LWP 1433)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb5e867ae in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb70c441b in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#3  0xb70c3f0b in avahi_simple_poll_run () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#4  0xb70c4175 in avahi_simple_poll_iterate () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#5  0xb70c4356 in avahi_simple_poll_loop () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#6  0xb70c4494 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
#7  0xb6a34a11 in ?? () from /usr/lib/libGL.so.1

Thread 4 (Thread 0xae94ab70 (LWP 1432)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb5e8e271 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x0827b53e in JSONRPC::CTCPServer::Process() ()
#3  0x08a476f2 in CThread::staticThread(void*) ()
#4  0xb6a34a11 in ?? () from /usr/lib/libGL.so.1

Thread 3 (Thread 0xaf14bb70 (LWP 1431)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb5e8e271 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x08279c22 in SOCKETS::CSocketListener::Listen(int) ()
#3  0x0826ffda in EVENTSERVER::CEventServer::Run() ()
#4  0x08270330 in EVENTSERVER::CEventServer::Process() ()
#5  0x08a476f2 in CThread::staticThread(void*) ()
#6  0xb6a34a11 in ?? () from /usr/lib/libGL.so.1

Thread 2 (Thread 0xb014db70 (LWP 1429)):
#0  0xb7795424 in __kernel_vsyscall ()
#1  0xb5e8e271 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0xb619874e in ?? () from /usr/lib/libpython2.7.so.1.0
#3  0xb60e5b0f in PyCFunction_Call () from /usr/lib/libpython2.7.so.1.0
#4  0xb614b60f in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#5  0xb614cc4b in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#6  0xb614cc4b in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#7  0xb614d522 in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#8  0xb614d693 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#9  0xb616e655 in PyRun_FileExFlags () from /usr/lib/libpython2.7.so.1.0
#10 0x088d7654 in XBPyThread::Process() ()
#11 0x08a476f2 in CThread::staticThread(void*) ()
#12 0xb6a34a11 in ?? () from /usr/lib/libGL.so.1

Thread 1 (Thread 0xb3a51710 (LWP 1409)):
#0  0xb6393a64 in XUngrabPointer () from /usr/lib/i386-linux-gnu/libX11.so.6
#1  0xb64ebfa4 in ?? () from /usr/lib/libSDL-1.2.so.0
#2  0xb64f7c1b in ?? () from /usr/lib/libSDL-1.2.so.0
#3  0xb64f7c9f in ?? () from /usr/lib/libSDL-1.2.so.0
#4  0xb64e15c7 in ?? () from /usr/lib/libSDL-1.2.so.0
#5  0xb64e32e5 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
#6  0xb64b7ec4 in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
#7  0xb64b7f7b in SDL_Quit () from /usr/lib/libSDL-1.2.so.0
#8  0xb64b852f in ?? () from /usr/lib/libSDL-1.2.so.0
#9  <signal handler called>
#10 0xb6393a64 in XUngrabPointer () from /usr/lib/i386-linux-gnu/libX11.so.6
#11 0xb64ebfa4 in ?? () from /usr/lib/libSDL-1.2.so.0
#12 0xb64f7c1b in ?? () from /usr/lib/libSDL-1.2.so.0
#13 0xb64f7c9f in ?? () from /usr/lib/libSDL-1.2.so.0
#14 0xb64e15c7 in ?? () from /usr/lib/libSDL-1.2.so.0
#15 0xb64e32e5 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
#16 0xb64b7ec4 in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
#17 0xb64b7f7b in SDL_Quit () from /usr/lib/libSDL-1.2.so.0
#18 0xb5df4981 in ?? () from /lib/i386-linux-gnu/libc.so.6
#19 0xb5df4a0d in exit () from /lib/i386-linux-gnu/libc.so.6
#20 0xb6398bbf in _XDefaultIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#21 0xb64f3d79 in ?? () from /usr/lib/libSDL-1.2.so.0
#22 0xb6398e14 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#23 0xb6396a0c in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#24 0xb6a3a184 in ?? () from /usr/lib/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
############# END STACK TRACE ###############

Code:
################# LOG FILE ##################

20:16:25 T:3013941008  NOTICE: -----------------------------------------------------------------------
20:16:25 T:3013941008  NOTICE: Starting XBMC (11.0 Git:Unknown), Platform: Linux (Ubuntu 11.10 - XBMCbuntu, 3.0.0-19-generic-pae i686). Built on Mar 24 2012
20:16:25 T:3013941008  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
20:16:25 T:3013941008  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
20:16:25 T:3013941008  NOTICE: special://masterprofile/ is mapped to: /home/norby/.xbmc/userdata
20:16:25 T:3013941008  NOTICE: special://home/ is mapped to: /home/norby/.xbmc
20:16:25 T:3013941008  NOTICE: special://temp/ is mapped to: /home/norby/.xbmc/temp
20:16:25 T:3013941008  NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
20:16:25 T:3013941008  NOTICE: Local hostname: livingroomxbmc
20:16:25 T:3013941008  NOTICE: Log File is located: /home/norby/.xbmc/temp/xbmc.log
20:16:25 T:3013941008  NOTICE: -----------------------------------------------------------------------
20:16:25 T:3013941008  NOTICE: Setup SDL
20:16:25 T:3013941008  NOTICE: load settings...
20:16:26 T:3013941008  NOTICE: special://profile/ is mapped to: special://masterprofile/
20:16:26 T:3013941008  NOTICE: loading special://masterprofile/guisettings.xml
20:16:26 T:3013941008  NOTICE: Getting hardware information now...
20:16:26 T:3013941008  NOTICE: Checking resolution 12
20:16:26 T:3013941008  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
20:16:26 T:3013941008  NOTICE: Loaded playercorefactory configuration
20:16:26 T:3013941008  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
20:16:26 T:3013941008  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
20:16:26 T:3013941008  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
20:16:26 T:3013941008  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
20:16:26 T:3013941008  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <useddsfanart>true</useddsfanart>
                                              <cputempcommand>cputemp</cputempcommand>
                                              <gputempcommand>gputemp</gputempcommand>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <network>
                                                <disableipv6>true</disableipv6>
                                              </network>
                                            </advancedsettings>
20:16:26 T:3013941008  NOTICE: Getting hardware information now...
20:16:26 T:3013941008  NOTICE: Checking resolution 12
20:16:26 T:3013941008  NOTICE: Default DVD Player: dvdplayer
20:16:26 T:3013941008  NOTICE: Default Video Player: dvdplayer
20:16:26 T:3013941008  NOTICE: Default Audio Player: paplayer
20:16:26 T:3013941008  NOTICE: Disabled debug logging due to GUI setting. Level 0.
20:16:26 T:3013941008  NOTICE: Log level changed to 0
20:16:26 T:3013941008  NOTICE: Loading media sources from special://masterprofile/sources.xml
20:16:26 T:3013941008  NOTICE: Using visual 0x43
20:16:26 T:3013941008  NOTICE: GL_VENDOR = NVIDIA Corporation
20:16:26 T:3013941008  NOTICE: GL_RENDERER = ION/integrated/SSE2
20:16:26 T:3013941008  NOTICE: GL_VERSION = 3.3.0 NVIDIA 295.40
20:16:26 T:3013941008  NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30 NVIDIA via Cg compiler
20:16:26 T:3013941008  NOTICE: GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX = 524288
20:16:26 T:3013941008  NOTICE: GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX = 262144

Code:
20:16:26 T:3013941008  NOTICE: GL_EXTENSIONS = GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback_instanced GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_texture_type_2_10_10_10_REV GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fbo_color_attachments GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragdepth GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_lod_clamp GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_vdpau_interop GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_vertex_half_float GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
20:16:26 T:3013941008   ERROR: GLX: Same window as before, refreshing context
20:16:26 T:3013941008  NOTICE: start dvd mediatype detection
20:16:26 T:3013941008  NOTICE: initializing playlistplayer
20:16:26 T:3013941008  NOTICE: DONE initializing playlistplayer
20:16:26 T:3013941008  NOTICE: UpdateLibraries - Starting video library startup scan
20:16:26 T:3013941008  NOTICE: initialize done
20:16:26 T:3013941008  NOTICE: Running the application...
20:16:26 T:3013941008  NOTICE: ES: Starting event server
20:16:26 T:2962549616  NOTICE: VideoInfoScanner: Starting scan ..
20:16:26 T:2937371504  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
20:16:26 T:2937371504  NOTICE: UDP: Listening on port 9777
20:16:26 T:3013941008  NOTICE: starting zeroconf publishing
20:16:26 T:2970942320  NOTICE: -->Python Interpreter Initialized<--
20:16:26 T:2970942320  NOTICE: downloader ARGV: ['']
20:16:26 T:2954156912  NOTICE: -->Python Interpreter Initialized<--
20:16:27 T:2891967344  NOTICE: -->Python Interpreter Initialized<--
20:16:27 T:2954156912  NOTICE:  StorageServer Module loaded RUN
20:16:27 T:2954156912  NOTICE: StorageClient-0.9.2 Starting server
20:16:27 T:2954156912  NOTICE: StorageServer-0.9.2 Storage Server starting /home/norby/.xbmc/userdata/Database/commoncache.db
20:16:30 T:2962549616  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:03
20:18:00 T:3013941008  NOTICE: NFS is idle. Closing the remaining connections.


############### END LOG FILE ################

############ END XBMC CRASH LOG #############
Reply
#2
bump.
Reply
#3
You'll need to turn on Debug Log and push to xbmclogs.com or pastebin.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
ok will do, thanks
Reply
#5
I had the same issue when running add ons here is my log file

http://xbmclogs.com/show.php?id=3458

This seems to happen when ever i use the live tv options and streaming over the internet i have managed to get it to do it consistently when using the iplayer, catchuptv or catchup tv 2 with epg add ons.

any help would be gratefull as i am at a loss as to this happens?

regards

BAzzUK
Reply
#6
Hey guys,

Are you seeing this when you first load the library or are you actually in there and browsing when it happens? I'm seeing a crash on library load with the latest nightly, i press movies (or TV shows) and it just CTD's on me. Similar to yours or different?
Reply
#7
slightly different mines crashes only when checking out live tv streams as far as i can tell the library function works fine

Bazzuk
Reply
#8
Does Xorg stay up when XBMC crashes?
Reply
#9
yes x org stays alive cause i ran xbmc in windowed mode and could still use x org but weird thing is i couldnt close down xbmc?

weird huh
Bazz
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC keeps crashing when browsing through movies.0