Matrica Moneyplex, Kobil KAAN Advanced and 64Bit Debian SID

After struggling with several problems when installing a 64Bit Linux for the first time I want to write down the problems for which I didn't find a solution by using google. Two problems were related to Matrica Moneyplex. The first problem was that it didn't find my kobil chipcard-reader.
The solution in short is: follow the official docs from matrica on how to setup the necessary stuff (apt-get install pcscd pcsc-tools). Do NOT install the openct package! Then install the driver for your chipcardreader by downloading the necessary libct.zip from www.kobil.de and run the install64-script as root AND the installuser64-script as normal user. In the moneyplex settings select the libproxy-kobil.so as driver for the chipcard-reader.
Now the problem started: I wasn't able to access my reader. After some investigation I saw the following error messages when starting moneyplex in the console:

fejf@fejfs:[~/moneyplex] > ./start
=================================================
32<->64 bit CTAPI-Proxy library.
(C) 2007 Martin Preuss
=================================================
*** glibc detected *** : double free or corruption (fasttop):
0x0000000000604e50 ***
[...]

This took me some time but the solution is simple: add a export MALLOC_CHECK_=0 to the moneyplex start-script (normally ~/moneyplex/start) right after the other export-statement(s).

After that my chipcard-reader worked as user root. But when I tried to access it as normal user I still got error messages. The solution was simple again (after hours of finding it ;): I didn't have the right .CT_devices file in my home. I don't know why I got the wrong version (the installuser64-script from the kobil-installer should copy a new version!) but I could fix this problem by copying the file from root's home to mine (replace fejf with your username...):

cp /root/.CT_devices ~fejf
chown fejf:fejf ~fejf/.CT_devices

FYI: the .CT_devices file should contain only ONE Port#-Line which should look like this one:

Port1=PCSC;[IDX="1"];3;0;reader via PCSC [IDX="1"]: transparent