Kodi Community Forum

Full Version: Segfault when Video file is launched
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
GUI works, Music Works..

But when I launch a vidoe file. X Dumps! GDM reboots into default debian login screen.

Error message: segfault at 4d0 ip b65c1fa6 sp a8148590 error 4 in libX11.so.6.3.0[b6588000+119000]

xbmc.log: http://pastebin.com/f54502d6a
Turn off "sync playback to display", this is the first time I've ever seen that segfault though, very strange.
Maybe you got triple buffering on in xorg.conf?
bobo1on1 Wrote:Turn off "sync playback to display", this is the first time I've ever seen that segfault though, very strange.
Maybe you got triple buffering on in xorg.conf?

Turned off "sync playback to display" and "Triple buffering", and now the video starts! But after a couple of start and stop of different video's;

[353689.559996] xbmc.bin[24384]: segfault at ab4a000 ip b61d9a66 sp af7fccd8 error 4 in libc-2.10.2.so[b6164000+141000]

xbmc.log: http://pastebin.com/f8b6c2f7
xorg.conf: http://pastebin.com/m2224bbac
Can you upload the generated crashlog instead?

Btw you can have sync playback to display on, or triple buffering, but not both, triple buffering is useless for xbmc anyway so I'd turn that off.
Hi,

same issue after upgrading Linux (XBMCbuntu) to the latest stable version with do-release-upgrade:
xbmc.bin[2003]: segfault at 4d0 ip b5e9ca64 sp bfe86630 error 4 in libX11.so.6.3.0[b5e85000+130000]

Additional information:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy

Linux xbmc-MS-7698 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:13:28 UTC 2014 i686 athlon i686 GNU/Linux

Crash log: http://pastebin.com/RDQJnJ8F

I'd appreciate if you could help.

Regards,
Balázs
Not related! Turn off vaapi or use something that works - which is not the xvba-va-driver for fglrx

Quote:12:37:03 T:2915040064 DEBUG: VAAPI - initialize version 0.33
12:37:03 T:2915040064 DEBUG: VAAPI - vendor: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
Thanks, it helped me avoid crash!

But after disabling VAAPI there is no sound and the frame rate is low by HD videos. There is no error in the log.

What should I use instead of VAAPI (or instead of xvba-va-driver)? Maybe hardware acceleration is needed for my PC to run videos smoothly. Before I've upgraded Ubuntu (and turned acceleration off) everything was fine.

My PC: MSI motherboard (E350IA-E45) with integrated processor and video.

Edit:
I've removed xvba-va-driver and I've tried to enable/disable VAAPI and VDPAU with the following result:
Both are disable:
No error message in the log but the frame rate is really low (just like in the other cases).

Both are enabled or VDPAU is enabled (VAAPI is disabled):
vdp_device = 0xffffffff vdp_st = 0x00000001
(VDPAU) unable to init VDPAU - vdp_st = 0x1. Falling back.
CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
(VDPAU) Close

VDPAU is disabled (VAAPI is enabled):
VAAPI - attempting to open codec 28 with profile 100 at level 41 with 4 reference frames
VAAPI - initialize version 0.33
VAAPI - unable to initialize display -1 - unknown libva error
There is no working hw acceleration for fglrx driver, cause AMD closed source deparment never implemented it properly. Use xbmcbuntu v13 and see.

But open a new thread. No need to highjack plain old threads.