You are not logged in.

#1 2013-11-02 21:43:13

alphazo
Member
Registered: 2009-10-20
Posts: 163

[SOLVED] Seg fault on Haswell processor (TSX+glibc)

Hello,

I just installed ArchLinux on a brand new Intel i7 4770S (Haswell) because my old laptop was unable to handle HD content properly under Kdenlive. I have the exact package versions on both machines but when disabling a simple effect in Kdenlive I get a seg fault.

You can see my bug report on Kdenlive bug tracker here: http://www.kdenlive.org/mantis/view.php?id=3186

I then looked at the trace and found this stuff about lock elision that seems very (hardware) specific to Haswell CPU.

http://lwn.net/Articles/534758/
http://halobates.de/adding-lock-elision-to-linux.pdf
http://www.phoronix.com/scan.php?page=n … px=MTQzNDk
http://www.anandtech.com/show/6290/maki … tensions/2

I looked at the PKGBUILD for the current glibc 2.18-9 and it has the  "--enable-lock-elision" so I used ABS to recompile it without support for it to see if it would make my Kdenlive work again. And yes problem is gone.

Is this a problem with Kdenlive code or lock elision implementation in current glibc?   Don't know if this is related but I also had some issues with Digikam when using the default glibc.

Thanks
Alphazo

Bug reported: https://bugs.archlinux.org/task/37617#comment116170

Last edited by alphazo (2013-11-06 08:11:46)

Offline

Board footer

Powered by FluxBB