Dharma revision 34186 crash right after start.
#1
Hi folks,
This is my first post here so excuse me if i miss some information.

I’m trying to compile and install Dharma from SVN.
This is my setup:

SVN:
https://xbmc.svn.sourceforge.net/svnroot...hes/Dharma
At revision 34186.
System :
Gentoo x64
4GB RAM
Linux htpc1 2.6.33.3 #5 SMP Sat May 15 17:08:53 EDT 2010 x86_64 Intel® Core™2 Duo CPU E7500 @ 2.93GHz GenuineIntel GNU/Linux
Configure options:
./configure --disable-webserver --with-arch=x86_64 --with-cpu=core2 --prefix=/usr
Nvidia driver :
NVIDIA-Linux-x86_64-256.53

.xinitrc:
Code:
#!/bin/bash
export XDG_MENU_PREFIX=gnome-
export XBMC_HOME=/usr/share/xbmc
exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone

Crash log link :
http://pastebin.com/qfkKq7p1

The problem:
Right after starting XBMC with startx (im able to see the first screen with menus), XBMC crash.
If I understand the crash log correctly, the problems happens somewhere near following lines :
Code:
134.Thread 1 (Thread 18874):
135.#0  0x00007f38b50afa2b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) ()
136.   from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6
137.#1  0x00000000009b5ba0 in CStdStr (this=<value optimized out>)
138.    at ../../guilib/StdString.h:2073
139.#2  ADDON::CAddon::Disclaimer (this=<value optimized out>) at Addon.h:168
140.#3  0x0000000000987d96 in CAddonDatabase::AddAddon (this=0x7f38a671cb90, addon=
141.    ..., idRepo=1) at AddonDatabase.cpp:179
142.#4  0x000000000098c2c2 in CAddonDatabase::AddRepository (this=0x7f38a671cb90,
143.    id=..., addons=..., checksum=<value optimized out>)
144.    at AddonDatabase.cpp:379
145.#5  0x00000000009d0b44 in ADDON::CRepositoryUpdateJob::GrabAddons (repo=...,
146.    check=<value optimized out>) at Repository.cpp:233
147.#6  0x00000000009d0da1 in ADDON::CRepositoryUpdateJob::DoWork (
148.    this=<value optimized out>) at Repository.cpp:175
149.#7  0x00000000006d2ba9 in CJobWorker::Process (this=0x2a5fa90)
150.    at JobManager.cpp:63
151.#8  0x00000000006ab912 in CThread::staticThread (data=<value optimized out>)
152.    at Thread.cpp:203
153.#9  0x00007f38baeb72a7 in start_thread () from /lib/libpthread.so.0
154.#10 0x00007f38b4b6b8cd in clone () from /lib/libc.so.6

Since its clean install (the .xbmc folder is empty), maybe there are some installation steps I need to perform?

The 9.11 version compiles and working flawlessly on same machine.

Thank you very much for your time.
Reply
#2
I’m not cpp programmer but it looks like its failing on line :
Code:
CAddonDatabase::AddAddon (this=0x7f38a671cb90, addon=141.    ..., idRepo=1) at AddonDatabase.cpp:179
And the problematic part is “addon->Stars()” when parsing
Code:
<plugin “id="plugin.audio.ListenLiveEU" name="ListenLiveEU" provider-name="bootsy [[email protected]]" version="0.4.2">”
from http://mirrors.xbmc.org/addons/dharma-pre/addons.xml
Does it make sense?
Reply
#3
Is it a clean checkout?
If not try "make distclean" before "svn up", if this fails try a clean checkout.
Reply
#4
Update:
I tried to compile without specifying arch and CPU type, the problem gone. XBMC is up for 15 min now.
So i think the following configure options were the source of my problem
./configure --disable-webserver --with-arch=x86_64 --with-cpu=core2 --prefix=/usr
I guess i can live without 64b XBMC or without core2 optimization for now but maybe some one from the developers can look on this problem?
If there is anything i can help with, i will gladly do that.
Reply
#5
I suppose that either means an xbmc bug or a compiler bug.
Reply
#6
Tried to replicate the result by compiling with --with-arch=x86_64 --with-cpu=core2.
It's been running for over 15 minutes without a crash.
Reply
#7
Is there anything i can do to help analyze the problem?
This is the output of gcc --version :
gcc (Gentoo 4.3.4 p1.1, pie-10.1.5) 4.3.4
Reply

Logout Mark Read Team Forum Stats Members Help
Dharma revision 34186 crash right after start.0