[gambit-list] multithreaded debugging fun

Marc Feeley feeley at iro.umontreal.ca
Wed Jun 17 18:29:34 EDT 2009


On 17-Jun-09, at 4:08 PM, lowly coder wrote:

> ~$ uname -a
> Linux x 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 x86_64  
> GNU/Linux
>
> ~$ gsi -v
> v4.4.2 20090315000833 x86_64-unknown-linux-gnu
>
> (Ubuntu Linux)
>
> I didn't make any changes ... I just followed the README file.

It seems that there is a problem with the procedure tcp-client-peer- 
socket-info on Linux.  In the remote debugging code this is only used  
for synchronization (to make sure the xterm has started before sending  
it stuff to display).

Here's how to fix debugger.scm:

1) remove the call (tcp-client-peer-socket-info port)

2) before the first (let loop () ...  insert (thread-sleep! 2)

Marc




More information about the Gambit-list mailing list