Linux Segmentation fault. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170) +---- Thread: Linux Segmentation fault. (/showthread.php?tid=156154) |
Segmentation fault. - Den4t - 2013-02-14 Hi ! Have a problem with pvr.mythtv.cmyth plugin from git://github.com/opdenkamp/xbmc-pvr-addons.git xbmc dump core when start livetv, logs from xbmc here: http://xbmclogs.com/show.php?id=35494 from mythbackend here: http://xbmclogs.com/show.php?id=35495 But, recording work fine, problem appear only when start livetv. Mythfontend work fine and standart myth:// protocol from xbmc also work fine. I use mythtv 0.25-3, xbmc frodo 12.0 at Fedora 18 (3.7.2-201.fc18.x86_64), analogue TV tuner Beholder (lspci: 01:06.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev f0)) detected by kernel as: [ 6.090414] saa7130/34: v4l2 driver version 0, 2, 17 loaded [ 6.090611] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 18 [ 6.090625] saa7133[0]: found at 0000:01:06.0, rev: 240, irq: 18, latency: 64, mmio: 0xf9fff800 [ 6.090629] saa7133[0]: subsystem: 0000:507b, board: Beholder BeholdTV 507 RDS [card=161,autodetected] [ 6.090645] saa7133[0]: board init: gpio is 200000 [ 6.125032] Registered IR keymap rc-manli [ 6.125119] input: saa7134 IR (Beholder BeholdTV 5 as /devices/pci0000:00/0000:00:09.0/0000:01:06.0/rc/rc0/input4 [ 6.125172] rc0: saa7134 IR (Beholder BeholdTV 5 as /devices/pci0000:00/0000:00:09.0/0000:01:06.0/rc/rc0 [ 6.747051] tuner 0-0060: Tuner -1 found with type(s) Radio TV. [ 6.753032] tuner-simple 0-0060: creating new instance [ 6.753035] tuner-simple 0-0060: type set to 79 (Philips PAL/SECAM multi (FM1216 MK5)) [ 6.777090] saa7133[0]: registered device video1 [v4l2] [ 6.777157] saa7133[0]: registered device vbi1 [ 6.777199] saa7133[0]: registered device radio1 [ 6.839386] saa7134 ALSA driver for DMA sound loaded [ 6.839412] saa7133[0]/alsa: saa7133[0] at 0xf9fff800 irq 18 registered as card 1 From xbmc log we see: Program terminated with signal 11, Segmentation fault. #0 0x00007ff004173b3f in cmyth_livetv_chain_seek (whence=1 '\001', offset=0, rec=0x7feffc001478) at livetv.c:1103 1103 offset += rec->rec_livetv_chain->chain_files[cur]->file_req; I insert some debug code in function an detect, that value of "cur" is -1. Also i have a strange behavior of mythbackend at the begining of start livetv, in livetv recording directory always created 2 files, one of them have zero bytes length, another is normal mpeg4 nuv file. Same behavior i have with fetzerch git code RE: Segmentation fault. - conard - 2013-02-28 I've got the exact same crash. I'm running on Gentoo X86_64. Version of XMBC is 12.0 and version of xbmc_pvr_addons from GIT is 1.67. Actually, I get the same crash on both the 12.0 version of XBCM and the GIT version (13.0 Alpha 1, I think). Not sure what I'm doing wrong either. The crash happens a few seconds after I select a channel to watch livetv. My mythtv runs fine (I'm running version 25.3). Any pointers would be appreciated. I figured it out. I had my DB host set to my boxes external IP address. I changed it to localhost and no more crashes. RE: Segmentation fault. - Den4t - 2013-03-01 Hi Conard ! Will try your solution today. Here: http://forum.xbmc.org/showthread.php?tid=110694 at p. 193 discussion of this problem. RE: Segmentation fault. - Den4t - 2013-03-01 localhost no help me RE: Segmentation fault. - User 57826 - 2013-03-01 (2013-02-28, 01:25)conard Wrote: I've got the exact same crash. I'm running on Gentoo X86_64. Version of XMBC is 12.0 and version of xbmc_pvr_addons from GIT is 1.67. Actually, I get the same crash on both the 12.0 version of XBCM and the GIT version (13.0 Alpha 1, I think). Not sure what I'm doing wrong either. The latest from git is 1.6.9+ You are on Gentoo, so i'm not sure if the paths are the exact same, but you might want to make sure that you aren't loading the old *.so file. look for /usr/lib/xbmc/system/libcmyth-x86_64-linux.so and rename it to libcmyth-x86_64-linux.so.bak This is what I did to make sure that I have the latest files. And that no old stuff is laying around. RE: Segmentation fault. - couchPatato - 2015-05-24 I have a similar problem on a fresh install of Kodi. I just installed Kodi on my Peppermint (A Mint and Lubuntu diriv) and I have it crashing right at start up. Here are some relevant system specs: Code: $ inxi Thanx and regards |