Weeee!
Thanks wernerb, that worked. Now the version banner shows 13.2.
It stars, but segfaults after a few seconds. The final lines in the xbmc.log are:
Quote:19:00:51 T:140134960048000 NOTICE: initialize done
19:00:51 T:140134441105152 NOTICE: Thread VideoInfoScanner start, auto delete: false
I've had to copy settings.xml and linux.xml into the system/settings folder, otherwise it wouldn't start.
Do I need to remove/replace any other files coming from a frodo minified install?
Yes, I did replace the /lib/libxbmc.so and did a ldconfig.
I've got a advancedsettings.xml in my portable_data/userdata folder. I've removed all other XML files, so I'm on default settings.
After a few seconds, xbmc fails with:
Quote:Sep 8 19:17:17 kernel: [4101574.165138] EventServer[18820]: segfault at 0 ip 00007fc3bc61f27d sp 00007fc3a67332b0 error 4 in libxbmc.so[7fc3bbc73000+1897000]
This is my XBMC logfile:
Code:
19:16:58 T:140478681692032 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:16:58 T:140478681692032 NOTICE: -----------------------------------------------------------------------
19:16:58 T:140478681692032 NOTICE: Starting XBMC (13.2 Git:20140901-867305b). Platform: x86 Linux 64-bit
19:16:58 T:140478681692032 NOTICE: Using Release XBMC x64 build, compiled Sep 8 2014 by GCC 4.8.1 for x86 Linux 64-bit 3.11.10
19:16:58 T:140478681692032 NOTICE: Running on Linux 64-bit (Ubuntu 13.10, 3.11.0-26-generic x86_64)
19:16:58 T:140478681692032 NOTICE: Host CPU: Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz, 4 cores available
19:16:58 T:140478681692032 NOTICE: special://xbmc/ is mapped to: /opt/xbmc-server/
19:16:58 T:140478681692032 NOTICE: special://xbmcbin/ is mapped to: /opt/xbmc-server
19:16:58 T:140478681692032 NOTICE: special://masterprofile/ is mapped to: /opt/xbmc-server/portable_data/userdata
19:16:58 T:140478681692032 NOTICE: special://home/ is mapped to: /opt/xbmc-server/portable_data
19:16:58 T:140478681692032 NOTICE: special://temp/ is mapped to: /opt/xbmc-server/portable_data/temp
19:16:58 T:140478681692032 NOTICE: The executable running is: /opt/xbmc-server/xbmc-server
19:16:58 T:140478681692032 NOTICE: Local hostname: frazzle
19:16:58 T:140478681692032 NOTICE: Log File is located: /opt/xbmc-server/portable_data/temp/xbmc.log
19:16:58 T:140478681692032 NOTICE: -----------------------------------------------------------------------
19:16:58 T:140478681692032 ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
19:16:58 T:140478681692032 NOTICE: load settings...
19:16:58 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:16:58 T:140478681692032 NOTICE: No Devices found - retry: 4
19:17:00 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:00 T:140478681692032 NOTICE: No Devices found - retry: 3
19:17:01 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:01 T:140478681692032 NOTICE: No Devices found - retry: 2
19:17:03 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:03 T:140478681692032 NOTICE: No Devices found - retry: 1
19:17:04 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:04 T:140478681692032 NOTICE: Found 0 Lists of Devices
19:17:04 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:04 T:140478681692032 NOTICE: No Devices found - retry: 4
19:17:06 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:06 T:140478681692032 NOTICE: No Devices found - retry: 3
19:17:07 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:07 T:140478681692032 NOTICE: No Devices found - retry: 2
19:17:09 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:09 T:140478681692032 NOTICE: No Devices found - retry: 1
19:17:10 T:140478681692032 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:10 T:140478681692032 NOTICE: Found 0 Lists of Devices
19:17:10 T:140478681692032 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:17:10 T:140478681692032 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
19:17:10 T:140478681692032 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<videolibrary>
<backgroundupdate>true</backgroundupdate>
</videolibrary>
<musiclibrary>
<backgroundupdate>true</backgroundupdate>
</musiclibrary>
<videodatabase>
<type>mysql</type>
<host>x.y.z.q</host>
<port>xxxx</port>
<user>user</user>
<pass>pass</pass>
<name>name</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>x.y.z.q</host>
<port>xxxx</port>
<user>user</user>
<pass>pass</pass>
<name>other_name</name>
</musicdatabase>
</advancedsettings>
19:17:10 T:140478681692032 WARNING: VIDEO database configuration is experimental.
19:17:10 T:140478681692032 NOTICE: Default DVD Player: dvdplayer
19:17:10 T:140478681692032 NOTICE: Default Video Player: dvdplayer
19:17:10 T:140478681692032 NOTICE: Default Audio Player: paplayer
19:17:10 T:140478681692032 NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:17:10 T:140478681692032 NOTICE: Log level changed to 0
19:17:10 T:140478681692032 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:17:10 T:140478681692032 NOTICE: Loaded playercorefactory configuration
19:17:10 T:140478681692032 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:17:10 T:140478681692032 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:17:10 T:140478402258688 NOTICE: Thread ActiveAE start, auto delete: false
19:17:10 T:140478393865984 NOTICE: Thread AESink start, auto delete: false
19:17:10 T:140478402258688 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:10 T:140478402258688 NOTICE: No Devices found - retry: 4
19:17:12 T:140478402258688 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:12 T:140478402258688 NOTICE: No Devices found - retry: 3
19:17:14 T:140478402258688 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:14 T:140478402258688 NOTICE: No Devices found - retry: 2
19:17:15 T:140478402258688 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:15 T:140478402258688 NOTICE: No Devices found - retry: 1
19:17:17 T:140478402258688 NOTICE: CAESinkOSS::EnumerateDevicesEx - No OSS mixer device present: /dev/mixer
19:17:17 T:140478402258688 NOTICE: Found 0 Lists of Devices
19:17:17 T:140478313920256 NOTICE: Thread AESinkNull start, auto delete: false
19:17:17 T:140478681692032 NOTICE: Running database version Addons16
19:17:17 T:140478681692032 NOTICE: ADDONS: Using repository repository.xbmc.org
19:17:17 T:140478681692032 NOTICE: Running database version Addons16
19:17:17 T:140478681692032 NOTICE: Running database version ViewModes6
19:17:17 T:140478681692032 NOTICE: Running database version Textures13
19:17:17 T:140478681692032 NOTICE: Running database version xbmc_music46
19:17:17 T:140478681692032 NOTICE: Running database version xbmc_movies78
19:17:17 T:140478681692032 NOTICE: Running database version TV22
19:17:17 T:140478681692032 NOTICE: Running database version Epg7
19:17:17 T:140478681692032 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
19:17:17 T:140478681692032 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
19:17:17 T:140478681692032 NOTICE: initialize done
19:17:17 T:140478298466048 NOTICE: Thread VideoInfoScanner start, auto delete: false
19:17:17 T:140478681692032 NOTICE: ES: Starting event server
19:17:17 T:140478287922944 NOTICE: Thread EventServer start, auto delete: false
19:17:17 T:140478287922944 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:17:17 T:140478287922944 NOTICE: UDP: Listening on port 9777
19:17:17 T:140478279530240 NOTICE: Thread TCPServer start, auto delete: false
edit:
After I dug through this thread I found a few fixes (guisettings.xml, advancedsettings.xml) and after further disabling services I get a different log message. The server still segfaults though.
The final lines in the xbmc.log are:
Code:
09:04:03 T:139805209810688 DEBUG: XBMC Version Check: Version 0.1.21 started
09:04:03 T:139805209810688 INFO: CPythonInvoker(0, /opt/xbmc-server/addons/service.xbmc.versioncheck/service.py): script successfully run
09:04:03 T:139805209810688 INFO: Python script stopped
09:04:03 T:139805209810688 DEBUG: Thread LanguageInvoker 139805209810688 terminating
09:04:03 T:139805727848320 DEBUG: started alarm with name: checkatboot
09:04:03 T:139805727848320 DEBUG: started alarm with name: checkwhilerunning
09:04:03 T:139805209810688 NOTICE: Thread AlarmClock start, auto delete: false
09:04:04 T:139805727848320 DEBUG: LogindUPowerSyscall - Received unknown signal NameAcquired
09:04:04 T:139805727848320 DEBUG: Checking repositories for updates (triggered by XBMC.org Add-ons)
09:04:04 T:139805201417984 NOTICE: Thread JobWorker start, auto delete: true
09:04:04 T:139805201417984 DEBUG: CFileCache::Open - opening <addons/gotham/addons.xml.md5> using cache
When I remove the repository.xbmc.org folder from the addon folder, it doesn't segfault. But only if I disable the webserver and all other network interfaces.
As soon as I enable them again, the segfault returns.
The repository segfaults when it tries to check for updates, so I conclude that there is something broken in the network libraries in XBMC.
I'm running it on Ubuntu server 13.10. The minified XBMC-server of Frodo ran perfectly stable on the same box.
Any idea what's going on here?
Edit2:
I found out that the patches from Docmeth2 in post #623
here don't apply anymore.
Since I don't care about UPnP I manually applied the fix to xbmc/network/Network.cpp. That did seem to do the trick.
Yay!