#8: kvkcard segfaults reading eGK
-------------------------------------------+--------------------------------
  Reporter:  Micha Lenk <[EMAIL PROTECTED]>  |       Owner:  martin  
      Type:  defect                        |      Status:  assigned
  Priority:  major                         |   Milestone:          
 Component:  autodetection                 |     Version:          
Resolution:                                |    Keywords:          
-------------------------------------------+--------------------------------
Comment (by Micha Lenk <[EMAIL PROTECTED]>):

 Just for completeness here: This is copied from the according Debian bug
 report (http://bugs.debian.org/497382):
 {{{
 (gdb) run
 Starting program: /usr/bin/kvkcard read -v -v
 [Thread debugging using libthread_db enabled]
 Connecting to server.
 Connected.
 Waiting for card...
 Found a card.
 Opening card as KVK card.
 Card is not a KVK card.
 Opening card as EGK card.
 Card is a EGK card, handling it.
 Writing data to file
 Version:libchipcard4-4.2.0.0stable
 Datum:08.09.2008
 Zeit:09:33:05
 Lesertyp:tow_cdm
 Kartentyp:Elektronische Gesundheitskarte
 [New Thread 0xb7aeb6b0 (LWP 12460)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0xb7aeb6b0 (LWP 12460)]
 0xb7eb3ac9 in LC_HIInsuranceData_GetInstitutionName (st=0x21) at
 hiinsurancedata.c:171
 171     hiinsurancedata.c: No such file or directory.
         in hiinsurancedata.c
 (gdb) bt
 #0  0xb7eb3ac9 in LC_HIInsuranceData_GetInstitutionName (st=0x21) at
 hiinsurancedata.c:171
 #1  0x08049b7b in storeCardData (fname=0x0, cd=0x8a84828, dosMode=<value
 optimized out>,
     cardType=0x804be50 "Elektronische Gesundheitskarte", cardNumber=0x0,
 pData=0xb7aeb6b0, iData=0x21) at read.c:53
 #2  0x0804abb2 in handleEgkCard (card=0x8a84828, dbArgs=0x89875a8) at
 read.c:237
 #3  0x0804b153 in handleCard (card=0x8a84828, dbArgs=0x89875a8) at
 read.c:316
 #4  0x0804b2fb in kvkRead (cl=0x8a81d00, dbArgs=0x89875a8) at read.c:384
 #5  0x0804b7f4 in main (argc=Cannot access memory at address 0x0
 ) at main.c:302
 (gdb)
 }}}

 For further tracking of this issue I suggest to look at the Debian bug
 report for any further notes on this bug. That one is easier to update
 because it accepts additional notes via mail.

-- 
Ticket URL: <https://devel.aqbanking.de/trac/libchipcard/ticket/8#comment:3>
Libchipcard <http://www.libchipcard.de/>
A library for easy access to chipcards

Reply via email to