[Linux] Compiled XBMC from git doesnt start
#1
Hi,
I compiled XBMC from git without errors. When i want to start it i got an segmention fault.
Code:
/usr/bin/xbmc: Zeile 137: 19350 Speicherzugriffsfehler  (Speicherabzug geschrieben) "$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
Crash report available at /home/odin/xbmc_crashlog-20111120_142025.log
The crashlog is here http://pastebin.com/vBM1d0bU.

Somebody an idea how to solve the problem?

greets

odin89
Reply
#2
could not see anything special in your crash log
but i think this error is related to your start script.

Line 137 and above is
Code:
LOOP=1
while [ $(( $LOOP )) = "1" ]
do
  LOOP=0
  "$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
  RET=$?
  if [ $(( $RET == 65 )) = "1" ]
  then # User requested to restart app
    LOOP=1
  elif [ $(( ($RET >= 131 && $RET <= 136) || $RET == 139 )) = "1" ]
  then # Crashed with core dump
    print_crash_report
  fi
done

you may try to run xbmc.bin directly or your script with another shell.
Btw why is it installed in /usr/bin and not /usr/local/bin?
Reply
#3
when i start xbmc.bin directly then there is the same error ...
i dont know why it is installed in /usr/bin.
i compiled it with "./bootstrap" "./configure" "make" and "sudo make install" .
Reply
#4
hmm, okay

maybe you can fix it by editing CRenderSystemGL::CalculateMaxTexturesize().
I suggest you comment you replace everything with

Code:
m_maxTextureSize = 2048;

This is the original code
Code:
void CRenderSystemGL::CalculateMaxTexturesize()
{
  GLint width = 256;

  // reset any previous GL errors
  ResetGLErrors();

  // max out at 2^(8+8)
  for (int i = 0 ; i<8 ; i++)
  {
    glTexImage2D(GL_PROXY_TEXTURE_2D, 0, 4, width, width, 0, GL_BGRA,
                 GL_UNSIGNED_BYTE, NULL);
    glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_WIDTH,
                             &width);
and here seems the crash to occur.
Reply
#5
in xbmc live its installaed in usr not usr/local
Reply

Logout Mark Read Team Forum Stats Members Help
[Linux] Compiled XBMC from git doesnt start0