Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45054 - [kodi] crashes randomly since gcc 5.1 update
Attached to Project:
Community Packages
Opened by Dan Ziemba (zman0900) - Saturday, 23 May 2015, 01:34 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 26 May 2015, 20:59 GMT
Opened by Dan Ziemba (zman0900) - Saturday, 23 May 2015, 01:34 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 26 May 2015, 20:59 GMT
|
DetailsDescription: After installing updates today which included the new gcc 5.1 and friends then rebooting, kodi crashes on startup most of the time. Occasionally it will start, but behaves strangely.
Running from a terminal shows random error message that seem to be related to glibc. Some examples: *** Error in `/usr/lib/kodi/kodi.bin': malloc(): smallbin double linked list corrupted: 0x0000000005506380 *** *** Error in `/usr/lib/kodi/kodi.bin': corrupted double-linked list: 0x0000000004265090 *** *** Error in `/usr/lib/kodi/kodi.bin': corrupted double-linked list: 0x000000000429da20 *** When this happens, the gui window is frozen and shows only the background image, no buttons or text. It must be killed with -9. I've tried attaching to the process with gdb to get a stack trace, but it is different every time. Although it does always seem to involve malloc. Example: http://pastebin.com/eD7KASUK When kodi does start, it acts strange. The volume automatically lowers itself slowly and can't be turned back up from within the program. It tends to crash on its own after a few seconds or minutes, before library scanning is finished. It leaves nothing interesting in its log. I thought maybe a rebuild with the gcc 5.1 would fix this, but that build fails. I ran the build in a clean chroot with `extra-x86_64-build` so the failure shouldn't be environment related. Here's the build output: http://pastebin.com/M7SQBJXc Additional info: * package version(s) kodi 14.2-3 glibc 2.21-4 gcc-multilib 5.1.0-4 binutils 2.25-5 * config and/or log files etc. Steps to reproduce: Start kodi several times from a terminal. Observer the crashes and strange behavior. |
This task depends upon
Closed by Ike Devolder (BlackEagle)
Tuesday, 26 May 2015, 20:59 GMT
Reason for closing: Fixed
Additional comments about closing: thx for the gcc5 patches
Tuesday, 26 May 2015, 20:59 GMT
Reason for closing: Fixed
Additional comments about closing: thx for the gcc5 patches
This isn't really related to this bug, but you might find it useful so I have attached the changes I made to the PKGBUILD. I added 2 patches from fedora to fix the build error in rsxs with gcc 5 and a build error when using external ffmpeg. I replaced the invalid "--enable-external-libraries" with "--with-ffmpeg=shared" and added the dependency for ffmpeg. I also added some commands to build that JsonSchemaBuilder binary that the build otherwise complains is missing.
So this bug should probably at least be renamed, but this is probably an upstream problem. I will report it there, so close this if you want.
Are you sure it builds with external ffmpeg, since the possiblity to do that was removed when 14 was released
I got the JsonSchemaBuilder thing from here: http://kodi.wiki/view/HOW-TO:Compile_Kodi_on_Fedora/Red_Hat/CentOS#Build_JsonSchemaBuilder I've had problems with that in the past when building manually for other distros, so it was the first thing I tried. I guess it is no longer necessary.