-
Notifications
You must be signed in to change notification settings - Fork 6
python2.7: segfault and error 4 in libg15.so.1.0.1 #30
Comments
I'm not really sure; I have not really looked inside the workings of gnome15, since it has (had?) its own maintainer. My contributions are related to installing it on Gentoo, some fixes to the lg4l kernel and some minor modifications of gnome15 "just enough to make it work". On my G19 am am only annoyed that the non-standard keys don't work after suspend/resume. Your crash seems related to a G15 keyboard; I might take a look at libg15, but it would be wonderful if you had a more meaningful stacktrace: https://wiki.gentoo.org/wiki/Debugging |
The problem is that I don't know how to get this backtrace, since the whole thing is launched through /usr/bin/g15-desktop-service which is a python script. I already tried to automatically run it through gdb on desktop start, but this does not work. I don't know how libg15.so.1.0.1 is started. |
Maybe this : https://wiki.python.org/moin/DebuggingWithGdb |
I think the issue is within libg15 rather than python; but if libg15 is loaded into python it is worth compiling both with debug symbols. |
This always happens from time to time. libg15.so.1 is loaded from pylibg15.py in /usr/lib64/python2.7/site-packages/gnome15/drivers :
But I don't if and how there's a way to load it using gdb. |
For the record, some months ago I forked libg15-gnome15. I renamed it to libg15 (ebuild) and I fixed some gcc warnings and made the code stronger by checking return values. Everything is in the ChangeLog. I do not remember seeing this segfault again, but to be honest, I do not use this library anymore on this system since I'm developing my own project with newer libusb. |
Sometimes (not very often) my keyboard stops responding.
When this happens, I un/re-plug it, and relaunch the g15-desktop-service, and its ok.
In logs I'm getting this :
Is there any way to launch it through gdb to get a backtrace ?
Thanks !
The text was updated successfully, but these errors were encountered: