Find Lock Problems with Booby Trap

A Booby Trap is used in CINELERRA-GG for setting a trap to catch lock problems that might have been missed. It will trap boobies only if compile by adding --with-booby on the configuration command line. This is the default if you compile using ./ from the GIT repository. It should not interfere with normal execution.

If you have the time and inclination, enable --with-booby and send any trap output that you find. Maybe you will catch some boobies and if you do, send a snapshot of any boobies you find.

There are 2 potential traps:

The trap prints the following in the controlling terminal window:

BOOBY!         <backtrace>

An example backtrace is below along with a hint below on how to analyze:

/home/cin5/bin/./cin(_Z5boobyv+0x3f) [0x557069fa9b2f] /home/cin5/bin/./cin(_ZN13BC_WindowBase9draw_lineEiiiiP9BC_Pixmap+0x3b)0x557069fb9a9b]
/home/cin5/bin/./cin(+0x9707fb) [0x557069f7e7fb]
/usr/lib/ [0x7f1b91b4ea9d]
/usr/lib/ [0x7f1b90accb23]

To see which routine is reporting the booby key in:


And then the 2nd line in the backtrace above:


It comes back with the routine as:

BC_WindowBase::draw_line(int, int, int, int, BC_Pixmap*)

The CINELERRA-GG Community, 2021