[LINUX] Crash when launching
#1
Hi,

First of all bravo for the work on XBMC, love it!

I'm running on UBUNTU 9.10 ( karmic )
Linux 2.6.31-17 generic
Gnome 2.28.1

HArdware :
Atom N330
Nvidia ION as GPU


I have the recommended Nvidia driver installed and working but impossible to launch XBMC

I just get the black XBMC splash screen and then back to the desktop

Here is the crash log

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

################ SYSTEM INFO ################
Date: lundi 11 janvier 2010, 16:56:40 (UTC+0100)
XBMC Options:
Arch: i686
Kernel: Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009
Release:
    Distributor ID:    Ubuntu
    Description:    Ubuntu 9.10
    Release:    9.10
    Codename:    karmic
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====>  Core file: /home/erik/core
        =========================================
Core was generated by `/usr/share/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0  0x015b0f93 in strlen () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 2973):
#0  0x015b0f93 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1  0x007efef2 in ?? () from /lib/libdbus-1.so.3
#2  0x007db48f in ?? () from /lib/libdbus-1.so.3
#3  0x007e04ec in dbus_message_new_method_call () from /lib/libdbus-1.so.3
#4  0x08221874 in CDBusMessage::CDBusMessage(char const*, char const*, char const*, char const*) ()
#5  0x08220a14 in CDBusUtil::GetVariant(char const*, char const*, char const*, char const*) ()
#6  0x08220ca1 in CDBusUtil::GetBoolean(char const*, char const*, char const*, char const*) ()
#7  0x082201d2 in CConsoleDeviceKitPowerSyscall::CConsoleDeviceKitPowerSyscall() ()
#8  0x08563a34 in CPowerManager::Initialize() ()
#9  0x082edf66 in CApplication::Initialize() ()
#10 0x082eafb8 in CApplication::Create(void*) ()
#11 0x0851d936 in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

16:56:37 T:3078858640 M:969576448   ERROR: Failed to create common scripts symlink.
16:56:37 T:3078858640 M:969576448  NOTICE: -----------------------------------------------------------------------
16:56:37 T:3078858640 M:969576448  NOTICE: Starting XBMC, Platform: GNU/Linux.  Built on Dec 24 2009 (SVN:26018)
16:56:37 T:3078858640 M:969576448  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
16:56:37 T:3078858640 M:969576448  NOTICE: special://masterprofile/ is mapped to: /home/erik/.xbmc/userdata
16:56:37 T:3078858640 M:969576448  NOTICE: special://home/ is mapped to: /home/erik/.xbmc
16:56:37 T:3078858640 M:969576448  NOTICE: special://temp/ is mapped to: /home/erik/.xbmc/temp
16:56:37 T:3078858640 M:969576448  NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
16:56:37 T:3078858640 M:969576448  NOTICE: Log File is located: /home/erik/.xbmc/temp/xbmc.log
16:56:37 T:3078858640 M:969576448  NOTICE: -----------------------------------------------------------------------
16:56:37 T:3078858640 M:969449472  NOTICE: Setup SDL
16:56:37 T:3078858640 M:969195520  NOTICE: load settings...
16:56:37 T:3078858640 M:969195520  NOTICE: special://profile/ is mapped to: special://masterprofile/
16:56:37 T:3078858640 M:969195520  NOTICE: loading special://masterprofile/guisettings.xml
16:56:37 T:3078858640 M:969068544  NOTICE: Getting hardware information now...
16:56:37 T:3078858640 M:969068544  NOTICE: Checking resolution 12
16:56:37 T:3078858640 M:969068544  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:56:37 T:3078858640 M:969068544  NOTICE: Loaded playercorefactory configuration
16:56:37 T:3078858640 M:969068544  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:56:37 T:3078858640 M:969068544  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:56:37 T:3078858640 M:969068544  NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
16:56:37 T:3078858640 M:969068544  NOTICE: Default DVD Player: dvdplayer
16:56:37 T:3078858640 M:969068544  NOTICE: Default Video Player: dvdplayer
16:56:37 T:3078858640 M:969068544  NOTICE: Default Audio Player: paplayer
16:56:37 T:3078858640 M:969068544  NOTICE: special://masterprofile/sources.xml
16:56:37 T:3078858640 M:964898816  NOTICE: Using fbConfig[0]
16:56:37 T:3078858640 M:963551232  NOTICE: GL_VENDOR = NVIDIA Corporation
16:56:37 T:3078858640 M:963551232  NOTICE: GL_RENDERER = ION/PCI/SSE2
16:56:37 T:3078858640 M:963551232  NOTICE: GL_VERSION = 3.0.0 NVIDIA 185.18.36
16:56:37 T:3078858640 M:963551232  NOTICE: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_framebuffer_object GL_ARB_geometry_shader4 GL_ARB_imaging GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader 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_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_bindable_uniform 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_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats 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_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_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_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_texture_shared_exponent GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_buffer_float GL_NV_conditional_render GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance 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_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal 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_vertex_array_range GL_NV_vertex_array_range2 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_NV_vertex_buffer_unified_memory GL_NV_shader_buffer_load GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
16:56:37 T:3078858640 M:963100672   ERROR: GLX: Same window as before, refreshing context
16:56:38 T:3078858640 M:961818624  NOTICE: start dvd mediatype detection
16:56:38 T:3078858640 M:961818624  NOTICE: initializing playlistplayer
16:56:38 T:3078858640 M:961818624  NOTICE: DONE initializing playlistplayer
16:56:38 T:3078858640 M:961818624  NOTICE: load default skin:[Confluence]


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

############ END XBMC CRASH LOG #############



Does anyone have the same issue?

Regards
Erik
Reply
#2
I sometimes have this issue. But when I start XBMC for a second time, it boots fine.
Reply
#3
Same here after 10 or 20 failed launches it finally launche correctly but I can't see why. any idea?
Reply
#4
known, yet unidentified, issue.
Reply
#5
I get the same issue on an Asrock 330HT
Any ideas how to resolve this Huh

################ SYSTEM INFO ################
Date: Thu Jan 14 23:00:27 GMT 2010
XBMC Options:
Arch: i686
Kernel: Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009
Release:
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/xbmc/core
=========================================
[New Thread 10190]
Core was generated by `/usr/share/xbmc/xbmc.bin --standalone ""'.
Program terminated with signal 11, Segmentation fault.
#0 0x0356bf93 in strlen () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 10190):
#0 0x00de5422 in __kernel_vsyscall ()
#1 0x00193142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x090d12d1 in SDL_CondWaitTimeout () from /usr/lib/libSDL-1.2.so.0
Reply
#6
Same here... cant get past the black screen... my log is very similar to frenchie's, so any clue you give him might apply to me as well.. regards Smile
Reply
#7
Hello have same problem on Arch linux.

