Kodi Community Forum

Full Version: crash with double free or corruption
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I see this crash every time I too quickly go back a level in the recordings. From t he crash log it seems to be:

hread 1 (Thread 0x7ff847fff700 (LWP 22767)):
#0 0x00007ff89de2cf79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ff89de30388 in __GI_abort () at abort.c:89
#2 0x00007ff89de6a1d4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ff89df78a10 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ff89de764ae in malloc_printerr (ptr=<optimised out>, str=0x7ff89df78bd8 "double free or corruption (fasttop)", action=1) at malloc.c:4996
#4 _int_free (av=<optimised out>, p=<optimised out>, have_lock=0) at malloc.c:3840
#5 0x0000000001744b05 in CThread::~CThread() ()
#6 0x0000000001744b79 in CThread::~CThread() ()
#7 0x0000000000cadd79 in CBackgroundInfoLoader::StopThread() ()

Interestingly I also see this same issue using 12.3 packaged by debian. I am on ubuntu 14.04 with the unstable 13.2 beta 2 installed along with the latest plugin.

I don't see this issue on another laptop also running xbmc 13.2 beta 2 with the latest mythtv pvr. Both laptops are connecting to a remote mythtv backend on the same network.

Please let me know what else I need to provide as I can't get this working. The only workaround I have at the moment is to click the Home button to return to the main menu and then go back into the recordings section.

However as this particular laptop is used by my 4 yo son, he will forget to use the Home button and crash out of xbmc, making it basically unusable for him.

The crash log:
http://pastebin.com/AGQHWMDT

This bug is reproducable every time I click the back button or the '..' folder after starting to watch a video. If I don't watch a video, the crash does not happen when I click the back button.

Please help me
I experimented a little more and it seems that I can avoid the crash if I wait about 10 seconds after exiting the just watched recording, before I click the back button or the '..' folder link.

Sometimes it can be less time - say around 5 seconds, but it appears to consistently work if I count to 10 before clicking the back button.'

Not sure what that means
I uninstalled the pvr plugin and installed janbar fork instead. The bug has gone and the new plugin works so much better. its quicker and I now get all the icons coming back from my mythtv setup.

It would be good to see this new plugin become the default, it rocks

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