problem with pcscd with freerdp 2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with pcscd with freerdp 2

Trenta sis
Hi

I am using freerdp 2 and ccid 1.4.19  + pcsc-liste 1.8.13 and I have detected taht after disconnect to windows 2012 r2 with freerdp using /smartcard then after some time appear an error in /var/log/messages like 

Sep  1 22:49:49 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:49:49 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:49:50 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:49:50 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:49:51 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200

during more than 7 minutes 

Sep  1 22:56:35 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:56:36 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:56:36 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:56:37 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:56:37 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:56:38 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:56:38 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation

and after  this we can't print from freerdp

If we kill /sbin/pcscd then we can print, and re-execute /sbin/pcscd also can print fore some time, but then error is reproduced after some time


During errors we detected high cpu usage in freerdp and pcscd, for example:
 5482  5175 root     S    1704m 99.8   0  0.0 xfreerdp /f /kbd:0x0000040A /bpp:16 /u:'' /d:pfgg /printer:usb,'Brother HL-5240 series' /printer:Laser_taller,'HP Universal Printing PCL 6' /smartcard /cert-ignore /sec:tls
 4545     1 root     S    1612m 94.4   0  0.0 /sbin/pcscd

Where is the problem and how can be solved?

Thanks




_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: problem with pcscd with freerdp 2

Trenta sis
Additional information, in this situation any smart card reader is connected, we have /smartcard always defined to ensure that we add smartcard support in any situation.
We are using in last years same config but with older pcsc and rdesktop versions with win 2003 and working without any problems

Where is the problem?


2016-09-01 23:05 GMT+02:00 Trenta sis <[hidden email]>:
Hi

I am using freerdp 2 and ccid 1.4.19  + pcsc-liste 1.8.13 and I have detected taht after disconnect to windows 2012 r2 with freerdp using /smartcard then after some time appear an error in /var/log/messages like 

Sep  1 22:49:49 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:49:49 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:49:50 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:49:50 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:49:51 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200

during more than 7 minutes 

Sep  1 22:56:35 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:56:36 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:56:36 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:56:37 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:56:37 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation
Sep  1 22:56:38 (none) user.info pcscd: winscard_svc.c:183:CreateContextThread() Too many context running: 200
Sep  1 22:56:38 (none) user.info pcscd: pcscdaemon.c:138:SVCServiceRunLoop() Problem during the context thread creation

and after  this we can't print from freerdp

If we kill /sbin/pcscd then we can print, and re-execute /sbin/pcscd also can print fore some time, but then error is reproduced after some time


During errors we detected high cpu usage in freerdp and pcscd, for example:
 5482  5175 root     S    1704m 99.8   0  0.0 xfreerdp /f /kbd:0x0000040A /bpp:16 /u:'' /d:pfgg /printer:usb,'Brother HL-5240 series' /printer:Laser_taller,'HP Universal Printing PCL 6' /smartcard /cert-ignore /sec:tls
 4545     1 root     S    1612m 94.4   0  0.0 /sbin/pcscd

Where is the problem and how can be solved?

Thanks





_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle