[erlang-questions] Driver load problem on Mac OS Lion
Sat May 12 04:20:49 CEST 2012
I got the stack info from core file when the VM crashed:
#1 0x000000001c0c77c1 in erts_sys_main_thread () at sys.c:2905
2905 res = select(erts_darwin_main_thread_pipe + 1, &readfds, NULL, NULL, NULL);
#2 0x000000001bfe5bc4 in erl_start (argc=12, argv=0x7fff6bbcb5a8)
1483 erts_sys_main_thread(); /* May or may not return! */
#3 0x6c61636f6c2f7273 in ?? ()
and after I turned off the SMP, the driver worked again. Does that mean it have something to do with the SMP support?
在 2012-5-11，下午11:58， cao xu 写道：
> I tried to update the OS to Lion, but found drivers those work on 10.6 have problem during the start. The following error prompted and the VM crashed :
> Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]
> Eshell V5.9 (abort with ^G)
> 1> erl_ddll:load_driver("priv", xml_eng_drv).
> Trace/BPT trap: 5
> Has it happened to anyone else? I also found some of the drivers still work, is there something I should fix when migrate linked-in drivers to Mac OS Lion? Any suggestion will be appreciated.
> Xu Cao
> erlang-questions mailing list
More information about the erlang-questions