XBMC Jaunty Nvidia crashes at start

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #1
Hi,
I installed XBMC on my Linux 9.04 from this place

https://launchpad.net/~team-xbmc/+archive/jaunty-ppa

and when I start it, it displays a screen for a second and dies. The terminal says the following, but I can't figure out whats wrong. Using the nvidia driver that ubuntu recomended:
Thanks for any help....

domagoj@ubuntu:~$ xbmc
The XBMC_HOME environment variable is not set.
*** glibc detected *** /usr/share/xbmc/xbmc.bin: realloc(): invalid old size: 0x08bea1f8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb747f604]
/lib/tls/i686/cmov/libc.so.6[0xb74831b1]
/lib/tls/i686/cmov/libc.so.6(realloc+0x106)[0xb7483ee6]
/lib/libnss_wins.so.2(Realloc+0xc3)[0xb47208cd]
/lib/libnss_wins.so.2(realloc_array+0x6a)[0xb47209c0]
/lib/libnss_wins.so.2(debug_add_class+0x7b)[0xb4707f50]
/lib/libnss_wins.so.2(debug_init+0x3b)[0xb47080a4]
/lib/libnss_wins.so.2(setup_logging+0x26)[0xb4708e37]
/lib/libnss_wins.so.2(_nss_wins_gethostbyname_r+0xf3)[0xb461c70e]
/lib/libnss_wins.so.2(_nss_wins_gethostbyname2_r+0x4f)[0xb461cca3]
/lib/tls/i686/cmov/libc.so.6[0xb74d823a]
/lib/tls/i686/cmov/libc.so.6(getaddrinfo+0x1bf)[0xb74d9c7f]
/usr/lib/libcurl.so.4[0xb7f2e487]
/usr/lib/libcurl.so.4[0xb7f03d96]
/usr/lib/libcurl.so.4[0xb7f163ca]
/usr/lib/libcurl.so.4[0xb7f1680f]
/usr/lib/libcurl.so.4[0xb7f293e9]
/usr/lib/libcurl.so.4(curl_multi_perform+0x59)[0xb7f29979]
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl10CReadState10FillBufferEj+0x21e)[0x8668d1e]
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl10CReadState7ConnectEj+0xf7)[0x86693c7]
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl4OpenERK4CURL+0xc3)[0x866c4f3]
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl7ServiceERK7CStdStrIcES4_RS2_+0x6a)[0x866854a]
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl3GetERK7CStdStrIcERS2_+0x43)[0x8669a43]
/usr/share/xbmc/xbmc.bin(_ZN24CBackgroundWeatherLoader14GetInformationEv+0x161)[0x8889b01]
/usr/share/xbmc/xbmc.bin(_ZN17CBackgroundLoader7ProcessEv+0x19)[0x88658e9]
/usr/share/xbmc/xbmc.bin(_ZN7CThread12staticThreadEPv+0x68)[0x888a268]
/usr/share/xbmc/xbmc.bin[0x88189c6]
/usr/lib/libSDL-1.2.so.0[0xb7d0583b]
/usr/lib/libSDL-1.2.so.0[0xb7d5371d]
/lib/tls/i686/cmov/libpthread.so.0[0xb730d4ff]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb74f449e]
======= Memory map: ========
08048000-08bb3000 r-xp 00000000 08:01 2598354 /usr/share/xbmc/xbmc.bin
08bb3000-08bb5000 r--p 00b6b000 08:01 2598354 /usr/share/xbmc/xbmc.bin
08bb5000-08bec000 rw-p 00b6d000 08:01 2598354 /usr/share/xbmc/xbmc.bin
08bec000-08c66000 rw-p 08bec000 00:00 0
09052000-094e6000 rw-p 09052000 00:00 0 [heap]
ad263000-b1264000 rw-s 00000000 00:15 61084 /dev/shm/pulse-shm-2616326000
b1264000-b1265000 ---p b1264000 00:00 0
b1265000-b1a65000 rwxp b1265000 00:00 0
b3c00000-b3c21000 rw-p b3c00000 00:00 0
b3c21000-b3d00000 ---p b3c21000 00:00 0
b3de2000-b3de3000 ---p b3de2000 00:00 0
b3de3000-b45e3000 rwxp b3de3000 00:00 0
b45e3000-b47f5000 r-xp 00000000 08:01 115099 /lib/libnss_wins.so.2
b47f5000-b47f6000 ---p 00212000 08:01 115099 /lib/libnss_wins.so.2
b47f6000-b47fa000 r--p 00212000 08:01 115099 /lib/libnss_wins.so.2
b47fa000-b47ff000 rw-p 00216000 08:01 115099 /lib/libnss_wins.so.2
b47ff000-b4800000 rw-p b47ff000 00:00 0
b4800000-b482a000 rw-p b4800000 00:00 0
b482a000-b4900000 ---p b482a000 00:00 0
b492d000-b4934000 r-xp 00000000 08:01 98342 /usr/lib/libtalloc.so.1.2.0
b4934000-b4935000 r--p 00006000 08:01 98342 /usr/lib/libtalloc.so.1.2.0
b4935000-b4936000 rw-p 00007000 08:01 98342 /usr/lib/libtalloc.so.1.2.0
b4936000-b4940000 r-xp 00000000 08:01 132329 /lib/tls/i686/cmov/libnss_files-2.9.so
b4940000-b4941000 r--p 00009000 08:01 132329 /lib/tls/i686/cmov/libnss_files-2.9.so
b4941000-b4942000 rw-p 0000a000 08:01 132329 /lib/tls/i686/cmov/libnss_files-2.9.so
b4950000-b4951000 ---p b4950000 00:00 0
b4951000-b5151000 rwxp b4951000 00:00 0
b5151000-b5179000 r--p 00000000 08:01 2613360 /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b5179000-b51a1000 r--p 00000000 08:01 2613360 /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b51a1000-b51c9000 r--p 00000000 08:01 2613360 /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b51c9000-b51f1000 r--p 00000000 08:01 2613360 /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b51f1000-b5200000 r--p 00000000 08:01 2613362 /usr/share/xbmc/skin/PM3.HD/fonts/humanist_521_bt.ttf
b5200000-b520f000 r--p 00000000 08:01 2613361 /usr/share/xbmc/skin/PM3.HD/fonts/humanist_521_condensed_bt.ttf
b520f000-b5237000 r--p 00Aborted
find quote
althekiller Offline
Retired Team-Kodi Member
Posts: 5,002
Joined: May 2004
Reputation: 12
Post: #2
Ugh... please read the "how to post a problem in a useful manner" sticky.
find quote
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #3
althekiller Wrote:Ugh... please read the "how to post a problem in a useful manner" sticky.

