From: SourceForge.net <no...@so...> - 2007-07-24 05:42:13
|
Bugs item #1719129, was opened at 2007-05-15 01:04 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381347&aid=1719129&group_id=24366 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: pere (pere_rd) Assigned to: Nobody/Anonymous (nobody) Summary: Scard fails on w2k3 x64 Initial Comment: Hello, I have compiled rdesktop from CVS with smartcard support enabled. I have connected to remote windows session with scard redirection activated and it runs ok, but, when I put the card on the reader rdesktop crash with the error "Segmentation fault". I have compiled rdesktop with --with-debug-smartcard flag. The partial output when I run it is this: ------------------------------------------------------------ root@estudion:/usr/local/src/rdesktop# rdesktop -r scard -u prr 192.168.1.3 ... [HANDLING TIME 1] [SMART-CARD TRACE] device 0x00000000 file 0x00000001 id 0x00000000 [SMART-CARD TRACE] OUT 0xc0000103 [THREAD COUNT 2] -------------------------------- [NTHANDLE 00000001] [REQUEST 000900AC] [INPUT DUMP]-------------------- 0000 01 10 08 00 cc cc cc cc 48 00 00 00 00 00 00 00 ........H....... 0010 30 d8 2a 00 04 00 00 00 f4 48 13 00 02 00 00 00 0.*......H...... 0020 03 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00 ................ 0030 43 33 50 4f 20 4c 54 43 33 31 20 28 31 31 30 36 C3PO LTC31 (1106 0040 31 30 30 35 29 20 30 30 20 30 30 00 04 00 00 00 1005) 00 00..... 0050 fe b6 03 01 00 00 00 00 ........ <---SCardConnect---> (ASCII) [SHARE 2] [PROTO 3] [CONNECT TO READER "C3PO LTC31 (11061005) 00 00" [CONTEXT 0x0103b6fe] [SMART-CARD TRACE] device 0x00000000 file 0x00000001 id 0x00000003 [SMART-CARD TRACE] OUT 0xc0000103 [THREAD COUNT 2] -------------------------------- [NTHANDLE 00000001] [REQUEST 000900A0] [INPUT DUMP]-------------------- 0000 01 10 08 00 cc cc cc cc 80 00 00 00 00 00 00 00 ................ 0010 04 00 00 00 54 7d 0b 00 ff ff ff ff 01 00 00 00 ....T}.......... 0020 98 c0 13 00 04 00 00 00 94 d1 03 01 01 00 00 00 ................ 0030 10 b7 2a 00 20 00 01 00 22 00 01 00 11 00 00 00 ..*. ..."....... 0040 3b b7 18 00 c0 3e 31 fe 65 53 50 4b 32 34 90 00 ;....>1.eSPK24.. 0050 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 %............... 0060 00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00 ................ 0070 43 33 50 4f 20 4c 54 43 33 31 20 28 31 31 30 36 C3PO LTC31 (1106 0080 31 30 30 35 29 20 30 30 20 30 30 00 00 00 00 00 1005) 00 00..... <---SCardGetStatusChange---> (ASCII) [CONTEXT 0x0103d194] [dwTimeout 0xffffffff] [COUNT 1] [TYPE SIZE 56] [READERS DUMP 1]------------------ 0000 00 00 00 00 00 00 00 00 20 00 01 00 22 00 01 00 ........ ..."... 0010 11 00 00 00 3b b7 18 00 c0 3e 31 fe 65 53 50 4b ....;....>1.eSPK 0020 32 34 90 00 25 00 00 00 00 00 00 00 00 00 00 00 24..%........... 0030 00 00 00 00 00 00 00 00 ........ [0] Data Length 28] [READERS DUMP 2]------------------ 0000 8c 35 3f 08 00 00 00 00 20 00 00 00 22 00 00 00 .5?..... ..."... 0010 11 00 00 00 3b b7 18 00 c0 3e 31 fe 65 53 50 4b ....;....>1.eSPK 0020 32 34 90 00 25 00 00 00 00 00 00 00 00 00 00 00 24..%........... 0030 00 00 00 00 00 00 00 00 ........ Calling SCardGetStatusChange... [TRANSLATION OF READERS]-------------------- 0000 8c 35 3f 08 00 00 00 00 20 00 00 00 22 00 00 00 .5?..... ..."... 0010 11 00 00 00 3b b7 18 00 c0 3e 31 fe 65 53 50 4b ....;....>1.eSPK 0020 32 34 90 00 25 00 00 00 00 00 00 00 00 00 00 00 24..%........... 0030 00 00 00 00 00 00 00 00 ........ [SMART-CARD TRACE] device 0x00000000 file 0x00000001 id 0x00000002 [SMART-CARD TRACE] OUT 0xc0000103 [THREAD COUNT 3] -------------------------------- [NTHANDLE 00000001] [REQUEST 000900AC] [INPUT DUMP]-------------------- 0000 01 10 08 00 cc cc cc cc 48 00 00 00 00 00 00 00 ........H....... 0010 48 19 bb 00 04 00 00 00 ec cb 14 00 02 00 00 00 H............... 0020 03 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00 ................ 0030 43 33 50 4f 20 4c 54 43 33 31 20 28 31 31 30 36 C3PO LTC31 (1106 0040 31 30 30 35 29 20 30 30 20 30 30 00 04 00 00 00 1005) 00 00..... 0050 12 b9 03 01 00 00 00 00 ........ <---SCardConnect---> (ASCII) [SHARE 2] [PROTO 3] [CONNECT TO READER "C3PO LTC31 (11061005) 00 00" [CONTEXT 0x0103b912] [SMART-CARD TRACE] device 0x00000000 file 0x00000001 id 0x00000004 [SMART-CARD TRACE] OUT 0xc0000103 [THREAD COUNT 4] -------------------------------- [NTHANDLE 00000001] [REQUEST 000900A0] [INPUT DUMP]-------------------- 0000 01 10 08 00 cc cc cc cc 80 00 00 00 00 00 00 00 ................ 0010 04 00 00 00 04 cc 14 00 ff ff ff ff 01 00 00 00 ................ 0020 10 cc 14 00 04 00 00 00 74 85 03 01 01 00 00 00 ........t....... 0030 08 46 37 00 20 00 01 00 22 00 01 00 11 00 00 00 .F7. ..."....... 0040 3b b7 18 00 c0 3e 31 fe 65 53 50 4b 32 34 90 00 ;....>1.eSPK24.. 0050 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 %............... 0060 00 00 00 00 1c 00 00 00 00 00 00 00 1c 00 00 00 ................ 0070 43 33 50 4f 20 4c 54 43 33 31 20 28 31 31 30 36 C3PO LTC31 (1106 0080 31 30 30 35 29 20 30 30 20 30 30 00 00 00 00 00 1005) 00 00..... <---SCardGetStatusChange---> (ASCII) [CONTEXT 0x01038574] [dwTimeout 0xffffffff] [COUNT 1] [TYPE SIZE 56] [READERS DUMP 1]------------------ 0000 00 00 00 00 00 00 00 00 20 00 01 00 22 00 01 00 ........ ..."... 0010 11 00 00 00 3b b7 18 00 c0 3e 31 fe 65 53 50 4b ....;....>1.eSPK 0020 32 34 90 00 25 00 00 00 00 00 00 00 00 00 00 00 24..%........... 0030 00 00 00 00 00 00 00 00 ........ [0] Data Length 28] [READERS DUMP 2]------------------ 0000 34 4a 3f 08 00 00 00 00 20 00 00 00 22 00 00 00 4J?..... ..."... 0010 11 00 00 00 3b b7 18 00 c0 3e 31 fe 65 53 50 4b ....;....>1.eSPK 0020 32 34 90 00 25 00 00 00 00 00 00 00 00 00 00 00 24..%........... 0030 00 00 00 00 00 00 00 00 ........ Calling SCardGetStatusChange... [TRANSLATION OF READERS]-------------------- 0000 34 4a 3f 08 00 00 00 00 20 00 00 00 22 00 00 00 4J?..... ..."... 0010 11 00 00 00 3b b7 18 00 c0 3e 31 fe 65 53 50 4b ....;....>1.eSPK 0020 32 34 90 00 25 00 00 00 00 00 00 00 00 00 00 00 24..%........... 0030 00 00 00 00 00 00 00 00 ........ [RECEIVED HCARD 0x0000000000017356] [MANGLED HCARD 0x00017356] <--SUCCESS ScardConnect--> [OUTPUT DUMP]------------------- 0000 01 10 08 00 cc cc cc cc 18 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 ................ 0020 34 ff 6c 01 02 00 00 00 04 00 00 00 56 73 01 00 4.l.........Vs.. -------------------------------- [HANDLING TIME 0] [SMART-CARD TRACE] device 0x00000000 file 0x00000001 id 0x00000000 [SMART-CARD TRACE] OUT 0xc0000103 [THREAD COUNT 5] -------------------------------- [NTHANDLE 00000001] [REQUEST 000900D0] [INPUT DUMP]-------------------- 0000 01 10 08 00 cc cc cc cc 58 00 00 00 00 00 00 00 ........X....... 0010 04 00 00 00 f4 48 13 00 04 00 00 00 2c 5e 0b 00 .....H......,^.. 0020 02 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 ................ 0030 20 0b 76 01 c0 f6 45 01 00 00 00 00 03 00 00 00 .v...E......... 0040 04 00 00 00 fe b6 03 01 04 00 00 00 56 73 01 00 ............Vs.. 0050 05 00 00 00 00 70 00 00 01 00 00 00 02 00 00 00 .....p.......... 0060 00 00 00 00 00 00 00 00 ........ <---SCardTransmit---> ++++++++++ [SEND LEN = 5] [RECV LEN = 3] [hCard = 0x00017356] [myHCard = 0x0000000000017356] [pioSendPci] 0000 02 00 00 00 08 00 00 00 ........ [pioRecvPci] 0000 02 00 00 00 08 00 00 00 ........ [sendBuf] 0000 00 70 00 00 01 .p... ++++++++++ [RECEIVED HCARD 0x000000000001b4d8] [MANGLED HCARD 0x0001b4d8] <--SUCCESS ScardConnect--> [OUTPUT DUMP]------------------- 0000 01 10 08 00 cc cc cc cc 18 00 00 00 00 00 00 00 ................ 0010 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 ................ 0020 34 ff 6c 01 02 00 00 00 04 00 00 00 d8 b4 01 00 4.l............. -------------------------------- [HANDLING TIME 0] [SMART-CARD TRACE] device 0x00000000 file 0x00000001 id 0x00000002 [SMART-CARD TRACE] OUT 0xc0000103 [THREAD COUNT 5] -------------------------------- [NTHANDLE 00000001] [REQUEST 000900D0] [INPUT DUMP]-------------------- 0000 01 10 08 00 cc cc cc cc 58 00 00 00 00 00 00 00 ........X....... 0010 04 00 00 00 ec cb 14 00 04 00 00 00 e4 bd 14 00 ................ 0020 02 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 ................ 0030 b8 1a bb 00 70 f6 12 00 00 00 00 00 03 00 00 00 ....p........... 0040 04 00 00 00 12 b9 03 01 04 00 00 00 d8 b4 01 00 ................ 0050 05 00 00 00 00 70 00 00 01 00 00 00 02 00 00 00 .....p.......... 0060 00 00 00 00 00 00 00 00 ........ <---SCardTransmit---> ++++++++++ [SEND LEN = 5] [RECV LEN = 3] [hCard = 0x0001b4d8] [myHCard = 0x000000000001b4d8] [pioSendPci] 0000 02 00 00 00 08 00 00 00 ........ [pioRecvPci] 0000 02 00 00 00 08 00 00 00 ........ [sendBuf] 0000 00 70 00 00 01 .p... ++++++++++ Segmentation fault root@estudion:/usr/local/src/rdesktop# ------------------------------------------------------------ Where is the problem?, what can I do? Thanks in advance, pere ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-07-23 22:42 Message: Logged In: NO Hi Pere, Do you have a solution already? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=381347&aid=1719129&group_id=24366 |