Hi,

The current sagemath compiles ECL with disabled threads, which is a 
problem to package it in debian.

The problem is that when compiled with threads, things start to 
crash(well, assert), because early_signal_error gets called.

What happens is that sage and the gc are using signals and for some 
reason, one is raised before the call to cl_boot.

In fact, sage's initialization of ECL looks like:

ecl_set_option(ECL_OPT_SET_GMP_MEMORY_FUNCTIONS,0);
ecl_set_option(ECL_OPT_SIGNAL_HANDLING_THREAD, 0)
cl_boot(1,arv)


I'm at loss what to do to fix the issue: how does ECL have 
early_signal_signal_error set as signal callback even before cl_boot was 
run!?

Thanks,

Snark on #sagemath

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to