[LINUX] XBMC crashes on scan movie library (themoviedb)
#1
Hi,

I didn't know if this is the correct forum to post in but it feels like the most appropriate somehow.

I've tried fixing my problem with xbmc crashing on startup, thus far I've isolated the problem to themoviedb.org scraper add-on. When it starts to scrape my movie folder (on an external hard drive, the files play just fine from "files" menu). I can get xbmc-live to start by removing the themoviedb related addons, but that is not the solution I'm looking for.

My system is a Asrock ION 330HT running Ubuntu 11.04 (2.6.38-8-generic x86_64) with xbmc compiled from GIT (20110613-e8alf30). I didn't know how to get the core and gdb working (tried the instructions but didn't work). I've tried myself to decode the debug logs but I have no idea what to look for (Don't see any unnecessary bad error codes).

xbmc_crashlog-20110613_174622 -> http://pastebin.com/YB8TUT6g
xbmc.log -> http://pastebin.com/p0pXrnaw
xbmc.old.log -> http://pastebin.com/QsPCx6hj

Great job everyone btw!
Reply
#2
Whew, I was JUST going to post. Same thing with me. I was thinking that it was my DualAudio patch, but I compiled from master and crash.

Then I thought it might be since I just saved my old .xbmc folder, so I moved it and let it start one fresh (I did copy the sources.xml file over).

Same thing.

TV scanning crashes too.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#3
Tried using the official repo IMDB scraper, same result.
Reply
#4
I got GDB to attach:


Code:
(gdb) continue
Continuing.
[Thread 0x7f9850f57700 (LWP 19948) exited]
[New Thread 0x7f984e2f2700 (LWP 19956)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f984e2f2700 (LWP 19956)]
TiXmlNode::FirstChild (this=0x0, _value=0x7f984813d678 "NfoUrl") at tinyxml.cpp:315
315        for ( node = firstChild; node; node = node->next )

I used this to attach: gdb --pid=`pidof xbmc.bin`
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#5
I have the same problem with the latest git, i thought it was because I moved to a central database model using mysql. good to know more people are having this issue not just me. hopefully there is a fast solution
Reply
#6
I got the same problem after i updated to svn from 11 june
Now im back to the 2nd of june and everything is ok
Reply
#7
how do you compile an older version?
Reply
#8
Bump (same problem here, was about to post).
Cheers
WinXP SP3 - Samsung LE40A656 - Asus P5Q SE/R - Intel Core2Duo E8400 3000MHz - GeForce 9600GT (512MB) - Logitech NumberPad - Samsung Omnia running XBMC HTTP-R (for lack of a better option)
Reply
#9
HarryRosen Wrote:how do you compile an older version?

I dont know. I use the mario PPA and always make a complete backup before updating xbmc
Reply
#10
damm that sucks guess i gotta wait till they fix the latest git
Reply
#11
HarryRosen Wrote:how do you compile an older version?

Check out an older version.

"git history" (or use the website) to see when stuff was submitted,

then "git checkout <really long hex string>".

If anyone is really bored you could narrow down what submit broke it.

--

You didn't even have to be really bored, just know what you were looking for.

The scraper abstraction merge is what killed it:
https://github.com/xbmc/xbmc/commit/5a0d...7973571666

The one right before it works fine:
https://github.com/xbmc/xbmc/commit/a481...75da9594c5

Here's the back trace (consequences will never be the same).
Code:
bt
#0  TiXmlNode::FirstChild (this=0x0, _value=0x7f4eec10d468 "NfoUrl") at tinyxml.cpp:315
#1  0x00000000009f473e in TiXmlNode::FirstChildElement (this=<value optimized out>, _value=0x7f4eec10d468 "NfoUrl") at tinyxml.cpp:422
#2  0x00000000006e81a8 in FirstChildElement (this=0x7f4eec066ba8, strTag=..., scraper=0x7f4eec066920) at /root/xbmc/lib/tinyXML/tinyxml.h:691
#3  CScraperParser::Parse (this=0x7f4eec066ba8, strTag=..., scraper=0x7f4eec066920) at ScraperParser.cpp:381
#4  0x000000000098a6ea in ADDON::CScraper::InternalRun (this=0x7f4eec066920, function=..., scrURL=<value optimized out>, http=..., extras=0x7f4eebbf79f0)
    at Scraper.cpp:315
#5  0x000000000098baf7 in ADDON::CScraper::Run (this=0x7f4eec066920, function=..., scrURL=..., http=..., extras=0x7f4eebbf79f0) at Scraper.cpp:244
#6  0x000000000098cb33 in ADDON::CScraper::NfoUrl (this=0x7f4eec066920, sNfoContent=...) at Scraper.cpp:384
#7  0x0000000000914b88 in CNfoFile::Scrape (this=0x36d0bd0, scraper=...) at NfoFile.cpp:132
#8  0x0000000000915947 in CNfoFile::Create (this=0x36d0bd0, strPath=<value optimized out>, info=<value optimized out>, episode=<value optimized out>,
    strPath2=<value optimized out>) at NfoFile.cpp:113
#9  0x00000000007dc4c5 in VIDEO::CVideoInfoScanner::CheckForNFOFile (this=0x36d0ab0, pItem=0x7f4eec062ca0, bGrabAny=<value optimized out>, info=..., scrUrl=...)
    at VideoInfoScanner.cpp:1678
#10 0x00000000007e2d6b in VIDEO::CVideoInfoScanner::RetrieveInfoForMovie (this=0x36d0ab0, pItem=..., bDirNames=false, info2=..., useLocal=true, pURL=0x0,
    pDlgProgress=0x0) at VideoInfoScanner.cpp:536
#11 0x00000000007e3ec5 in VIDEO::CVideoInfoScanner::RetrieveVideoInfo (this=0x36d0ab0, items=..., bDirNames=false, content=CONTENT_MOVIES, useLocal=true, pURL=0x0,
    fetchEpisodes=true, pDlgProgress=0x0) at VideoInfoScanner.cpp:391
#12 0x00000000007e489f in VIDEO::CVideoInfoScanner::DoScan (this=0x36d0ab0, strDirectory=...) at VideoInfoScanner.cpp:293
#13 0x00000000007e474f in VIDEO::CVideoInfoScanner::DoScan (this=0x36d0ab0, strDirectory=...) at VideoInfoScanner.cpp:327
#14 0x00000000007e50de in VIDEO::CVideoInfoScanner::Process (this=0x36d0ab0) at VideoInfoScanner.cpp:106
#15 0x0000000000c5ed27 in CThread::staticThread (data=0x36d0ab0) at Thread.cpp:216
#16 0x00007f4f03ab8853 in ?? () from /usr/lib/libGL.so.1
#17 0x00007f4f0489bb40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007f4effda02fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#19 0x0000000000000000 in ?? ()
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#12
Thanks, Now we know whats broken, I guess we wait for a fix, or is there a way we can go back to pre june 8th. btw i am very new with so trying to do a lot of learning
Reply
#13
HarryRosen Wrote:is there a way we can go back to pre june 8th. btw i am very new with so trying to do a lot of learning

Are you familiar with how to compile from source?

Otherwise there is always: http://sshcs.com/xbmc/?mode=NSAC&AR=LN64
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#14
http://trac.xbmc.org/ticket/11637
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#15
I was following this thread on how to compile from git

http://forum.xbmc.org/showthread.php?tid=89817

then ended up using the script that someone made which is basically the same thing.

but if you can help me compile the june 8th version from source that would be really helpful
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] XBMC crashes on scan movie library (themoviedb)0