[Bug 908092] New: pcscd (libifd-cyberjack.so) dies on exit
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 Bug ID: 908092 Summary: pcscd (libifd-cyberjack.so) dies on exit Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- pcscd started as "pcscd -f -d" was working fine when i decided to stop it using ^C. During stop pcscd corrupted the heap it seems: ^C99999999 pcscdaemon.c:752:signal_trap() Received signal: 2 00000007 pcscdaemon.c:771:signal_trap() Preparing for suicide 01000087 readerfactory.c:1299:RFCleanupReaders() entering cleaning function 00000009 readerfactory.c:1308:RFCleanupReaders() Stopping reader: REINER SCT cyberJack RFID komfort (8283161971) 00 00 00000009 readerfactory.c:561:RFRemoveReader() UnrefReader() count was: 1 00000003 eventhandler.c:182:EHDestroyEventHandler() Stomping thread. 00000006 eventhandler.c:211:EHDestroyEventHandler() Waiting polling thread 00348812 eventhandler.c:504:EHStatusHandlerThread() Die 00000046 eventhandler.c:222:EHDestroyEventHandler() Thread stomped. 00000017 readerfactory.c:1066:RFUnInitializeReader() Attempting shutdown of REINER SCT cyberJack RFID komfort (8283161971) 00 00. RSCT: No USB context. *** Error in `pcscd': free(): corrupted unsorted chunks: 0x0000000001e6e6c0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x730bf)[0x7f23d04e10bf] /lib64/libc.so.6(+0x7892e)[0x7f23d04e692e] /lib64/libc.so.6(+0x79636)[0x7f23d04e7636] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(+0x2cf84)[0x7f23ceafff84] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(+0x29ea6)[0x7f23ceafcea6] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(+0x29eff)[0x7f23ceafceff] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(+0x29f29)[0x7f23ceafcf29] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(_ZN7CReader9DisonnectEv+0x48)[0x7f23ceafb288] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(+0x1361a)[0x7f23ceae661a] /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so(IFDHCloseChannel+0xa9)[0x7f23ceae67f9] pcscd[0x4073ea] pcscd[0x408fed] pcscd[0x40923f] pcscd[0x40954d] pcscd[0x40a536] pcscd[0x403e07] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f23d048fb05] pcscd[0x404145] ======= Memory map: ======== 00400000-0041c000 r-xp 00000000 fe:02 217923 /usr/sbin/pcscd 0061c000-0061d000 r--p 0001c000 fe:02 217923 /usr/sbin/pcscd 0061d000-0061e000 rw-p 0001d000 fe:02 217923 /usr/sbin/pcscd 0061e000-0061f000 rw-p 00000000 00:00 0 01e4f000-01e93000 rw-p 00000000 00:00 0 [heap] 7f23b8000000-7f23b8021000 rw-p 00000000 00:00 0 7f23b8021000-7f23bc000000 ---p 00000000 00:00 0 7f23bf7ff000-7f23bf800000 ---p 00000000 00:00 0 7f23bf800000-7f23c0000000 rw-p 00000000 00:00 0 [stack:26724] 7f23c0000000-7f23c0021000 rw-p 00000000 00:00 0 7f23c0021000-7f23c4000000 ---p 00000000 00:00 0 7f23c4000000-7f23c4024000 rw-p 00000000 00:00 0 7f23c4024000-7f23c8000000 ---p 00000000 00:00 0 7f23c8000000-7f23c8021000 rw-p 00000000 00:00 0 7f23c8021000-7f23cc000000 ---p 00000000 00:00 0 7f23cc097000-7f23cc098000 ---p 00000000 00:00 0 7f23cc098000-7f23cc898000 rw-p 00000000 00:00 0 7f23cc898000-7f23cc899000 ---p 00000000 00:00 0 7f23cc899000-7f23cd099000 rw-p 00000000 00:00 0 [stack:26602] 7f23cd099000-7f23cd09a000 ---p 00000000 00:00 0 7f23cd09a000-7f23cd89a000 rw-p 00000000 00:00 0 7f23cd89a000-7f23cd89b000 ---p 00000000 00:00 0 7f23cd89b000-7f23ce09b000 rw-p 00000000 00:00 0 [stack:26600] 7f23ce09b000-7f23ce19b000 r-xp 00000000 fe:02 1745009 /lib64/libm-2.19.so 7f23ce19b000-7f23ce39a000 ---p 00100000 fe:02 1745009 /lib64/libm-2.19.so 7f23ce39a000-7f23ce39b000 r--p 000ff000 fe:02 1745009 /lib64/libm-2.19.so 7f23ce39b000-7f23ce39c000 rw-p 00100000 fe:02 1745009 /lib64/libm-2.19.so 7f23ce39c000-7f23ce3b2000 r-xp 00000000 fe:02 1744931 /lib64/libgcc_s.so.1 7f23ce3b2000-7f23ce5b1000 ---p 00016000 fe:02 1744931 /lib64/libgcc_s.so.1 7f23ce5b1000-7f23ce5b2000 r--p 00015000 fe:02 1744931 /lib64/libgcc_s.so.1 7f23ce5b2000-7f23ce5b3000 rw-p 00016000 fe:02 1744931 /lib64/libgcc_s.so.1 7f23ce5b3000-7f23ce69d000 r-xp 00000000 fe:02 164854 /usr/lib64/libstdc++.so.6.0.19 7f23ce69d000-7f23ce89c000 ---p 000ea000 fe:02 164854 /usr/lib64/libstdc++.so.6.0.19 7f23ce89c000-7f23ce8a4000 r--p 000e9000 fe:02 164854 /usr/lib64/libstdc++.so.6.0.19 7f23ce8a4000-7f23ce8a6000 rw-p 000f1000 fe:02 164854 /usr/lib64/libstdc++.so.6.0.19 7f23ce8a6000-7f23ce8bb000 rw-p 00000000 00:00 0 7f23ce8bb000-7f23ce8d2000 r-xp 00000000 fe:02 166017 /usr/lib64/libusb-1.0.so.0.1.0 7f23ce8d2000-7f23cead1000 ---p 00017000 fe:02 166017 /usr/lib64/libusb-1.0.so.0.1.0 7f23cead1000-7f23cead2000 r--p 00016000 fe:02 166017 /usr/lib64/libusb-1.0.so.0.1.0 7f23cead2000-7f23cead3000 rw-p 00017000 fe:02 166017 /usr/lib64/libusb-1.0.so.0.1.0 7f23cead3000-7f23ceb10000 r-xp 00000000 fe:02 174369 /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so.6.0.0 7f23ceb10000-7f23ced0f000 ---p 0003d000 fe:02 174369 /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so.6.0.0 7f23ced0f000-7f23ced14000 r--p 0003c000 fe:02 174369 /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so.6.0.0 7f23ced14000-7f23ced15000 rw-p 00041000 fe:02 174369 /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so.6.0.0 7f23ced15000-7f23ced25000 r-xp 00000000 fe:02 166024 /usr/lib64/libgpg-error.so.0.12.1 7f23ced25000-7f23cef24000 ---p 00010000 fe:02 166024 /usr/lib64/libgpg-error.so.0.12.1 7f23cef24000-7f23cef25000 r--p 0000f000 fe:02 166024 /usr/lib64/libgpg-error.so.0.12.1 7f23cef25000-7f23cef26000 rw-p 00010000 fe:02 166024 /usr/lib64/libgpg-error.so.0.12.1 7f23cef26000-7f23cf000000 r-xp 00000000 fe:02 166004 /usr/lib64/libgcrypt.so.20.0.1 7f23cf000000-7f23cf200000 ---p 000da000 fe:02 166004 /usr/lib64/libgcrypt.so.20.0.1 7f23cf200000-7f23cf201000 r--p 000da000 fe:02 166004 /usr/lib64/libgcrypt.so.20.0.1 7f23cf201000-7f23cf20a000 rw-p 000db000 fe:02 166004 /usr/lib64/libgcrypt.so.20.0.1 7f23cf20a000-7f23cf22f000 r-xp 00000000 fe:02 164681 /usr/lib64/liblzma.so.5.0.7 7f23cf22f000-7f23cf42e000 ---p 00025000 fe:02 164681 /usr/lib64/liblzma.so.5.0.7 7f23cf42e000-7f23cf42f000 r--p 00024000 fe:02 164681 /usr/lib64/liblzma.so.5.0.7 7f23cf42f000-7f23cf430000 rw-p 00025000 fe:02 164681 /usr/lib64/liblzma.so.5.0.7 7f23cf430000-7f23cf444000 r-xp 00000000 fe:02 1745002 /lib64/libresolv-2.19.so 7f23cf444000-7f23cf643000 ---p 00014000 fe:02 1745002 /lib64/libresolv-2.19.so 7f23cf643000-7f23cf644000 r--p 00013000 fe:02 1745002 /lib64/libresolv-2.19.so 7f23cf644000-7f23cf645000 rw-p 00014000 fe:02 1745002 /lib64/libresolv-2.19.so 7f23cf645000-7f23cf647000 rw-p 00000000 00:00 0 7f23cf647000-7f23cf668000 r-xp 00000000 fe:02 1744899 /lib64/libselinux.so.1 7f23cf668000-7f23cf867000 ---p 00021000 fe:02 1744899 /lib64/libselinux.so.1 7f23cf867000-7f23cf868000 r--p 00020000 fe:02 1744899 /lib64/libselinux.so.1 7f23cf868000-7f23cf869000 rw-p 00021000 fe:02 1744899 /lib64/libselinux.so.1 7f23cf869000-7f23cf86b000 rw-p 00000000 00:00 0 7f23cf86b000-7f23cf880000 r-xp 00000000 fe:02 1744983 /lib64/libz.so.1.2.8 7f23cf880000-7f23cfa7f000 ---p 00015000 fe:02 1744983 /lib64/libz.so.1.2.8 7f23cfa7f000-7f23cfa80000 r--p 00014000 fe:02 1744983 /lib64/libz.so.1.2.8 7f23cfa80000-7f23cfa81000 rw-p 00015000 fe:02 1744983 /lib64/libz.so.1.2.8 7f23cfa81000-7f23cfa84000 r-xp 00000000 fe:02 164818 /usr/lib64/libgmodule-2.0.so.0.4200.0 7f23cfa84000-7f23cfc83000 ---p 00003000 fe:02 164818 /usr/lib64/libgmodule-2.0.so.0.4200.0 7f23cfc83000-7f23cfc84000 r--p 00002000 fe:02 164818 /usr/lib64/libgmodule-2.0.so.0.4200.0 7f23cfc84000-7f23cfc85000 rw-p 00003000 fe:02 164818 /usr/lib64/libgmodule-2.0.so.0.4200.0 7f23cfc85000-7f23cfcee000 r-xp 00000000 fe:02 165975 /usr/lib64/libpcre.so.1.2.3 7f23cfcee000-7f23cfeed000 ---p 00069000 fe:02 165975 /usr/lib64/libpcre.so.1.2.3 7f23cfeed000-7f23cfeee000 r--p 00068000 fe:02 165975 /usr/lib64/libpcre.so.1.2.3 7f23cfeee000-7f23cfeef000 rw-p 00069000 fe:02 165975 /usr/lib64/libpcre.so.1.2.3 7f23cfeef000-7f23cfef6000 r-xp 00000000 fe:02 166060 /usr/lib64/libffi.so.4.0.1 7f23cfef6000-7f23d00f5000 ---p 00007000 fe:02 166060 /usr/lib64/libffi.so.4.0.1 7f23d00f5000-7f23d00f6000 r--p 00006000 fe:02 166060 /usr/lib64/libffi.so.4.0.1 7f23d00f6000-7f23d00f7000 rw-p 00007000 fe:02 166060 /usr/lib64/libffi.so.4.0.1 7f23d00f7000-7f23d0267000 r-xp 00000000 fe:02 164820 /usr/lib64/libgio-2.0.so.0.4200.0 7f23d0267000-7f23d0466000 ---p 00170000 fe:02 164820 /usr/lib64/libgio-2.0.so.0.4200.0 7f23d0466000-7f23d046a000 r--p 0016f000 fe:02 164820 /usr/lib64/libgio-2.0.so.0.4200.0 7f23d046a000-7f23d046c000 rw-p 00173000 fe:02 164820 /usr/lib64/libgio-2.0.so.0.4200.0 7f23d046c000-7f23d046e000 rw-p 00000000 00:00 0 7f23d046e000-7f23d060c000 r-xp 00000000 fe:02 1744997 /lib64/libc-2.19.so 7f23d060c000-7f23d080c000 ---p 0019e000 fe:02 1744997 /lib64/libc-2.19.so 7f23d080c000-7f23d0810000 r--p 0019e000 fe:02 1744997 /lib64/libc-2.19.so 7f23d0810000-7f23d0812000 rw-p 001a2000 fe:02 1744997 /lib64/libc-2.19.so 7f23d0812000-7f23d0816000 rw-p 00000000 00:00 0 7f23d0816000-7f23d082e000 r-xp 00000000 fe:02 1744994 /lib64/libpthread-2.19.so 7f23d082e000-7f23d0a2d000 ---p 00018000 fe:02 1744994 /lib64/libpthread-2.19.so 7f23d0a2d000-7f23d0a2e000 r--p 00017000 fe:02 1744994 /lib64/libpthread-2.19.so 7f23d0a2e000-7f23d0a2f000 rw-p 00018000 fe:02 1744994 /lib64/libpthread-2.19.so 7f23d0a2f000-7f23d0a33000 rw-p 00000000 00:00 0 7f23d0a33000-7f23d0a3a000 r-xp 00000000 fe:02 1745034 /lib64/librt-2.19.so 7f23d0a3a000-7f23d0c39000 ---p 00007000 fe:02 1745034 /lib64/librt-2.19.so 7f23d0c39000-7f23d0c3a000 r--p 00006000 fe:02 1745034 /lib64/librt-2.19.so 7f23d0c3a000-7f23d0c3b000 rw-p 00007000 fe:02 1745034 /lib64/librt-2.19.so 7f23d0c3b000-7f23d0c3e000 r-xp 00000000 fe:02 1744984 /lib64/libdl-2.19.so 7f23d0c3e000-7f23d0e3d000 ---p 00003000 fe:02 1744984 /lib64/libdl-2.19.so 7f23d0e3d000-7f23d0e3e000 r--p 00002000 fe:02 1744984 /lib64/libdl-2.19.so 7f23d0e3e000-7f23d0e3f000 rw-p 00003000 fe:02 1744984 /lib64/libdl-2.19.so 7f23d0e3f000-7f23d0f4b000 r-xp 00000000 fe:02 165984 /usr/lib64/libglib-2.0.so.0.4200.0 7f23d0f4b000-7f23d114a000 ---p 0010c000 fe:02 165984 /usr/lib64/libglib-2.0.so.0.4200.0 7f23d114a000-7f23d114b000 r--p 0010b000 fe:02 165984 /usr/lib64/libglib-2.0.so.0.4200.0 7f23d114b000-7f23d114c000 rw-p 0010c000 fe:02 165984 /usr/lib64/libglib-2.0.so.0.4200.0 7f23d114c000-7f23d114d000 rw-p 00000000 00:00 0 7f23d114d000-7f23d119c000 r-xp 00000000 fe:02 166018 /usr/lib64/libgobject-2.0.so.0.4200.0 7f23d119c000-7f23d139c000 ---p 0004f000 fe:02 166018 /usr/lib64/libgobject-2.0.so.0.4200.0 7f23d139c000-7f23d139d000 r--p 0004f000 fe:02 166018 /usr/lib64/libgobject-2.0.so.0.4200.0 7f23d139d000-7f23d139e000 rw-p 00050000 fe:02 166018 /usr/lib64/libgobject-2.0.so.0.4200.0 7f23d139e000-7f23d13b9000 r-xp 00000000 fe:02 166093 /usr/lib64/libpolkit-gobject-1.so.0.0.0 7f23d13b9000-7f23d15b9000 ---p 0001b000 fe:02 166093 /usr/lib64/libpolkit-gobject-1.so.0.0.0 7f23d15b9000-7f23d15ba000 r--p 0001b000 fe:02 166093 /usr/lib64/libpolkit-gobject-1.so.0.0.0 7f23d15ba000-7f23d15bb000 rw-p 0001c000 fe:02 166093 /usr/lib64/libpolkit-gobject-1.so.0.0.0 7f23d15bb000-7f23d15db000 r-xp 00000000 fe:02 1744933 /lib64/ld-2.19.so 7f23d1773000-7f23d177a000 rw-p 00000000 00:00 0 7f23d177a000-7f23d17a4000 r-xp 00000000 fe:02 166008 /usr/lib64/libsystemd.so.0.0.1 7f23d17a4000-7f23d17a5000 ---p 0002a000 fe:02 166008 /usr/lib64/libsystemd.so.0.0.1 7f23d17a5000-7f23d17a6000 r--p 0002a000 fe:02 166008 /usr/lib64/libsystemd.so.0.0.1 7f23d17a6000-7f23d17a7000 rw-p 0002b000 fe:02 166008 /usr/lib64/libsystemd.so.0.0.1 7f23d17a7000-7f23d17aa000 rw-p 00000000 00:00 0 7f23d17aa000-7f23d17be000 r-xp 00000000 fe:02 164815 /usr/lib64/libudev.so.1.4.0 7f23d17be000-7f23d17bf000 r--p 00013000 fe:02 164815 /usr/lib64/libudev.so.1.4.0 7f23d17bf000-7f23d17c0000 rw-p 00014000 fe:02 164815 /usr/lib64/libudev.so.1.4.0 7f23d17d8000-7f23d17db000 rw-p 00000000 00:00 0 7f23d17db000-7f23d17dc000 r--p 00020000 fe:02 1744933 /lib64/ld-2.19.so 7f23d17dc000-7f23d17dd000 rw-p 00021000 fe:02 1744933 /lib64/ld-2.19.so 7f23d17dd000-7f23d17de000 rw-p 00000000 00:00 0 7fffd61a3000-7fffd61c4000 rw-p 00000000 00:00 0 [stack] 7fffd61fc000-7fffd61fe000 r-xp 00000000 00:00 0 [vdso] 7fffd61fe000-7fffd6200000 r--p 00000000 00:00 0 [vvar] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Abgebrochen --- The effect is repeatable. I also have a core dump: [...] warning: /etc/gdbinit.d/gdb-heap.py: Datei oder Verzeichnis nicht gefunden Reading symbols from pcscd...(no debugging symbols found)...done. [New LWP 26977] [New LWP 26980] [New LWP 26982] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `pcscd -f -d'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f6d1212d187 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: zypper install pcsc-lite-debuginfo-1.8.11-4.4.1.x86_64 (gdb) bt #0 0x00007f6d1212d187 in raise () from /lib64/libc.so.6 #1 0x00007f6d1212e538 in abort () from /lib64/libc.so.6 #2 0x00007f6d1216b0c4 in __libc_message () from /lib64/libc.so.6 #3 0x00007f6d1217092e in malloc_printerr () from /lib64/libc.so.6 #4 0x00007f6d12171636 in _int_free () from /lib64/libc.so.6 #5 0x00007f6d10789f84 in ?? () from /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so #6 0x00007f6d10786ea6 in ?? () from /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so #7 0x00007f6d10786eff in ?? () from /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so #8 0x00007f6d10786f29 in ?? () from /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so #9 0x00007f6d10785288 in CReader::Disonnect() () from /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so #10 0x00007f6d1077061a in ?? () from /usr/lib64/readers/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so ---Type <return> to continue, or q <return> to quit---q Quit (gdb) info threads Id Target Id Frame 3 Thread 0x7f6d0ed22700 (LWP 26982) 0x00007f6d121d6a63 in select () from /lib64/libc.so.6 2 Thread 0x7f6d0fd24700 (LWP 26980) 0x00007f6d121d53cd in poll () from /lib64/libc.so.6 * 1 Thread 0x7f6d133fd840 (LWP 26977) 0x00007f6d1212d187 in raise () from /lib64/libc.so.6 (gdb) thread 2 [Switching to thread 2 (Thread 0x7f6d0fd24700 (LWP 26980))] #0 0x00007f6d121d53cd in poll () from /lib64/libc.so.6 (gdb) bt #0 0x00007f6d121d53cd in poll () from /lib64/libc.so.6 #1 0x00007f6d10554268 in ?? () from /usr/lib64/libusb-1.0.so.0 #2 0x00007f6d124a80a4 in start_thread () from /lib64/libpthread.so.0 #3 0x00007f6d121dd7fd in clone () from /lib64/libc.so.6 (gdb) thread 3 [Switching to thread 3 (Thread 0x7f6d0ed22700 (LWP 26982))] #0 0x00007f6d121d6a63 in select () from /lib64/libc.so.6 (gdb) bt #0 0x00007f6d121d6a63 in select () from /lib64/libc.so.6 #1 0x000000000040f04b in ?? () #2 0x00007f6d124a80a4 in start_thread () from /lib64/libpthread.so.0 #3 0x00007f6d121dd7fd in clone () from /lib64/libc.so.6 (gdb) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@suse.com Assignee|bnc-team-screening@forge.pr |wolfgang@rosenauer.org |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Ulrich.Windl@rz.uni-regensb | |urg.de Flags| |needinfo?(Ulrich.Windl@rz.u | |ni-regensburg.de) --- Comment #1 from Stanislav Brabec <sbrabec@suse.com> --- It looks like a memory corruption in the pcsc-cyberjack. As I don't have the reader, I cannot reproduce. (Only Wolfgang can.) Could you try to create the dump again, with the proposed debuginfo package: zypper install pcsc-lite-debuginfo-1.8.11-4.4.1.x86_64 Stopping the pcscd and then starting it with valgrind could also provide location of the problem: killall pcscd valgrind --log-file=pcscd.log /usr/sbin/pcscd --foreground --auto-exit (It will run very slowly.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(Ulrich.Windl@rz.u | |ni-regensburg.de) | --- Comment #2 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- I was able to run pcscd with valgrind, and I got a "Invalid read of size 4". It seems when doing a full memory check with valgrind may prevent pcscd from existing after entering ^C, but I'm not quite sure: Maybe some other bug in pcscd is causing this. gdb complained that the CRC of the debug info would not match the binary, but I'll attach my test log anyway. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 --- Comment #3 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Created attachment 616504 --> http://bugzilla.opensuse.org/attachment.cgi?id=616504&action=edit Log of test runs (using valgrind and gdb) I ran "valgrind --leak-check=full", getting "free(): corrupted unsorted chunks", and I saved a core dump (analyzed with gdb), giving this backtrace: (gdb) bt #0 0x00007f37bb2c5187 in raise () from /lib64/libc.so.6 #1 0x00007f37bb2c6538 in abort () from /lib64/libc.so.6 #2 0x00007f37bb3030c4 in __libc_message () from /lib64/libc.so.6 #3 0x00007f37bb30892e in malloc_printerr () from /lib64/libc.so.6 #4 0x00007f37bb309636 in _int_free () from /lib64/libc.so.6 #5 0x00007f37b9120f84 in ausb_close (ah=0x7f37b4006890) at ausb.c:178 #6 0x00007f37b911dea6 in CUSBUnix::Close (this=0x7f37b4004d20) at USBUnix.cpp:396 #7 0x00007f37b911deff in CUSBUnix::~CUSBUnix (this=0x7f37b4004d20, __in_chrg=<optimized out>) at USBUnix.cpp:161 #8 0x00007f37b911df29 in CUSBUnix::~CUSBUnix (this=0x7f37b4004d20, __in_chrg=<optimized out>) at USBUnix.cpp:162 #9 0x00007f37b911c288 in CReader::Disonnect (this=0x7f37b4007e80) at Reader.cpp:187 #10 0x00007f37b910761a in IFDHandler::closeChannel (this=this@entry=0x7f37b9335500 <rsct_ifd_handler>, Lun=Lun@entry=0) at ifd.cpp:643 #11 0x00007f37b91077f9 in IFDHCloseChannel (Lun=0) at ifd.cpp:1506 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #4 from Stanislav Brabec <sbrabec@suse.com> --- Thanks. The good: We are not alone with this problem: https://bugs.launchpad.net/ubuntu/+source/pcsc-cyberjack/+bug/1323795 https://bugzilla.redhat.com/show_bug.cgi?id=1071242 The bad: Nobody has a fix yet and upstream did not release any new version yet. The problem is caused by a memory corruption. The place of the crash is not the place, where the bug was introduced. It is not easy to find it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 --- Comment #5 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- I'm trying to contact the upstream maintainer of the cyberjack driver and see if he can help here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 --- Comment #6 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- The following change in libusb broke it apparently: commit 6853291ed0c7a783d01be3f8813988fc6e5c5ac3 Author: Nathan Hjelm <hjelmn@me.com> Date: Thu Nov 29 16:14:03 2012 -0700 Add hotplug support to the Linux backend. There are two ways to configure hotplug support for Linux: udev, and netlink. It is strongly recommened that udev support is used on systems that utilize udev. We reenforce this recommendation by defaulting to --with-udev=yes at configure time. To enable netlink support run configure with --with-udev=no. If udev support is enabled all device enumeration is done with udev. Signed-off-by: Hans de Goede <hdegoede@redhat.com> I've got some feedback from upstream that there is currently no solution available as it's caused by conflicting resource sharing which is now implemented in libusb but also in the cyberjack driver. Just removing the cyberjack implementation does not fix the issue but causes a different error. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 --- Comment #7 from Stanislav Brabec <sbrabec@suse.com> --- Could you please confirm that your reader has following USB identification? 0c4b Reiner SCT Kartensysteme GmbH 0501 cyberJack RFID comfort dual interface smartcard reader (use lsusb command) Looking at the code, there is several very similar drivers in cyberjack-SP05/cjeca32. USBUnix.cpp branches it depending on model. For this model, you get usbMode == 1. USE_USB1 is set, so ausb11.c is used to handle this reader with libusb1. So the action that caused or immediately preceded the crash was ausb11_close() from SP05/cjeca32/ausb11.c. The code needs further investigation. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 --- Comment #8 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Sorry for the delay: Yes the USB device ID is 0c4b:0501, and the device is "REINER SCT cyberJack RFID komfort" (as obvious from comment #0). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908092 http://bugzilla.opensuse.org/show_bug.cgi?id=908092#c9 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- This is fixed at least in SP11 of the cyberjack driver. Haven't tested SP10 as in Leap currently. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com