You are not logged in.
For example, keepassx2:
Starting program: /usr/bin/keepassx
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff0000700 (LWP 6104)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff63c18c4 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
(gdb) bt full
#0 0x00007ffff63c18c4 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
No symbol table info available.
#1 0x00007ffff54a87ba in XrmQGetResource () from /usr/lib/libX11.so.6
No symbol table info available.
#2 0x00007ffff5484c56 in XGetDefault () from /usr/lib/libX11.so.6
No symbol table info available.
#3 0x00007ffff49e9808 in _XcursorGetDisplayInfo () from /usr/lib/libXcursor.so.1
No symbol table info available.
#4 0x00007ffff49e98d9 in XcursorGetDefaultSize () from /usr/lib/libXcursor.so.1
No symbol table info available.
#5 0x00007ffff49ebc55 in XcursorLibraryLoadCursor () from /usr/lib/libXcursor.so.1
No symbol table info available.
#6 0x00007ffff6e47cfb in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#7 0x00007ffff6e483e5 in QCursor::handle() const () from /usr/lib/libQtGui.so.4
No symbol table info available.
#8 0x00007ffff6e53910 in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#9 0x00007ffff6e58518 in QWidgetPrivate::create_sys(unsigned long, bool, bool) ()
from /usr/lib/libQtGui.so.4
No symbol table info available.
#10 0x00007ffff6e0b47b in QWidget::create(unsigned long, bool, bool) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#11 0x00007ffff6e13bd7 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
No symbol table info available.
#12 0x000000000041ff8a in ?? ()
No symbol table info available.
#13 0x00007ffff65f5790 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#14 0x0000000000420c69 in _start ()
No symbol table info available.[ 2557.296913] keepassx[6048]: segfault at 10 ip 00007f3cbf9f88c4 sp 00007ffe4fee5470 error 4 in libpthread-2.21.so[7f3cbf9ef000+18000]I've reinstalled the packages that own these libraries multiple times.
Everything I've found refering to this says that it's an issue with Intel processors and that a microcode update fixes it. Two things wrong with that for me: I have an AMD processor and I'm already loading the AMD microcode patches.
> dmesg | grep microcode ~
[ 0.580559] microcode: CPU0: patch_level=0x010000b6
[ 0.580568] microcode: CPU1: patch_level=0x010000b6
[ 0.580590] microcode: CPU2: patch_level=0x010000b6
[ 0.580649] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 30.392047] microcode: CPU0: new patch_level=0x010000c8
[ 30.392073] microcode: CPU1: new patch_level=0x010000c8
[ 30.392106] microcode: CPU2: new patch_level=0x010000c8I'm running linux-ck and nvidia-ck prebuilt from repo-ck. I've also tried with linux-lts-ck built manually with the nvidia module built by dkms, and with the core linux & nvidia packages. No change. However I don't experience this on another distribution (Debian) with the nvidia drivers - though I expect they're an older version.
> uname -a ~
Linux Prometheus 4.0.5-2-ck #1 SMP PREEMPT Mon Jun 8 16:50:08 EDT 2015 x86_64 GNU/LinuxWeirdly enough I can actually get the app to run (eventually) by doing something like this:
while :; do keepassx; doneDoesn't seem to be any pattern to it. Sometimes it freezes the loop, most of the time it segfaults and sometimes it'll load and work as normal.
So I'm not really sure what I'm getting at here since I'm pretty sure it's been established that nvidia's done something weird with this latest version of the drivers to cause this problem. Intel users can get around it by updating the microcode, but as far as I know there's nothing we can do on AMD processors besides downgrading. Maybe I'm wrong?
Thanks.
Last edited by Kesava (2015-07-22 01:28:34)
Offline
Still getting this with the latest nvidia update (352.09 -> 352.21). No progress.
Offline
Stiiiill happening.
Offline
Found another application I use which does exactly the same thing, mumble.
> gdb mumble ~
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mumble...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/mumble
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
PulseAudio: Connection failure: Connection refused
CELT bitstream 8000000b from /usr/lib/mumble/libcelt0.so.0.7.0
CELT bitstream 80000010 from /usr/lib/mumble/libcelt0.so.0.11.0
Locale is "en_GB" (System: "en_GB")
TextToSpeech: Failed to contact speech dispatcher.
Database SQLite: "3.8.10.2"
Overlay: Removing old socket on "/home/me/.MumbleOverlayPipe"
Overlay: Listening on "/home/me/.MumbleOverlayPipe"
GlobalShortcutX: Using XI2 2.0
No systemtrayicon available
[New Thread 0x7fffe7bb7700 (LWP 30514)]
[New Thread 0x7ffff129b700 (LWP 30493)]
Program received signal SIGSEGV, Segmentation fault.
0x0000003913a098c4 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
(gdb) bt full
#0 0x0000003913a098c4 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
No symbol table info available.
#1 0x0000003914e4a7ba in XrmQGetResource () from /usr/lib/libX11.so.6
No symbol table info available.
#2 0x0000003914e26c56 in XGetDefault () from /usr/lib/libX11.so.6
No symbol table info available.
#3 0x000000391ca04808 in _XcursorGetDisplayInfo ()
from /usr/lib/libXcursor.so.1
No symbol table info available.
#4 0x000000391ca048d9 in XcursorGetDefaultSize ()
from /usr/lib/libXcursor.so.1
No symbol table info available.
#5 0x000000391ca06c55 in XcursorLibraryLoadCursor ()
from /usr/lib/libXcursor.so.1
No symbol table info available.
#6 0x00007ffff70c0cfb in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#7 0x00007ffff70c13e5 in QCursor::handle() const ()
from /usr/lib/libQtGui.so.4
No symbol table info available.
#8 0x00007ffff70cc910 in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#9 0x00007ffff70d1518 in QWidgetPrivate::create_sys(unsigned long, bool, bool) () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x00007ffff708447b in QWidget::create(unsigned long, bool, bool) ()
from /usr/lib/libQtGui.so.4
No symbol table info available.
#11 0x00007ffff708cbd7 in QWidget::setVisible(bool) ()
from /usr/lib/libQtGui.so.4
No symbol table info available.
#12 0x000000000049d318 in ?? ()
No symbol table info available.
#13 0x00000000004aa063 in ?? ()
No symbol table info available.
#14 0x00000000004aaee4 in ?? ()
No symbol table info available.
#15 0x000000000043feea in ?? ()
No symbol table info available.
#16 0x0000003912e20790 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#17 0x0000000000443979 in ?? ()
No symbol table info available.
(gdb) Again, it's possible to get it to run by running it through a while loop a few times - or by being lucky.
I realise I could "just" downgrade libgl/nvidia and fix it but that's not really the point of this thread.
> uname -r ~
3.14.48-1-lts-ck > pacman -Qs libgl 1 ~
local/lib32-mesa 10.6.2-1
an open-source implementation of the OpenGL specification (32-bit)
local/lib32-nvidia-libgl 352.21-1
NVIDIA drivers libraries symlinks (32-bit)
local/libglade 2.6.4-5
Allows you to load glade interface files in a program at runtime
local/mesa 10.6.2-1
an open-source implementation of the OpenGL specification
local/nvidia-libgl 352.21-1
NVIDIA drivers libraries symlinksOffline
Well, turns out this only happens with QT apps which obey the QT style setting. I had it set to GTK+. After changing it to cleanlooks (or just deleting the .config/Trolltech.conf file), those same apps now work correctly.
Which.. doesn't make much sense to me. But okay.
I wouldn't say this is solved, though, since the problem's still completely reproducable with the GTK+ style, which I'd rather be using.
Last edited by Kesava (2015-07-22 01:27:51)
Offline
I had exactly the same problem and I finally found the solution. I was following advices on the Internet to get V-Sync working on my Nvidia GTX 560 Ti. One of them included creating /etc/profile.d/Tearing.sh with
export __GL_THREADED_OPTIMIZATIONS=1which caused the issue (at least for me). After removing this line and restarting the xorg-server, all Qt programs were working with the GTK+ style.
Offline