* [bug #24867] `define' should be thread-safe
[not found] ` <20110806-090946.sv84321.9346@savannah.gnu.org>
@ 2013-12-25 23:15 ` Linas Vepstas
2013-12-26 0:08 ` Linas Vepstas
0 siblings, 1 reply; 2+ messages in thread
From: Linas Vepstas @ 2013-12-25 23:15 UTC (permalink / raw)
To: Andy Wingo, Ludovic Courtès, Linas Vepstas,
-Deleted Account-, guile-devel
Follow-up Comment #12, bug #24867 (project guile):
Sooo .. is this bug fixed in guile-2.0.5 or 2.0.9?
Because I'm currently staring at the five-year-old work-around for this bug,
wondering if I should remove it or not. It's definitely a bottle-neck for my
app (natural language processing for opencog).
Some of my guile scripts run for minutes, which means, as long as guile
remains single-threaded, I can't use it while a script is running. This makes
development incredibly painful...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24867>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [bug #24867] `define' should be thread-safe
2013-12-25 23:15 ` [bug #24867] `define' should be thread-safe Linas Vepstas
@ 2013-12-26 0:08 ` Linas Vepstas
0 siblings, 0 replies; 2+ messages in thread
From: Linas Vepstas @ 2013-12-26 0:08 UTC (permalink / raw)
To: Andy Wingo, Ludovic Courtès, Linas Vepstas,
-Deleted Account-, guile-devel
Follow-up Comment #13, bug #24867 (project guile):
To answer my own question:
-- compile test case below, as:
cc define-race.c -lpthread -lguile-2.0 -I/usr/include/guile/2.0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5d44700 (LWP 7601)]
0x00007ffff7243bc9 in GC_push_all_eager () from /usr/lib/libgc.so.1
(gdb) bt
#0 0x00007ffff7243bc9 in GC_push_all_eager () from /usr/lib/libgc.so.1
#1 0x00007ffff724bee1 in GC_push_all_stacks () from /usr/lib/libgc.so.1
#2 0x00007ffff7244733 in GC_mark_some () from /usr/lib/libgc.so.1
#3 0x00007ffff723b802 in GC_stopped_mark () from /usr/lib/libgc.so.1
#4 0x00007ffff723bf0a in GC_try_to_collect_inner () from /usr/lib/libgc.so.1
#5 0x00007ffff72465d0 in GC_init_inner () from /usr/lib/libgc.so.1
#6 0x00007ffff78af793 in ?? () from /usr/lib/libguile-2.0.so.22
#7 0x00007ffff78be9a8 in ?? () from /usr/lib/libguile-2.0.so.22
#8 0x00007ffff79118f0 in ?? () from /usr/lib/libguile-2.0.so.22
#9 0x00007ffff7911927 in ?? () from /usr/lib/libguile-2.0.so.22
#10 0x00007ffff72461e5 in GC_call_with_stack_base () from /usr/lib/libgc.so.1
#11 0x00007ffff7911ae8 in scm_with_guile () from /usr/lib/libguile-2.0.so.22
#12 0x0000000000400b2e in definer ()
#13 0x00007ffff7bc4e9a in start_thread (arg=0x7ffff5d44700) at
pthread_create.c:308
#14 0x00007ffff75793fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
This is with
$ guile --version
guile (GNU Guile) 2.0.5-deb+1-1
installed on an Ubuntu Precise system
The corresponding GC seems to be froom a package called
libgc1c2 - conservative garbage collector for C and C++
which installs libgc.so.1.0.3
The last entry in the ChangeLog is
libgc (1:7.1-8ubuntu0.12.04.1) precise-security; urgency=low
so this seems to be the bdwgc version 7.1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24867>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-26 0:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20081118-101829.sv15145.66129@savannah.gnu.org>
[not found] ` <20081118-132731.sv15145.42938@savannah.gnu.org>
[not found] ` <20081223-023612.sv71519.31021@savannah.gnu.org>
[not found] ` <20081223-025008.sv71519.28260@savannah.gnu.org>
[not found] ` <20081223-030642.sv71519.76086@savannah.gnu.org>
[not found] ` <20081223-152123.sv15145.27370@savannah.gnu.org>
[not found] ` <20081223-182846.sv71519.10756@savannah.gnu.org>
[not found] ` <20081223-191059.sv71519.6825@savannah.gnu.org>
[not found] ` <20100920-092817.sv80137.45300@savannah.gnu.org>
[not found] ` <20110806-090820.sv84321.50560@savannah.gnu.org>
[not found] ` <20110806-090859.sv84321.82920@savannah.gnu.org>
[not found] ` <20110806-090923.sv84321.2993@savannah.gnu.org>
[not found] ` <20110806-090946.sv84321.9346@savannah.gnu.org>
2013-12-25 23:15 ` [bug #24867] `define' should be thread-safe Linas Vepstas
2013-12-26 0:08 ` Linas Vepstas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).