View Full Version : Comments in Lircmap.xml cause XBMC to dump core
divestoclimb
2009-02-07, 23:53
I just added my LIRC remote to Lircmap.xml and noticed that XBMC was crashing after I did so. Whenever I edit config files I add comments about what I added/changed and when I did it, and it didn't stop crashing until I removed all comments I inserted into the XML tree itself.
This leads me to believe XBMC is not properly parsing the XML.
hikaricore
2009-02-08, 00:56
Are you using the correct comment format?
<!-- This is an example of a proper comment. -->
You may want to post some examples so others know what you're speaking of. :)
althekiller
2009-02-08, 01:41
We use the same functions for that file as we do with all of the other XMLs XBMC accesses. Pastebin your broken file and make sure to enable the syntax highlighting for XML, it might point out something obvious.
Huh. Well, this explains why my attempt at comments in advancedsettings.xml made my installation crash.
divestoclimb
2009-02-08, 05:54
Okay, here's an example: http://pastebin.com/m74c549b3
This is the default Lircmap.xml with a single comment line added at the end (but before the root element is closed). I just tested again, using this file causes XBMC to crash.
divestoclimb
2009-02-08, 06:03
By the way I'm using the Ubuntu package from the repository at ppa.launchpad.net, version 8.10final1-intrepid4. I don't think you'll have trouble reproducing with that file but if you do, I can give you debug logs and backtraces.