2012/7/27 <sebasti...@gmx-topmail.de>: >> On 2012.07.23 16:22, sebastiank wrote: >> Well, maybe I found a solution to enable core dumps for the running pcscd >> process without the >> need of a reboot or re-login: >> >> http://superuser.com/questions/404239/setting-ulimit-on-a-running-process > The instructions provided by the website above worked very well for me. > > Last night the segmentation fault occurred on two computers. Please find the > core dump files of the > pcsc daemon in the attachment. I also attached one file for each dump with > the corresponding syslog > error message and the gdb backtrace. > > I hope you can replicate the issue now.
Now you can use the core files to get the backtrace. Do: $ gdb -c core [...] (gdb) backtrace Since I do not have the binaries you used I do not get many information on my side: $ gdb -c core_1 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. [New LWP 904] [New LWP 905] [New LWP 1450] [New LWP 896] [New LWP 897] Core was generated by `/usr/sbin/pcscd --debug --apdu'. Program terminated with signal 11, Segmentation fault. #0 0x00115538 in ?? () (gdb) backtrace #0 0x00115538 in ?? () #1 0x082f2ed0 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) info threads Id Target Id Frame 5 LWP 897 0x0045f416 in __kernel_vsyscall () 4 LWP 896 0x0045f416 in __kernel_vsyscall () 3 LWP 1450 0x0045f416 in __kernel_vsyscall () 2 LWP 905 0x0045f416 in __kernel_vsyscall () * 1 LWP 904 0x00115538 in ?? () (gdb) I hope you will get more data. If pcscd and libusbx are not compiled with debug information then debug may be hard. Bye -- Dr. Ludovic Rousseau ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel