[erlang-questions] Driver load problem on Mac OS Lion

cao xu cao.xu@REDACTED
Sat May 12 04:20:49 CEST 2012

I got the stack info from core file when the VM crashed:

(gdb) up
#1  0x000000001c0c77c1 in erts_sys_main_thread () at sys.c:2905
2905		res = select(erts_darwin_main_thread_pipe[0] + 1, &readfds, NULL, NULL, NULL);
(gdb) up
#2  0x000000001bfe5bc4 in erl_start (argc=12, argv=0x7fff6bbcb5a8)
    at erl_init.c:1483
1483	    erts_sys_main_thread(); /* May or may not return! */
(gdb) up
#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 写道:

> Hi,
> 	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.
> BR
> Xu Cao
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list