Kodi Community Forum

Full Version: xbmc 11 (eden) crashes at start up on my ubuntu 11.10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
xbmc 11 (eden) crashes at start up on my ubuntu 11.10 . Is there a fix or workaround?
Latest crash log:

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

20:46:23 T:3043944192 NOTICE: -------------------------------------------------
----------------------
20:46:23 T:3043944192 NOTICE: Starting XBMC (11.0 Git:Unknown), Platform: Linux
(Ubuntu 11.10, 3.0.0-17-generic-pae i686). Built on Mar 24 2012
20:46:23 T:3043944192 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
20:46:23 T:3043944192 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
20:46:23 T:3043944192 NOTICE: special://masterprofile/ is mapped to: /home/home
user/.xbmc/userdata
20:46:23 T:3043944192 NOTICE: special://home/ is mapped to: /home/homeuser/.xbm
c
20:46:23 T:3043944192 NOTICE: special://temp/ is mapped to: /home/homeuser/.xbm
c/temp
20:46:23 T:3043944192 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
20:46:23 T:3043944192 NOTICE: Local hostname: mediapc
20:46:23 T:3043944192 NOTICE: Log File is located: /home/homeuser/.xbmc/temp/xb
mc.log
20:46:23 T:3043944192 NOTICE: -------------------------------------------------
----------------------
20:46:23 T:3043944192 NOTICE: Setup SDL
20:46:23 T:3043944192 NOTICE: load settings...
20:46:23 T:3043944192 NOTICE: special://profile/ is mapped to: special://master
profile/
20:46:23 T:3043944192 NOTICE: loading special://masterprofile/guisettings.xml
20:46:23 T:3043944192 NOTICE: Getting hardware information now...
20:46:23 T:3043944192 NOTICE: Checking resolution 12
20:46:23 T:3043944192 NOTICE: Loading player core factory settings from special
://xbmc/system/playercorefactory.xml.
20:46:23 T:3043944192 NOTICE: Loaded playercorefactory configuration
20:46:23 T:3043944192 NOTICE: Loading player core factory settings from special
://masterprofile/playercorefactory.xml.
20:46:23 T:3043944192 NOTICE: special://masterprofile/playercorefactory.xml doe
s not exist. Skipping.
20:46:23 T:3043944192 NOTICE: No settings file to load (special://xbmc/system/a
dvancedsettings.xml)
20:46:23 T:3043944192 NOTICE: No settings file to load (special://masterprofile
/advancedsettings.xml)
20:46:23 T:3043944192 NOTICE: Default DVD Player: dvdplayer
20:46:23 T:3043944192 NOTICE: Default Video Player: dvdplayer
20:46:23 T:3043944192 NOTICE: Default Audio Player: paplayer
20:46:23 T:3043944192 NOTICE: Disabled debug logging due to GUI setting. Level
0.
20:46:23 T:3043944192 NOTICE: Log level changed to 0
20:46:23 T:3043944192 NOTICE: Loading media sources from special://masterprofil
e/sources.xml
20:46:23 T:3043944192 NOTICE: Using visual 0x22
20:46:23 T:3043944192 NOTICE: CRenderSystemGL::CheckOpenGLQuirks - unable to pa
rse mesa version string
20:46:23 T:3043944192 NOTICE: GL_VENDOR = Tungsten Graphics, Inc
20:46:23 T:3043944192 NOTICE: GL_RENDERER = Mesa DRI Intel® 965Q x86/MMX/SSE2
20:46:23 T:3043944192 NOTICE: GL_VERSION = 2.1 Mesa 7.11
20:46:23 T:3043944192 NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.20
20:46:23 T:3043944192 NOTICE: GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL
_EXT_bgra GL_EXT_blend_color GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_bl
end_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_
texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture G
L_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_
elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_E
XT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_
SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_
framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_dr
aw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB
_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_fu
nc_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_
EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL
_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texg
en_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture
_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_textur
e_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle
GL_NV_vertex_program GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow
GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 G
L_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_EXT_ste
ncil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_vertex_program1_1
GL_APPLE_client_storage GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_A
RB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_obj
ects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_textu
re_env_combine3 GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_M
ESA_ycbcr_texture GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_
float_pixel GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_t
exture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separa
te GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float G
L_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_rectang
le GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc GL_EXT_texture_rec
tangle GL_EXT_texture_sRGB GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_
EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeabl
e GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT
_gpu_program_parameters GL_EXT_texture_env_combine GL_EXT_texture_sRGB_decode GL
_OES_EGL_image GL_ARB_copy_buffer GL_ARB_half_float_vertex GL_ARB_map_buffer_ran
ge GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_sepa
rate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_condit
ional_render GL_ARB_ES2_compatibility GL_ARB_draw_elements_base_vertex GL_ARB_ex
plicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex
GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_EX
T_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_robus
tness
20:46:23 T:3043944192 ERROR: GLX: Same window as before, refreshing context
20:46:24 T:3043944192 NOTICE: UDisks: Added /media/Storage
20:46:24 T:3043944192 NOTICE: start dvd mediatype detection
20:46:24 T:3043944192 NOTICE: initializing playlistplayer
20:46:24 T:3043944192 NOTICE: DONE initializing playlistplayer
20:46:24 T:3043944192 NOTICE: UpdateLibraries - Starting video library startup
scan
20:46:24 T:3043944192 NOTICE: initialize done
20:46:24 T:3043944192 NOTICE: Running the application...
20:46:24 T:3043944192 NOTICE: Webserver: Starting...
20:46:24 T:3043944192 NOTICE: WebServer: Started the webserver
20:46:24 T:2870999920 NOTICE: VideoInfoScanner: Starting scan ..
20:46:24 T:2870999920 ERROR: SQL: SQL error or missing database
Query: select path.strContent,path.s
trScraper,path.scanRecursive,path.useFolderNames,path.strSettings,path.noUpdate,
path.exclude from path where path.idPath=1
20:46:24 T:2870999920 ERROR: GetScraperForPath failed
20:46:24 T:2870999920 ERROR: SQL: SQL error or missing database
Query: select path.strContent,path.s
trScraper,path.scanRecursive,path.useFolderNames,path.strSettings,path.noUpdate,
path.exclude from path where path.idPath=2
20:46:24 T:2870999920 ERROR: GetScraperForPath failed
20:46:24 T:2870999920 ERROR: SQL: SQL error or missing database
Query: select path.strContent,path.s
trScraper,path.scanRecursive,path.useFolderNames,path.strSettings,path.noUpdate,
path.exclude from path where path.idPath=11
20:46:24 T:2870999920 ERROR: GetScraperForPath failed
20:46:24 T:3043944192 NOTICE: starting upnp server
20:46:24 T:3043944192 NOTICE: starting upnp renderer
20:46:24 T:2881174384 NOTICE: -->Python Interpreter Initialized<--
20:46:24 T:3043944192 NOTICE: ES: Starting event server
20:46:24 T:2756692848 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
20:46:24 T:3043944192 NOTICE: starting zeroconf publishing
20:46:24 T:2756692848 NOTICE: UDP: Listening on port 9777
20:46:24 T:2870999920 NOTICE: VideoInfoScanner: Finished scan. Scanning for vid
eo info took 00:00
20:46:24 T:2881174384 NOTICE: downloader ARGV: ['']
20:46:24 T:2862607216 NOTICE: -->Python Interpreter Initialized<--
20:46:24 T:2781870960 NOTICE: -->Python Interpreter Initialized<--
20:46:24 T:2862607216 NOTICE: StorageServer Module loaded RUN
20:46:24 T:2862607216 NOTICE: StorageClient-0.9.2 Starting server
20:46:24 T:2862607216 NOTICE: StorageServer-0.9.2 Storage Server starting /home
/homeuser/.xbmc/userdata/Database/commoncache.db
20:46:25 T:3043944192 ERROR: XLCDproc::Connect - Unable to connect to host, LC
Dd not running?
20:46:25 T:3043944192 ERROR: XLCDproc::Initialize - Connect failed. Retry in 4
seconds.
20:46:26 T:3043944192 ERROR: CWinSystemX11::XErrorHandler: BadDrawable (invali
d Pixmap or Window parameter), type:0, serial:309, error_code:9, request_code:13
7 minor_code:8


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

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


