Package: beidgui
Version: 2.5.9-7
Severity: important

I use an ACR38U card reader.
If I use the card reader I get crashes (segmentation fault):
- iceweasel crashes from the moment I push the identity card in the card reader
- beidgui crashes when I enter the read button if the identity card is in the 
card reader
- beid-tool crashes when the identity card is in the card reader.

$ beid-tool --name
Card not present.

$ beid-tool --name
Connecting to card in reader PertoSmart EMV (AC1038, USB)...
Segmentatie fout 

In /var/log/syslog I found:
Jun 3 12:26:05 panter ifdhandler[11313]: ps_open: failed to open device:
Jun 3 12:26:05 panter ifdhandler[11313]: usb:/dev/usbdev1.3_ep00: 
initialization failed (driver 
pertosmart1038)
Jun 3 12:26:06 panter pcscd: eventhandler.c:166:EHSpawnEventHandler() Initial 
Check Failed on ACS 
ACR38U 00 00
Jun 3 12:26:07 panter ifdhandler[11371]: usb_claiminterface failed: Device or 
resource busy
Jun 3 12:26:07 panter ifdhandler[11371]: usb:/dev/bus/usb/001/003: 
initialization failed (driver 
pertosmart1038)

I rebuilt the belpic source package with symbols and got the following output 
at the moment of the 
crash:

#0  0xffffffffab631700 in ?? ()
#1  0x00002b69cfd789b1 in sc_get_belpic_driver () from 
/usr/lib/libbeidlibopensc.so.2
#2  0x00002b69cfd7d455 in sc_connect_card () from /usr/lib/libbeidlibopensc.so.2
#3  0x00002b69cfc5a150 in COpenSCReader::Connect () from /usr/lib/libbeid.so.2
#4  0x00002b69cfc52dd0 in CBEIDApp::Init () from /usr/lib/libbeid.so.2
#5  0x00002b69cfc56bd0 in BEID_InitEx () from /usr/lib/libbeid.so.2
#6  0x0000000000416dab in wxThreadHelperThread::~wxThreadHelperThread ()
#7  0x0000000000418fb3 in wxFontEnumerator::OnFontEncoding ()
#8  0x00002b69cfac73af in wxEvtHandler::ProcessEventIfMatches () from 
/usr/lib/libwx_baseu-2.6.so.0
#9  0x00002b69cfac754e in wxEventHashTable::HandleEvent () from 
/usr/lib/libwx_baseu-2.6.so.0
#10 0x00002b69cfac7699 in wxEvtHandler::ProcessEvent () from 
/usr/lib/libwx_baseu-2.6.so.0
#11 0x00002b69cf5b9725 in wxWindowBase::TryParent () from 
/usr/lib/libwx_gtk2u_core-2.6.so.0
#12 0x00002b69cfac7640 in wxEvtHandler::ProcessEvent () from 
/usr/lib/libwx_baseu-2.6.so.0
#13 0x00002b69cf5b0d87 in wxToolBarBase::OnLeftClick () from 
/usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0x00002b69cf5496a4 in wxToolBar::CreateTool () from 
/usr/lib/libwx_gtk2u_core-2.6.so.0
#15 0x00002b69d290a479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0x00002b69d2919ae1 in g_signal_chain_from_overridden () from 
/usr/lib/libgobject-2.0.so.0
#17 0x00002b69d291ad95 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#18 0x00002b69d291af73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x00002b69d1f38f59 in gtk_button_set_alignment () from 
/usr/lib/libgtk-x11-2.0.so.0
#20 0x00002b69d290a479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0x00002b69d291976d in g_signal_chain_from_overridden () from 
/usr/lib/libgobject-2.0.so.0
#22 0x00002b69d291ad95 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#23 0x00002b69d291af73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x00002b69d1f37ae9 in gtk_button_released () from 
/usr/lib/libgtk-x11-2.0.so.0
#25 0x00002b69d1ff264d in _gtk_marshal_BOOLEAN__BOXED () from 
/usr/lib/libgtk-x11-2.0.so.0
#26 0x00002b69d290a479 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x00002b69d2919c7f in g_signal_chain_from_overridden () from 
/usr/lib/libgobject-2.0.so.0
#28 0x00002b69d291ab5e in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#29 0x00002b69d291af73 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x00002b69d20c8e4e in gtk_widget_get_default_style () from 
/usr/lib/libgtk-x11-2.0.so.0
#31 0x00002b69d1fec2ae in gtk_propagate_event () from 
/usr/lib/libgtk-x11-2.0.so.0
#32 0x00002b69d1fed357 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x00002b69d233552c in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0
#34 0x00002b69d2c74913 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#35 0x00002b69d2c7775d in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#36 0x00002b69d2c77a46 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#37 0x00002b69d1fed6b2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x00002b69cf4c92e1 in wxEventLoop::Run () from 
/usr/lib/libwx_gtk2u_core-2.6.so.0
#39 0x00002b69cf5511ab in wxAppBase::MainLoop () from 
/usr/lib/libwx_gtk2u_core-2.6.so.0
#40 0x00002b69cfa7741c in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#41 0x0000000000411f5e in wxThreadHelperThread::~wxThreadHelperThread ()
#42 0x00002b69d07a64ca in __libc_start_main () from /lib/libc.so.6
#43 0x0000000000410cda in ?? ()
#44 0x00007fffdcd2e698 in ?? ()
#45 0x0000000000000000 in ?? ()
(gdb)

STACK#1
-------------

pGuiRemoveMsg = (SCGUI_REMOVE_MESSAGE)scdl_get_address(modgui, 
"scgui_remove_message");
        pGuiAskMsg = (SCGUI_ASK_MESSAGE)scdl_get_address(modgui, 
"scgui_ask_message");
        if(pGuiInit)
        {
==>            i = pGuiInit();
        }
    }
    else


(gdb) print pGuiInit
$4 = (SCGUI_INIT) 0xffffffffab7ab700

STACK#2
--------------

        {
            struct sc_card_operations tOps = {0};
            memcpy(card->ops, &tOps, sizeof(struct sc_card_operations));
                    card->driver = NULL;
                        continue;
        }
                if (ctx->debug >= 3)
                        sc_debug(ctx, "matched: %s\n", drv->name);
   
==>        r = ops->init(card);
                if (r) {
                        sc_error(ctx, "driver '%s' init() failed: %s\n", 
drv->name,
                              sc_strerror(r));
                        if (r == SC_ERROR_INVALID_CARD) {
                                card->driver = NULL;
                                continue; 

Note: Linux 2.6.18-4-amd64-k8-bs is the standard kernel + bootsplash patch + 
optimized for amd64 
instead of the generic 64.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64-k8-bs
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages beidgui depends on:
ii  libbeid2                    2.5.9-7      library to read identity informati
ii  libbeidlibopensc2           2.5.9-7      belgian eID PKCS11 library
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libqt3-mt                   3:3.3.7-4    Qt GUI Library (Threaded runtime v
ii  libssl0.9.8                 0.9.8c-4     SSL shared libraries
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3
ii  libwxbase2.6-0              2.6.3.2.1.5  wxBase library (runtime) - non-GUI
ii  libwxgtk2.6-0               2.6.3.2.1.5  wxWidgets Cross-platform C++ GUI t

beidgui recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to