I've removed the call to CConsoleDeviceKitPowerSyscall on xbmc/PowerManager.cpp

and it doesn't crash anymore. (i've probably disabled powermanagemet features by the way.. but perhaps it will be usefull for someone else than me)

#elif defined(_LINUX) && defined(HAS_DBUS) && defined (HAS_ENABLE_DKPSYSCALL)

I haven't check svn changelogs, I just know it works with 9.11 and no more with SVN.

perhaps this changeset is reponsible :
http://trac.xbmc.org/changeset/24540/tru...anager.cpp
Reply
#8
frenchie Wrote:Same here after 10 or 20 failed launches it finally launche correctly but I can't see why. any idea?

That happens to me too. Have to erase all that log filesSad
Reply
#9
tidalf Wrote:Hello have same problem on Arch linux.

I've removed the call to CConsoleDeviceKitPowerSyscall on xbmc/PowerManager.cpp

and it doesn't crash anymore. (i've probably disabled powermanagemet features by the way.. but perhaps it will be usefull for someone else than me)

#elif defined(_LINUX) && defined(HAS_DBUS) && defined (HAS_ENABLE_DKPSYSCALL)

I haven't check svn changelogs, I just know it works with 9.11 and no more with SVN.

perhaps this changeset is reponsible :
http://trac.xbmc.org/changeset/24540/tru...anager.cpp

is there a way to make that change in ubuntu (for newbs like me :-) ) ?
Reply
#10
hello vtwin, if you don't use SVN version (and compiling it yourself), i doubt that you are experiencing the same bug.

but if you are, just search for the line
#elif defined(_LINUX) && defined(HAS_DBUS) in xbmc/PowerManager.cpp
and replace it by
#elif defined(_LINUX) && defined(HAS_DBUS) && defined (HAS_ENABLE_DKPSYSCALL)

but i'm sure XBMC devs will soon find out what is causing the crash and fix it (instead of just disabling the feature)
Reply
#11
Thanks tidalf Smile

However, I cannot seem to find that PowerManager.cpp file anywhere... I'm confused...

Where is it supposed to be?

I've been looking for it inside the ~/.xbmc/ folder with no luck

EDIT: Oh I see... My version was not compiled by myself.. I grabbed it off the repos... however, the error is there, so is there any way I could fix this issue?
Reply
#12
I'm experiencing random crashes as well.. What's even worse is that my configuration is lost!
Reply
#13
That's it.. I'm gonna compile this thing... I'm getting tired of having crashes and can't launch the app
Reply
#14
COMPILED!! Smile

And it looks like its solid stong (after making that change in the PowerManager.cpp file)

I dont think it makes any difference though, since it's marked (as I noticed) under the APPLE part.. However, I changed both instances
Reply
#15
gratz vtwin0001, glad it works Smile
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Crash when launching0