caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Ocamlrun program crashes down
@ 2015-09-27  8:25 =?gb18030?B?0MTI59byueI=?=
  0 siblings, 0 replies; only message in thread
From: =?gb18030?B?0MTI59byueI=?= @ 2015-09-27  8:25 UTC (permalink / raw)
  To: =?gb18030?B?Y2FtbC1saXN0?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 7777 bytes --]

Hi,everybody,
I run ocamlrun program on my mac(10.10.5),which would occasionally crash down.And the OS returns with the error message listed below.Why?And how could I fix I?Thank you!
Part of the message:
Process:               ocamlrun [19661]
Path:                  /usr/local/bin/ocamlrun
Identifier:            ocamlrun
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ocamlrun [14280]
Responsible:           Terminal [420]
User ID:               501


Date/Time:             2015-09-28 00:06:23.456 +0800
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        FFDDB253-B0B0-3CC0-3AD5-C2711B976B34




Time Awake Since Boot: 1500 seconds


Crashed Thread:        0  Dispatch queue: com.apple.main-thread


Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000001


VM Regions Near 0x1:
--> 
    __TEXT                 0000000105a30000-0000000105a4b000 [  108K] r-x/rwx SM=COW  /usr/local/Cellar/ocaml/4.02.3/bin/ocamlrun


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ocamlrun                      	0x0000000105a32c40 caml_interprete + 6056
1   ocamlrun                      	0x0000000105a44ea1 caml_callbackN_exn + 197
2   ocamlrun                      	0x0000000105a44ee3 caml_callback_exn + 41
3   dlllablgtk2.so                	0x00000001062b0dee marshal + 197
4   libgobject-2.0.0.dylib        	0x0000000106a38416 g_closure_invoke + 262
5   libgobject-2.0.0.dylib        	0x0000000106a4d3eb signal_emit_unlocked_R + 1783
6   libgobject-2.0.0.dylib        	0x0000000106a4e0fe g_signal_emit_valist + 2068
7   libgobject-2.0.0.dylib        	0x0000000106a4e70e g_signal_emit + 134
8   libgtk-quartz-2.0.0.dylib     	0x00000001064cf509 gtk_widget_event_internal + 178
9   libgtk-quartz-2.0.0.dylib     	0x00000001063d1272 gtk_main_do_event + 1090
10  libgdk-quartz-2.0.0.dylib     	0x00000001066f0694 _gdk_window_process_updates_recurse + 511
11  libgdk-quartz-2.0.0.dylib     	0x00000001066f05eb _gdk_window_process_updates_recurse + 342
12  libgdk-quartz-2.0.0.dylib     	0x00000001066f05eb _gdk_window_process_updates_recurse + 342
13  libgdk-quartz-2.0.0.dylib     	0x00000001066fb56e -[GdkQuartzView drawRect:] + 451
14  com.apple.AppKit              	0x00007fff8f1d36ea -[NSView _drawRect:clip:] + 4335
15  com.apple.AppKit              	0x00007fff8f1d0483 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3198
16  com.apple.AppKit              	0x00007fff8f1d0fa0 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
17  com.apple.AppKit              	0x00007fff8f1cf2f3 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 333
18  com.apple.AppKit              	0x00007fff8f1cb68b -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2761
19  com.apple.AppKit              	0x00007fff8f1831ae -[NSView displayIfNeeded] + 1876
20  com.apple.AppKit              	0x00007fff8f182a09 -[NSWindow displayIfNeeded] + 236
21  com.apple.AppKit              	0x00007fff8f182672 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
22  com.apple.AppKit              	0x00007fff8f8b8171 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1540 + 46
23  com.apple.CoreFoundation      	0x00007fff8c10a127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
24  com.apple.CoreFoundation      	0x00007fff8c10a080 __CFRunLoopDoObservers + 368
25  com.apple.CoreFoundation      	0x00007fff8c0fc188 __CFRunLoopRun + 872
26  com.apple.CoreFoundation      	0x00007fff8c0fbbd8 CFRunLoopRunSpecific + 296
27  com.apple.HIToolbox           	0x00007fff931c156f RunCurrentEventLoopInMode + 235
28  com.apple.HIToolbox           	0x00007fff931c11ee ReceiveNextEventCommon + 179
29  com.apple.HIToolbox           	0x00007fff931c112b _BlockUntilNextEventMatchingListInModeWithFilter + 71
30  com.apple.AppKit              	0x00007fff8f17f8ab _DPSNextEvent + 978
31  com.apple.AppKit              	0x00007fff8f17ee58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
32  libgdk-quartz-2.0.0.dylib     	0x0000000106701e7f poll_func + 172
33  dlllablgtk2.so                	0x00000001062af76a ml_poll + 31
34  libglib-2.0.0.dylib           	0x0000000106aa43b6 g_main_context_iterate + 326
35  libglib-2.0.0.dylib           	0x0000000106aa4465 g_main_context_iteration + 55
36  dlllablgtk2.so                	0x00000001062afe9e ml_g_main_iteration + 20
37  ocamlrun                      	0x0000000105a32cb5 caml_interprete + 6173
38  ocamlrun                      	0x0000000105a3482d caml_main + 874
39  ocamlrun                      	0x0000000105a47b62 main + 12
40  libdyld.dylib                 	0x00007fff87e055c9 start + 1


Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff8f0cd232 kevent64 + 10
1   libdispatch.dylib             	0x00007fff89dc5a6a _dispatch_mgr_thread + 52