Full crash log:
http://pastebin.com/2vg4FJsf
Had something similar yesterday. I renamed my guisettings.xml in .xbmc/userdata to guisettings.xmlOLD and then rebooted. Once booted up it created a new file for me but i had to reconfigure some settings in XBMC and my skin
It didn't really help. XBMC still crashes. Looking at backtrace it looks like something in the video database is corrupted. any clues how to fix it? Where is video database located? I'd like to delete it and hopefully xbmc can recreate it.


Thread 1 (Thread 0xaaa16b70 (LWP 19551)):
#0 0xb60646c4 in std:Confusedtring::assign(std:Confusedtring const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#1 0x086ef55b in dbiplus::field_value::get_asString() const ()
#2 0x086f04e8 in dbiplus::field_value::field_value(dbiplus::field_value const&) ()
#3 0x086e492f in dbiplus:Big Grinataset::get_field_value(int) ()
#4 0x083e0f50 in CVideoDatabase::GetCommonDetails(std::auto_ptr<dbiplus:Big Grinataset>&, CVideoInfoTag&) ()
#5 0x084043ec in CVideoDatabase::GetDetailsForMovie(std::auto_ptr<dbiplus:Big Grinataset>&, bool) ()
#6 0x0840bd19 in CVideoDatabase::GetMoviesByWhere(CStdStr<char> const&, CStdStr<char> const&, CStdStr<char> const&, CFileItemList&, bool) ()
#7 0x0840d4ab in CVideoDatabase::GetRecentlyAddedMoviesNav(CStdStr<char> const&, CFileItemList&, unsigned int) ()
#8 0x0830f19c in CRecentlyAddedJob::UpdateVideo() ()
#9 0x08313470 in CRecentlyAddedJob:Big GrinoWork() ()
#10 0x082ef970 in CJobWorker:Tonguerocess() ()
#11 0x08a476f2 in CThread:ConfusedtaticThread(void*) ()
#12 0xb6bc0d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0xb5eda46e in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
Mine is located in /home/xbmc/.xbmc/userdata/Database

Imagine yours will be something similar
My xbmc crashed during a DB update and then started crashing every time I launched xbmc. So I deleted the videos database file and that fixed it. I needed to go back to each of my video sources and hit the context menu, then Set Content, tell xbmc what was in there and let it rebuild the database.