The following reply was made to PR library/6451; it has been noted by GNATS.
From: joshua stein <j...@openbsd.org> To: Nicholas Marriott <nicholas.marri...@gmail.com> Cc: gn...@openbsd.org Subject: Re: library/6451: libreadline infinite loop Date: Tue, 31 Aug 2010 16:19:07 -0500 > I suspect the problem you are having is an interaction with pthreads - > I'm not sure signals are guaranteed to be delivered after pthreads > sigprocmask is called. It would be interesting (if possible) to see if > sqlite without threads has the same issue. i recompiled sqlite3 without thread support and it does not exhibit the same problem. j...@humble:/usr/ports/pobj/sqlite-3.6.23/fake-amd64/usr/local/bin> ldd ./sqlite3 ./sqlite3: Start End Type Open Ref GrpRef Name 0000000000400000 000000000080a000 exe 1 0 0 ./sqlite3 0000000201994000 0000000201e08000 rlib 0 1 0 /usr/local/lib/libsqlite3.so.14.0 0000000201556000 0000000201994000 rlib 0 1 0 /usr/lib/libreadline.so.3.0 00000002081ca000 0000000208617000 rlib 0 1 0 /usr/lib/libncurses.so.11.0 0000000204e7a000 000000020535e000 rlib 0 1 0 /usr/lib/libc.so.56.0 000000020e500000 000000020e500000 rtld 0 1 0 /usr/libexec/ld.so j...@humble:/usr/ports/pobj/sqlite-3.6.23/fake-amd64/usr/local/bin> ./sqlite3 SQLite version 3.6.23 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> [1] + 23160 Suspended ./sqlite3 j...@humble:/usr/ports/pobj/sqlite-3.6.23/fake-amd64/usr/local/bin> fg ./sqlite3 [1] + 23160 Suspended ./sqlite3 j...@humble:/usr/ports/pobj/sqlite-3.6.23/fake-amd64/usr/local/bin> fg ./sqlite3 [1] + 23160 Suspended ./sqlite3 j...@humble:/usr/ports/pobj/sqlite-3.6.23/fake-amd64/usr/local/bin> fg ./sqlite3