bug#30261: segfault on simultaneous initialization

2018-01-26 Thread Sheheryar Parvaz
If the initial call to scm_with_guile is on a thread and in the main thread at the same time, a segmentation fault occurs. #include #include void* hello_world(void *arg) { scm_c_eval_string("(display \"Hello World!\")"); scm_c_eval_string("(newline)"); } voi

bug#30261: segfault on simultaneous initialization

2018-01-26 Thread Sheheryar Parvaz
Are there any decent workarounds for this? I considered scm_init_guile, however according to the documentation, it is non-portable. For modules, I have no idea how I would initialize them. From: Mark H Weaver Sent: January 26, 2018 6:41 PM To: Sheheryar Parvaz Cc