Thread 2:
0   libsystem_kernel.dylib        	0x00007fff8f0cc94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff912163dd start_wqthread + 13


Thread 3:
0   libsystem_kernel.dylib        	0x00007fff8f0cc94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff912163dd start_wqthread + 13


Thread 4:
0   libsystem_kernel.dylib        	0x00007fff8f0cc3fa __select + 10
1   libgdk-quartz-2.0.0.dylib     	0x000000010670275e select_thread_func + 118
2   libsystem_pthread.dylib       	0x00007fff9121905a _pthread_body + 131
3   libsystem_pthread.dylib       	0x00007fff91218fd7 _pthread_start + 176
4   libsystem_pthread.dylib       	0x00007fff912163ed thread_start + 13


Thread 5:
0   libsystem_kernel.dylib        	0x00007fff8f0ccba2 close + 10
1   ocamlrun                      	0x0000000105a32cb5 caml_interprete + 6173
2   ocamlrun                      	0x0000000105a44ea1 caml_callbackN_exn + 197
3   ocamlrun                      	0x0000000105a44ee3 caml_callback_exn + 41
4   dllthreads.so                 	0x00000001062a02b9 caml_thread_start + 63
5   libsystem_pthread.dylib       	0x00007fff9121905a _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff91218fd7 _pthread_start + 176
7   libsystem_pthread.dylib       	0x00007fff912163ed thread_start + 13


Thread 6:
0   libsystem_kernel.dylib        	0x00007fff8f0cc3fa __select + 10
1   libsystem_pthread.dylib       	0x00007fff9121905a _pthread_body + 131
2   libsystem_pthread.dylib       	0x00007fff91218fd7 _pthread_start + 176
3   libsystem_pthread.dylib       	0x00007fff912163ed thread_start + 13


Thread 7:
0   libsystem_kernel.dylib        	0x00007fff8f0cc94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff912163dd start_wqthread + 13


Thread 8:
0   libsystem_kernel.dylib        	0x00007fff8f0cc94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff912163dd start_wqthread + 13


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000105a57bb0  rcx: 0x0000000000001647  rdx: 0x00007fff5a1cc4b0
  rdi: 0x00007fff5a1cc390  rsi: 0x0000000000000000  rbp: 0x00007fff5a1cc460  rsp: 0x00007fff5a1cc320
   r8: 0x00007f9d131be660   r9: 0x0000000000000005  r10: 0x00007f9d131be660  r11: 0x0000000000000001
  r12: 0x0000000105a4cd9c  r13: 0x0000000105a57c80  r14: 0x0000000105a57ce8  r15: 0x0000000000000000
  rip: 0x0000000105a32c40  rfl: 0x0000000000010246  cr2: 0x0000000000000001


.....

[-- Attachment #2: Type: text/html, Size: 15747 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-27  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-27  8:25 [Caml-list] Ocamlrun program crashes down =?gb18030?B?0MTI59byueI=?=

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 NNTP newsgroup(s).