pipelka / xbmc-addon-xvdr

DISCONTINUED - Standalone XVDR addon for XBMC
GNU General Public License v2.0
43 stars 16 forks source link

Memory Corruption #151

Open burningsquirrel opened 9 years ago

burningsquirrel commented 9 years ago

Hi,

using Kodi with the latest XVDR version gives me an error and Kodi hangs: "* Error in `/usr/lib/kodi/kodi.bin': malloc(): memory corruption: 0x00007f58e4004340 *" There are no additional error details. I am using Arch Linux. The error appears every time when there is some interaction between Kodi and the plug-in (e.g. entering config dialog, querying EPG data, ...).

If there is any chance to get a more detailed error message that may help you to identify the issue's cause, let me know, so I can post it.

pipelka commented 9 years ago

Hi,

to be honest, I can't reproduce this. I just ran kodi through the valgrind memory checker and can't find any anomalies in xvdr (there are a lot of invalid accesses in kodi, but not in xvdr).

Maybe you compiled the wrong addon version for your kodi version. The following branches are needed: xvdr "master" -> kodi "master" xvdr "kodi-helix" -> kodi "Helix"

If you're sure that your addon binary is ok, please try to run kodi in the debugger (gdb).

burningsquirrel commented 9 years ago

Hi,

please excuse my late response. I checked it again and I can confirm, that the memory corruption that happens with my installation has nothing to do with XVDR. It also appears when XVDR isn't installed and Kodi runs despite the corruption. Nevertheless Kodi stops working, when something PVR related happens. I also did a fresh compilation of XVDR to be sure to get the newest version. With my OpenELEC installation I don't have any problems. So I think it has to be an Arch specific "behavior".

The only PVR related log entries are:

09:23:35 T:140379140130752 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel" 09:23:35 T:140379140130752 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended" 09:23:35 T:140378351724288 NOTICE: PVRManager - starting up 09:23:35 T:140378343331584 NOTICE: Thread PVRManager start, auto delete: false 09:23:35 T:140378334938880 NOTICE: Thread PVRClient start, auto delete: false

But there is no ERROR.