[Ecls-list] cl_boot crash

John DeSoi desoi at pgedit.com
Thu Jul 29 00:34:25 UTC 2010


On Jul 28, 2010, at 5:36 AM, Juan Jose Garcia-Ripoll wrote:

> There might be some incompatibility between the garbage collector and 4D's code. To ensure this is not the case, remove the call to cl_boot() and call instead GC_init(). If the collector still crashes then this is the culprit.

It still crashes in the same place using GC_init instead (backtrace below). GDB reports:

Program received signal: "EXC_BAD_ACCESS".



> Otherwise one would have to look for other causes. BTW, for safety when embedding in multithreaded applications I would recommend *not* using --enable-gengc 

This was my configure for ECL:

./configure --prefix=/Unix/bin/ecl --enable-threads=yes --enable-unicode=yes

I also tried --enable-threads=no, but no luck.



====

#0  GC_push_all_eager (bottom=0xb0181e84 "\204\036\030\260\030\037\030\260Wi\210!\204\036\030\260", top=0xc0000000 <Address 0xc0000000 out of bounds>) at /Unix/src/ecl-10.4.1/src/gc/mark.c:1492
#1  0x21886957 in GC_push_all_stacks () at /Unix/src/ecl-10.4.1/src/gc/darwin_stop_world.c:190
#2  0x2188114a in GC_mark_some (cold_gc_frame=0xb0181f8c "\243\362\207!\320\360\207!") at /Unix/src/ecl-10.4.1/src/gc/mark.c:414
#3  0x21878108 in GC_stopped_mark (stop_func=0x21877dd0 <GC_never_stop_func>) at /Unix/src/ecl-10.4.1/src/gc/alloc.c:504
#4  0x21878b99 in GC_try_to_collect_inner (stop_func=0x21877dd0 <GC_never_stop_func>) at /Unix/src/ecl-10.4.1/src/gc/alloc.c:362
#5  0x21882cae in GC_init_inner () at /Unix/src/ecl-10.4.1/src/gc/misc.c:735
#6  0x03c13fa8 in InitPlugin () at /Users/me/cl4d/Plugin_v12_ecl/4DPlugin.c:67
#7  0x03c13f6a in PluginMain (selector=-1, params=0xb01820a4) at /Users/me/cl4d/Plugin_v12_ecl/4DPlugin.c:23
#8  0x03c03d2c in FourDPackex (selector=-1, parameters=0xb01820e0, data=0x1bb063a4, result=0xb018210c) at /Users/me/cl4d/Plugin_v12_ecl/4D Plugin API/4DPluginAPI.c:44
#9  0x006ec1df in xercesc_2_8::InputSource::setIssueFatalErrorIfNotFound ()
#10 0x006ec306 in xercesc_2_8::InputSource::setIssueFatalErrorIfNotFound ()
#11 0x007161f0 in xbox::VValueBag::GetLong<ProgressIndicatorType> ()
#12 0x0071a0d9 in xbox::VValueBag::GetLong<ProgressIndicatorType> ()
#13 0x0071bf56 in xbox::VValueBag::GetLong<ProgressIndicatorType> ()
#14 0x0071c191 in xbox::VValueBag::GetLong<ProgressIndicatorType> ()
#15 0x001a0920 in xbox::VValueBag::SetLong<__DB4DFieldType> ()
#16 0x001a0b31 in xbox::VValueBag::SetLong<__DB4DFieldType> ()
#17 0x001a122b in xbox::VValueBag::SetLong<__DB4DFieldType> ()
#18 0x0043d5b9 in xbox::VValueBag::SetLong<EDataFileOpeningOptions> ()
#19 0x002cef96 in xbox::VPreferences::GetValue<LayoutEditor::ExtraDescriptionShown, xbox::VLong> ()
#20 0x018dc357 in xbox::VTask::_Run ()
#21 0x018e0edd in xbox::XMacTaskMgr::XMacTaskMgr ()
#22 0x0192c280 in GetCurrentFiber ()
#23 0x9012593d in CooperativeThread ()
#24 0x90abd155 in _pthread_start ()
#25 0x90abd012 in thread_start ()


John DeSoi, Ph.D.








More information about the ecl-devel mailing list