I just upgraded to the latest version of pcsc-lite and know I have a
problem when I run muscleTool.

First thing was that the services folder that muscleTool is looking for
didn't exist so I copied that in. I also found that bundleTool wasn't
putting anything into that folder so I searched my system and found a
Info.plist file that had the ATR that I needed. I found it in:

/usr/services/mscMuscleCard.bundle/Contents/Info.plist

I first copied the Info.plist to

/usr/local/pcsc/services/

and when I looked for tokens it said no valid tokens found.

As a side note testpcsc runs just fine.

So I tried creating the folders
/usr/local/pcsc/services/mscMuscleCard.bundle/Contents and placing the
file in there.

Then when I run try to list the tokens I get a corrupted memory error:

muscleTool > tokens
*** glibc detected *** muscleTool: malloc(): memory corruption:
0x0000000000511350 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b36a2e9134e]
/lib64/libc.so.6[0x2b36a2e932d4]
/lib64/libc.so.6(malloc+0x86)[0x2b36a2e94d36]
/lib64/libc.so.6[0x2b36a2e8325a]
/usr/local/lib/libpcsclite.so.1[0x2b36a2d21df9]
/usr/local/lib/libpcsclite.so.1[0x2b36a2d1e2be]
/usr/local/lib/libpcsclite.so.1(SCardGetStatusChange+0x48)[0x2b36a2d20018]
/usr/lib64/libmusclecard.so.1(MSCListTokens+0x144)[0x2b36a2c14c74]
muscleTool[0x4081ba]
muscleTool[0x4025e2]
muscleTool[0x402cc8]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2b36a2e43154]
muscleTool[0x4020e9]
======= Memory map: ========
00400000-00410000 r-xp 00000000 68:02 123328                            
/usr/local/bin/muscleTool
00510000-00511000 rw-p 00010000 68:02 123328                            
/usr/local/bin/muscleTool
00511000-00532000 rw-p 00511000 00:00 0                                 
[heap]
2b36a2af4000-2b36a2b0f000 r-xp 00000000 68:02 15744                     
/lib64/ld-2.4.so
2b36a2b0f000-2b36a2b12000 rw-p 2b36a2b0f000 00:00 0
2b36a2b12000-2b36a2b22000 r--s 00000000 68:02 120411                    
/var/run/pcscd/pcscd.pub
2b36a2b29000-2b36a2b2a000 rw-p 2b36a2b29000 00:00 0
2b36a2c0e000-2b36a2c10000 rw-p 0001a000 68:02 15744                     
/lib64/ld-2.4.so
2b36a2c10000-2b36a2c1a000 r-xp 00000000 68:02 123248                    
/usr/lib64/libmusclecard.so.1.0.0
2b36a2c1a000-2b36a2d1a000 ---p 0000a000 68:02 123248                    
/usr/lib64/libmusclecard.so.1.0.0
2b36a2d1a000-2b36a2d1b000 rw-p 0000a000 68:02 123248                    
/usr/lib64/libmusclecard.so.1.0.0
2b36a2d1b000-2b36a2d24000 r-xp 00000000 68:02 861275                    
/usr/local/lib/libpcsclite.so.1.0.0
2b36a2d24000-2b36a2e24000 ---p 00009000 68:02 861275                    
/usr/local/lib/libpcsclite.so.1.0.0
2b36a2e24000-2b36a2e25000 rw-p 00009000 68:02 861275                    
/usr/local/lib/libpcsclite.so.1.0.0
2b36a2e25000-2b36a2e26000 rw-p 2b36a2e25000 00:00 0
2b36a2e26000-2b36a2f4d000 r-xp 00000000 68:02 15751                     
/lib64/libc-2.4.so
2b36a2f4d000-2b36a304d000 ---p 00127000 68:02 15751                     
/lib64/libc-2.4.so
2b36a304d000-2b36a3050000 r--p 00127000 68:02 15751                     
/lib64/libc-2.4.so
2b36a3050000-2b36a3052000 rw-p 0012a000 68:02 15751                     
/lib64/libc-2.4.so
2b36a3052000-2b36a3058000 rw-p 2b36a3052000 00:00 0
2b36a3058000-2b36a306a000 r-xp 00000000 68:02 15777                     
/lib64/libpthread-2.4.so
2b36a306a000-2b36a3169000 ---p 00012000 68:02 15777                     
/lib64/libpthread-2.4.so
2b36a3169000-2b36a316b000 rw-p 00011000 68:02 15777                     
/lib64/libpthread-2.4.so
2b36a316b000-2b36a316f000 rw-p 2b36a316b000 00:00 0
2b36a316f000-2b36a3171000 r-xp 00000000 68:02 15757                     
/lib64/libdl-2.4.so
2b36a3171000-2b36a3271000 ---p 00002000 68:02 15757                     
/lib64/libdl-2.4.so
2b36a3271000-2b36a3273000 rw-p 00002000 68:02 15757                     
/lib64/libdl-2.4.so
2b36a3273000-2b36a3275000 rw-p 2b36a3273000 00:00 0
2b36a3300000-2b36a3321000 rw-p 2b36a3300000 00:00 0
2b36a3321000-2b36a3400000 ---p 2b36a3321000 00:00 0
2b36a3400000-2b36a340d000 r-xp 00000000 68:02 28630                     
/lib64/libgcc_s.so.1
2b36a340d000-2b36a350c000 ---p 0000d000 68:02 28630                     
/lib64/libgcc_s.so.1
2b36a350c000-2b36a350d000 rw-p 0000c000 68:02 28630                     
/lib64/libgcc_s.so.1
7fff07fa1000-7fff07fb6000 rw-p 7fff07fa1000 00:00 0                     
[stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                 
[vdso]
Aborted

Any ideas as to what could be going on?

Thanks,

-- 
Bram Cymet
Software Developer
Centre For Technological Innovation
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to