And what have I missed, described the error, said it's ubuntu 9.04, from where I installed the app, what video card I have, what else should I put?
I installed it with apt-get after adding and signing sources. I have nvidia accelerated driver, version 180. The app, when I start it, displays the screen for a second and aborts. I believe the reason can be found in the copy of terminal output I put in the previous post.
Didn't see any similar problems somewhere on the net. Just problems with ATI drivers.
find quote
Clumsy Offline
Team-XBMC Forum Moderator
Posts: 641
Joined: Feb 2004
Reputation: 0
Post: #4
You missed about everything important for a developer to see what could be causing your troubles. Go read the sticky again and then provide the following: a debug log, a gdb backtrace - both on a service like pastebin please, don't spam the forums with log output.

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.
find quote
Haggy Offline
Team-XBMC Forum Moderator - Retired
Posts: 881
Joined: Mar 2009
Reputation: 0
Location: Wild southern Germany
Post: #5
What Al meant is provide a FULL debug log on pastebin...not some snippets directly in the post. We don't even know which version you're running.

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.
find quote
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #6
Haggy Wrote:What Al meant is provide a FULL debug log on pastebin...not some snippets directly in the post. We don't even know which version you're running.

I apologize, I thought debug log and terminal output were the same thing.
So my xbmc.log should be here:
http://d.cl1p.net/xbmc_log/

hm, and here Smile as you prefer http://pastebin.com/m41ce313b
(This post was last modified: 2009-07-04 13:17 by domagoj.)
find quote
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #7
Unfortunately, I don't see anything strange in the logs.. Sad I'm about to go find alternatives to this...
find quote
tslayer Offline
Team-XBMC Developer
Posts: 3,557
Joined: Oct 2003
Reputation: 12
Post: #8
Please search. Pretty sure this has been covered before.

