[Ecls-list] cl_boot crash

John DeSoi desoi at pgedit.com
Thu Jul 29 12:26:41 UTC 2010


On Jul 29, 2010, at 4:20 AM, Juan Jose Garcia-Ripoll wrote:

> This is _not_ necessarily a crash. If this is OS X, this signal is used by the garbage collector to detect when memory is written to, marking it for inspection later on. What I meant is to really run a program, no GDB involved, and see whether you experience this crash. If you use GDB then you have to tell it to ignore this signal (handle EXC_BAD_ACCESS pass nostop noprint or something like that)

I ran it without GDB and 4D crashes (quits and the OS says that the application crashed). Below are the details from Crash Reporter. I called GC_init() rather than cl_boot. This is OS X 10.5.8.

I don't see it now, but when I initially tried this I would get this message in the console log:

 6/9/10 9:01:53 PM [0x0-0x8e08e].com.4d.4d[69043] Internal or unrecoverable error in: 
 6/9/10 9:01:53 PM [0x0-0x8e08e].com.4d.4d[69043] Got signal before environment was installed on our thread. 



Thanks again,

John


Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000b0184000
Crashed Thread:  22

Thread 22 Crashed:
0   libecl.10.4.dylib             	0x218803e7 GC_push_all_eager + 87
1   libecl.10.4.dylib             	0x21886957 GC_push_all_stacks + 167 (darwin_stop_world.c:93)
2   libecl.10.4.dylib             	0x2188114a GC_mark_some + 570
3   libecl.10.4.dylib             	0x21878108 GC_stopped_mark + 136
4   libecl.10.4.dylib             	0x21878b99 GC_try_to_collect_inner + 153
5   libecl.10.4.dylib             	0x21882cae GC_init_inner + 926
6   com.4D.4DPlugin               	0x14c0ffa8 InitPlugin + 40 (4DPlugin.c:70)
7   com.4D.4DPlugin               	0x14c0ff6a PluginMain + 43 (4DPlugin.c:24)
8   com.4D.4DPlugin               	0x14bffd2c FourDPackex + 96 (4DPluginAPI.c:45)
9   com.4d.4d                     	0x006ec1df xercesc_2_8::InputSource::setIssueFatalErrorIfNotFound(bool) + 28959
10  com.4d.4d                     	0x006ec306 xercesc_2_8::InputSource::setIssueFatalErrorIfNotFound(bool) + 29254
11  com.4d.4d                     	0x007161f0 bool xbox::VValueBag::GetLong<ProgressIndicatorType>(xbox::StPackedDictionaryKey const&, ProgressIndicatorType&) const + 34698
12  com.4d.4d                     	0x0071a0d9 bool xbox::VValueBag::GetLong<ProgressIndicatorType>(xbox::StPackedDictionaryKey const&, ProgressIndicatorType&) const + 50803
13  com.4d.4d                     	0x0071bf56 bool xbox::VValueBag::GetLong<ProgressIndicatorType>(xbox::StPackedDictionaryKey const&, ProgressIndicatorType&) const + 58608
14  com.4d.4d                     	0x0071c191 bool xbox::VValueBag::GetLong<ProgressIndicatorType>(xbox::StPackedDictionaryKey const&, ProgressIndicatorType&) const + 59179
15  com.4d.4d                     	0x001a0920 void xbox::VValueBag::SetLong<__DB4DFieldType>(xbox::StPackedDictionaryKey const&, __DB4DFieldType) + 123300
16  com.4d.4d                     	0x001a0b31 void xbox::VValueBag::SetLong<__DB4DFieldType>(xbox::StPackedDictionaryKey const&, __DB4DFieldType) + 123829
17  com.4d.4d                     	0x001a122b void xbox::VValueBag::SetLong<__DB4DFieldType>(xbox::StPackedDictionaryKey const&, __DB4DFieldType) + 125615
18  com.4d.4d                     	0x0043d5b9 void xbox::VValueBag::SetLong<EDataFileOpeningOptions>(xbox::StPackedDictionaryKey const&, EDataFileOpeningOptions) + 116045
19  com.4d.4d                     	0x002cef96 LayoutEditor::ExtraDescriptionShown xbox::VPreferences::GetValue<LayoutEditor::ExtraDescriptionShown, xbox::VLong>(xbox::StBagKeyWithDefault<LayoutEditor::ExtraDescriptionShown, xbox::VLong> const&) const + 198432
20  com.4d.kernel                 	0x018dc357 xbox::VTask::_Run() + 103
21  com.4d.kernel                 	0x018e0edd xbox::XMacTaskMgr::XMacTaskMgr() + 429
22  com.4d.kernel                 	0x0192c280 GetCurrentFiber() + 96
23  ...ple.CoreServices.CarbonCore	0x9012593d CooperativeThread + 309
24  libSystem.B.dylib             	0x90abd155 _pthread_start + 321
25  libSystem.B.dylib             	0x90abd012 thread_start + 34

Thread 22 crashed with X86 Thread State (32-bit):
  eax: 0x00100001  ebx: 0x2188039b  ecx: 0x00000000  edx: 0x1ba0a000
  edi: 0xbffffffc  esi: 0xb0184000  ebp: 0xb0181e88  esp: 0xb0181e50
   ss: 0x0000001f  efl: 0x00010206  eip: 0x218803e7   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0xb0184000



John DeSoi, Ph.D.








More information about the ecl-devel mailing list