Re: btnx-config crashing with cordless click plus
Yes, just wget 0.1.1. I tried clicking as fast as I could (until my index finger was numb ), but I didn't get the same error. It shouldn't be possible to overrun the input buffer. It's size is static, but it only reads as many bytes as the buffer can hold. The process forks a child to read the handler, and then sends a message to the child to stop when enough clicks have been detected.
Originally Posted by rzj
And the seg fault happened after the program stops reading the input handler (the output says that it terminated the child, meaning the child has already exited and done so without being forced, meaning it exited gracefully). This means no one could possibly be reading the input handler. So it is either an invalid free after the child exit (possibly when trying to clean up the interthread-pipes), or when the program tries to save information about the button (actually it just enables you to save the information at that point, but doesn't save anything until you name and add the button).
Last edited by daou; July 2nd, 2007 at 06:15 PM.
echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
It compiles! Ship it!