Check your /etc/nsswitch.conf.

Remove the wins in there. This isn't a bug with XBMC. But you are more than welcome to use something else with that attitude.

42.7% of all statistics are made up on the spot

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.
find quote
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #9
tslayer Wrote:Please search. Pretty sure this has been covered before.

Check your /etc/nsswitch.conf.

Remove the wins in there. This isn't a bug with XBMC. But you are more than welcome to use something else with that attitude.

I have a short fuse. Often blurt out stuff and later regret it. Sorry. But when applications that are said to be stable break on a clean system and a fresh instalation I tend to get a bit nervous, as the reason I formated my Vista partition and put Linux (again), for my would me media/file/application/web/sql home server station...

I managed to get everything but this working, Apache, Mysql, samba server, webmin. Everything but this, and I want it. SO SORRY, PLEASE HELP ME Frown

I actually put wins in there to make samba work with names. Will try to remove it if you say it could help. I searched for a similar problem, but couldn't find anything that would help me. Believe me I search first, and hate to ask for help as I know how it ends up...Oo I'm talking too much... grrr...Angry
find quote
tslayer Offline
Team-XBMC Developer
Posts: 3,557
Joined: Oct 2003
Reputation: 12
Post: #10
Report back after removing wins. Should work after that. Search google and you'll see other programs exhibit the same crashes due to that.

42.7% of all statistics are made up on the spot

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.
find quote
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #11
tslayer Wrote:Report back after removing wins. Should work after that. Search google and you'll see other programs exhibit the same crashes due to that.

Hey, reporting back. After I removed wins, the error changed. At the end of xbmc.log at http://pastebin.com/m9c9452 it says SQLite error. I installed Sqlite3, and php-sqlite from synaptic (which weren't installed before) and nothing changed. Any ideas?
find quote
domagoj Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #12
domagoj Wrote:Hey, reporting back. After I removed wins, the error changed. At the end of xbmc.log at http://pastebin.com/m9c9452 it says SQLite error. I installed Sqlite3, and php-sqlite from synaptic (which weren't installed before) and nothing changed. Any ideas?

Yaaaaay, I managed to start XBMC, and I'll be nice and post the answer to previous error. So if you get in your xbmc.log error like ERROR: SQLite: SQL error or missing database you have to delete the directory /home/user/.xbmc/userdata
When you delete userdata, restart XBMC and don't ask me why it works? Shocked
Bye and let's waste some time watching movies.... Smile
find quote
jbernardo Offline
Member
Posts: 80
Joined: Mar 2009
Reputation: 0
Post: #13
xbmc 9.04.2+svn21496-jaunty1
kubuntu 9.04
x86_64
installed from xbmc-svn ppa (http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu)
svn revision 21496

Happens every time - I launch xbmc, shows the splash screen, checks the DVD (you can hear it started), and closes with just a "aborted" on the terminal.

The xbmc.log is here, and the backtrace here.
Can anyone help me with this? I've tried with the DVDS empty or with a DVD inside, and doesn't change anything. It just aborts as soon as it seems it is about to show the main screen.

Thanks.
find quote
jbernardo Offline
Member
Posts: 80
Joined: Mar 2009
Reputation: 0
Post: #14
Just updated to 9.04.2+svn21650-jaunty1

