Hi ,
I have a problem with the pcscd daemon that is allocating the memory and
causing the memory leak .
Please let me know whether the following versions of package are compatible.
Target system:
Linux kernel 2.4.24
Libusb-0.1.12
PCSC-Lite-1.4.4
CCID-1.3.0
Reader: SCR3310.
I am using the testpcsc.c application. When i run the application, idont see
any problem with the memory leak.
When i run the application for every 5 secs by keeping it in an while loop.
I am able to see that there is a memory leak from the daemon.
The system crashes after some perriod of time.
I have a few questions regarding this smart card daemon.
1: I am able to see that 4 or 5 pcscd daemons are running all the time Is
this ok when i connect to the reader and do some transactions with the card.
2: I run the application in the while loop.. it is working fine when i
insert and remove the card, but there is a memory leak all the time when i
see through top command.
The testpcsc.c is modified like this.
main(){
variable declarations
while(1)
{
sleep for 5 secs
ESTABLISH CONTEXT
VALID CONTEXT
CONNECT
GET STATUS CHANGE
TRANSMIT
DISCONNECT
RELEASE CONTEXT
}
}
I executed the code testpcsc.c exactly with out any modifications except for
the while loop and sleep for 5 secs
when i check through top commnad i am seeing that there is a memory leak.
I think that pcscd daemon is allocating and not freeing the memory.
Please let me know how to solve this problem.
Thanks,
venkat.
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle