librfid-tool works only sometimes / glibc error

Harald Welte laforge at openpcd.org
Tue Jan 22 15:39:18 UTC 2008


On Mon, Jan 21, 2008 at 08:36:32PM +0100, Julian Schütte wrote:
> Hello,
>
> I'm running into obscure problems using mifare-tool and librfid-tool:

this sounds like either stack or (probably more likely) heap corruption.

I think the first step would be to verify the problem can be replicated
on x86 (or x86_64), and then use the valgrind memory debugger to futher
hunt this down.

In parallel, a severe cleanup of all the static memory buffers and
various allocations in librfid has been needed desparately for way too
long time.

I always only hacked on librfid until something was working, spending
way too little time to get from proof-of-concept to something that
actually uses clean programming techniques.  Then OpenMoko sucked away
all my time, and things haven't really improved a lot ever since.

If anyone wants to help with this, I'll promise quick patch review and
integration cycles...

-- 
- Harald Welte <laforge at openpcd.org>          	         http://openpcd.org/
============================================================================
100% Free Software and Hardware RFID reader for 13.56MHz protocols
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20080122/3b164efc/attachment.pgp


More information about the openpcd-devel mailing list