Now the error is slightly more verbose:
Code:
*** glibc detected *** /usr/share/xbmc/xbmc.bin: realloc(): invalid pointer: 0x0000000001293acc ***
======= Backtrace: =========                                                                      
/lib/libc.so.6[0x7f4523fd7cb8]                                                                    
/lib/libc.so.6(realloc+0x2bc)[0x7f4523fdcf3c]                                                      
/lib/libnss_wins.so.2(Realloc+0xa6)[0x7f4519ba5b37]                                                
/lib/libnss_wins.so.2(realloc_array+0x44)[0x7f4519ba5c0e]                                          
/lib/libnss_wins.so.2(debug_add_class+0x70)[0x7f4519b8f1b7]                                        
/lib/libnss_wins.so.2(debug_init+0x29)[0x7f4519b8f2f3]                                            
/lib/libnss_wins.so.2(setup_logging+0x10)[0x7f4519b90118]                                          
/lib/libnss_wins.so.2(_nss_wins_gethostbyname_r+0xd2)[0x7f4519abdedc]                              
/lib/libnss_wins.so.2(_nss_wins_gethostbyname2_r+0x2b)[0x7f4519abe364]                            
/lib/libc.so.6[0x7f452402d414]                                                                    
/lib/libc.so.6(getaddrinfo+0x1d2)[0x7f452402eda2]                                                  
/usr/lib/libcurl.so.4[0x7f452982f9e7]                                                              
/usr/lib/libcurl.so.4[0x7f4529807352]                                                              
/usr/lib/libcurl.so.4[0x7f4529817853]                                                              
/usr/lib/libcurl.so.4[0x7f4529817c0b]                                                              
/usr/lib/libcurl.so.4[0x7f452982aba5]                                                              
/usr/lib/libcurl.so.4(curl_multi_perform+0x8b)[0x7f452982b24b]                                    
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl10CReadState10FillBufferEj+0x217)[0xa5a7a7]            
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl10CReadState7ConnectEj+0xed)[0xa5adfd]                
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl4OpenERK4CURL+0x9e)[0xa5dcfe]                          
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl7ServiceERK7CStdStrIcES4_RS2_+0x6f)[0xa59f8f]          
/usr/share/xbmc/xbmc.bin(_ZN5XFILE9CFileCurl3GetERK7CStdStrIcERS2_+0x47)[0xa5b507]                
/usr/share/xbmc/xbmc.bin(_ZN24CBackgroundWeatherLoader14GetInformationEv+0x17e)[0xc820de]          
/usr/share/xbmc/xbmc.bin(_ZN17CBackgroundLoader7ProcessEv+0x11)[0xc5de01]                          
/usr/share/xbmc/xbmc.bin(_ZN7CThread12staticThreadEPv+0x5f)[0xc8271f]                              
/usr/share/xbmc/xbmc.bin[0xc1398f]                                                                
/usr/lib/libSDL-1.2.so.0[0x7f45281d44c7]                                                          
/usr/lib/libSDL-1.2.so.0[0x7f4528219e29]                                                          
/lib/libpthread.so.0[0x7f45238323ba]                                                              
/lib/libc.so.6(clone+0x6d)[0x7f4524045fcd]                                                        
======= Memory map: ========                                                                      
00400000-01043000 r-xp 00000000 08:06 1069148                            /usr/share/xbmc/xbmc.bin  
01243000-0124b000 r--p 00c43000 08:06 1069148                            /usr/share/xbmc/xbmc.bin  
0124b000-01295000 rw-p 00c4b000 08:06 1069148                            /usr/share/xbmc/xbmc.bin  
01295000-01316000 rw-p 01295000 00:00 0                                                            
02d03000-03519000 rw-p 02d03000 00:00 0                                  [heap]                    
40409000-4040b000 rwxp 00000000 00:0f 765                                /dev/zero                
40ee7000-40f65000 rw-p 00000000 00:0f 765                                /dev/zero                
7f4514000000-7f4514029000 rw-p 7f4514000000 00:00 0                                                
7f4514029000-7f4518000000 ---p 7f4514029000 00:00 0                                                
7f4519866000-7f451986e000 r-xp 00000000 08:06 641911                     /usr/lib/libtalloc.so.1.2.0
7f451986e000-7f4519a6d000 ---p 00008000 08:06 641911                     /usr/lib/libtalloc.so.1.2.0
7f4519a6d000-7f4519a6e000 r--p 00007000 08:06 641911                     /usr/lib/libtalloc.so.1.2.0
7f4519a6e000-7f4519a6f000 rw-p 00008000 08:06 641911                     /usr/lib/libtalloc.so.1.2.0
7f4519a6f000-7f4519c9d000 r-xp 00000000 08:06 931517                     /lib/libnss_wins.so.2      
7f4519c9d000-7f4519e9d000 ---p 0022e000 08:06 931517                     /lib/libnss_wins.so.2      
7f4519e9d000-7f4519ea5000 r--p 0022e000 08:06 931517                     /lib/libnss_wins.so.2      
7f4519ea5000-7f4519ead000 rw-p 00236000 08:06 931517                     /lib/libnss_wins.so.2
7f4519ead000-7f4519eae000 rw-p 7f4519ead000 00:00 0
7f4519eae000-7f4519eb0000 r-xp 00000000 08:06 929407                     /lib/libnss_mdns4_minimal.so.2
7f4519eb0000-7f451a0af000 ---p 00002000 08:06 929407                     /lib/libnss_mdns4_minimal.so.2
7f451a0af000-7f451a0b0000 rw-p 00001000 08:06 929407                     /lib/libnss_mdns4_minimal.so.2
7f451a0b0000-7f451a0b1000 ---p 7f451a0b0000 00:00 0
7f451a0b1000-7f451a8b1000 rwxp 7f451a0b1000 00:00 0
7f451a8b1000-7f451a8b2000 ---p 7f451a8b1000 00:00 0
7f451a8b2000-7f451b0b2000 rwxp 7f451a8b2000 00:00 0
7f451b0b2000-7f451b0da000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b0da000-7f451b102000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b102000-7f451b12a000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b12a000-7f451b152000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b152000-7f451b161000 r--p 00000000 08:06 1208978                    /usr/share/xbmc/skin/PM3.HD/fonts/humanist_521_bt.ttf
7f451b161000-7f451b170000 r--p 00000000 08:06 1208979                    /usr/share/xbmc/skin/PM3.HD/fonts/humanist_521_condensed_bt.ttf
7f451b170000-7f451b198000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b198000-7f451b1c0000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b1c0000-7f451b1e8000 r--p 00000000 08:06 1208950                    /usr/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
7f451b1e8000-7f451b1e9000 ---p 7f451b1e8000 00:00 0
7f451b1e9000-7f451b9e9000 rwxp 7f451b1e9000 00:00 0
7f451b9e9000-7f451b9eb000 r-xp 00000000 08:06 230715                     /usr/lib/gconv/ISO8859-1.so
7f451b9eb000-7f451bbea000 ---p 00002000 08:06 230715                     /usr/lib/gconv/ISO8859-1.so
7f451bbea000-7f451bbeb000 r--p 00001000 08:06 230715                     /usr/lib/gconv/ISO8859-1.so
7f451bbeb000-7f451bbec000 rw-p 00002000 08:06 230715                     /usr/lib/gconv/ISO8859-1.so
7f451bdee000-7f451bdef000 rw-p 7f451bdee000 00:00 0
7f451bdef000-7f451bfef000 rw-s c1dc3000 00:0f 14217                      /dev/nvidia0
7f451bfef000-7f451bff3000 rw-s d38e8000 00:0f 14217                      /dev/nvidia0
7f451bff3000-7f451c0f3000 rw-s cb877000 00:0f 14217                      /dev/nvidia0
7f451c0f3000-7f451c245000 rw-s 00000000 00:09 76742684                   /SYSV00000000 (deleted)
7f451c245000-7f451c325000 r-xp 00000000 08:06 1316743                    /usr/share/xbmc/system/ImageLib-x86_64-linux.so
7f451c325000-7f451c525000 ---p 000e0000 08:06 1316743                    /usr/share/xbmc/system/ImageLib-x86_64-linux.so
7f451c525000-7f451c529000 r--p 000e0000 08:06 1316743                    /usr/share/xbmc/system/ImageLib-x86_64-linux.so
7f451c529000-7f451c52e000 rw-p 000e4000 08:06 1316743                    /usr/share/xbmc/system/ImageLib-x86_64-linux.so
7f451c52e000-7f451c532000 rw-p 7f451c52e000 00:00 0
7f451c532000-7f451c53e000 r-xp 00000000 08:06 931020                     /lib/libnss_files-2.9.so
7f451c53e000-7f451c73d000 ---p 0000c000 08:06 931020                     /lib/libnss_files-2.9.so
7f451c73d000-7f451c73e000 r--p 0000b000 08:06 931020                     /lib/libnss_files-2.9.so
7f451c73e000-7f451c73f000 rw-p 0000c000 08:06 931020                     /lib/lAborted
If needed, I can supply again the xbmc.log and the gdb backtrace.
find quote
jbernardo Offline
Member
Posts: 80
Joined: Mar 2009
Reputation: 0
Post: #15
Updated to 9.04.2+svn21688-jaunty1, still fails the same way.
find quote
Post Reply