Strange deadlocks in guile

2009-03-12 Thread Stanislav Ievlev
Greetings! On my 2.6.18 kernel guile (latest snapshot from git, branch-release-1.8 head) in some situations (unfortunately I can't made a testcase) stops forever. Guile with 2.6.27 kernel works well. Strace: futex(0xc571890, FUTEX_WAIT, 2, NULL... Backtrace: -- #0 0x2b4ba31b4004 in

./check-guile r4rs.test segv on HP-UX 11.23/IA, 11.31/IA

2009-03-12 Thread Albert Chin
I've built guile-1.8.6 on HP-UX 11.23/IA and 11.31/IA: $ gtar zxf guile-1.8.6.tar.gz $ cd guile-1.8.6 $ ./configure PTHREAD_CFLAGS=-mt --disable-dependency-tracking ... $ gmake $ ./check-guile r4rs.test Testing /opt/build/china/guile-1.8.6/pre-inst-guile ... r4rs.test with

Re: Strange deadlocks in guile

2009-03-12 Thread Neil Jerram
Stanislav Ievlev stanislav.iev...@gmail.com writes: Greetings! On my 2.6.18 kernel guile (latest snapshot from git, branch-release-1.8 head)  in some situations (unfortunately I can't made a testcase) stops forever. Guile with 2.6.27 kernel works well. Strace: futex(0xc571890,

Re: vm status update

2009-03-12 Thread Neil Jerram
Andy Wingo wi...@pobox.com writes: How much of this is compiler-specific? Does some of it also apply to old-style reading and interpreting? No, it's just compiler-specific. The reader captures source information at when it reads lists, as you know, and this is just propagating more of it.

Re: ./check-guile r4rs.test segv on HP-UX 11.23/IA, 11.31/IA

2009-03-12 Thread Neil Jerram
Albert Chin guile-de...@mlists.thewrittenword.com writes: Core was generated by `guile'. Program terminated with signal 11, Segmentation fault. SEGV_ACCERR - Invalid Permissions for object I've never seen that (SEGV_ACCERR) before. Do you know what it means? Neil

Re: Locks and threads

2009-03-12 Thread Andy Wingo
Hey Neil, On Thu 12 Mar 2009 01:53, Neil Jerram n...@ossau.uklinux.net writes: Thanks to a hint from helgrind, I think the problem might be that the symbols obarray is not thread-safe. But surely using a mutex for every symbol that Guile reads would be terrible for performance... Dunno, in