From geoffw@REDACTED Wed Oct 6 06:44:32 2004 From: geoffw@REDACTED (Geoff White) Date: Tue, 05 Oct 2004 21:44:32 -0700 Subject: Building Erlang R9C2 under OpenBSD 3.6-current (followup) Message-ID: <6.1.0.6.0.20041005213852.12b5fc38@mail.v-site.net> Here is a patch for .../lib/os_mon/c_src/memsup.c this will allow compilation of Erlang 5.3 on OpenBSD to continue without a hitch. I think it is a good patch and hope the Erlang folks will include it in their RC10B release so I don't have to repatch it. There is still a problem with installing the man pages at the end though. ambient# diff memsup.c memsup.c.new 98c98,102 < #include --- > #ifdef OpenBSD > #include > #else > #include > #endif From raimo@REDACTED Wed Oct 6 09:10:29 2004 From: raimo@REDACTED (Raimo Niskanen) Date: 06 Oct 2004 09:10:29 +0200 Subject: Building Erlang R9C2 under OpenBSD 3.6-current (followup) References: <6.1.0.6.0.20041005213852.12b5fc38@mail.v-site.net> Message-ID: Sorry, it did not make it. The R10B release started building yesterday. It should make it into the first minor release, though. > here is a patch for .../lib/os_mon/c_src/memsup.c > this will allow compilation of Erlang 5.3 on OpenBSD to continue > without a hitch. I think it is a good patch and hope the Erlang folks > will include it in > their RC10B release so I don't have to repatch it. > > There is still a problem with installing the man pages at the end though. > > ambient# diff memsup.c memsup.c.new > 98c98,102 > < #include > --- > > #ifdef OpenBSD > > #include > > #else > > #include > > #endif > > -- / Raimo Niskanen, Erlang/OTP, Ericsson AB From erik.pearson@REDACTED Sun Oct 17 07:22:23 2004 From: erik.pearson@REDACTED (Erik J Pearson) Date: Sat, 16 Oct 2004 22:22:23 -0700 Subject: [DOC BUG] html.html in 10B jinterface_users_guide.html Message-ID: <200410162222.23185.erik.pearson@comcast.net> I've been wanting to try out Jinterface in some java projects, so while I was going through the downloaded html pages I noticed a bug. Jinterface_users_guide.html has many references to files ending in "*.html.html". These links cannot be resolved and you'll get an error in the browser. I.E., line 17: Doing a global sed on the file seemed to fix it. Thanks for the great work on the 10B release. --erikp-- From alexey@REDACTED Mon Oct 18 12:59:39 2004 From: alexey@REDACTED (Alexey Shchepin) Date: Mon, 18 Oct 2004 13:59:39 +0300 Subject: Dets bug Message-ID: <87pt3g8f6s.fsf@ns.sevcom.net> Hi! I got the following error today: =CRASH REPORT==== 18-Oct-2004::13:30:28 === crasher: pid: <0.15846.65> registered_name: [] error_info: {aborted,{badarg,[roster,"dtim",3]}} initial_call: {gen,init_it, [gen_fsm, <0.218.0>, <0.218.0>, ejabberd_c2s, [{gen_tcp,#Port<0.1903435>}, [{access,c2s}, {shaper,c2s_shaper}, starttls, {certfile,"./ssl.pem"}]], []]} ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.35.0>] messages: [{<0.146.0>, {error,{dets_bug,roster, {lookup_keys, [{"dtim",{"dottedmag","jabber.ru",[]}}]} , {11,'EXIT'}}}}] links: [<0.218.0>] dictionary: [] trap_exit: false status: running heap_size: 2584 stack_size: 21 reductions: 14321 neighbours: Then I copied roster.DAT from working DB, repaired it and tried to do dets:lookup on this key, but it returned empty result. After that I ran the following command 3 times and got 3 different results: (ejabberd@REDACTED)1> mnesia:dirty_read(roster, {"dtim",{"dottedmag","jabber.ru",[]}}). {badarg,[{erlang,binary_to_term, [<<131,104,10,100,0,6,114,111,115,116,101,114,104,2,107,0,6,109,104,97,109,...>>]}, {dets_v9,per_set_key,3}, {dets_v9,eval_work_list,2}, {dets,update_cache,2}, {dets,stream_end,5}, {dets,do_apply_op,4}, {proc_lib,init_p,5}]} (ejabberd@REDACTED)2> mnesia:dirty_read(roster, {"dtim",{"dottedmag","jabber.ru",[]}}). {error,{dets_bug,roster, {lookup_keys,[{"dtim",{"dottedmag","jabber.ru",[]}}]}, {14,'EXIT'}}} (ejabberd@REDACTED)3> mnesia:dirty_read(roster, {"dtim",{"dottedmag","jabber.ru",[]}}). {error,{bad_object,"/opt/jabber/server/ejabberd/src/Mnesia.ejabberd@REDACTED/roster.DAT"}} After that all requests to roster table return the last error, and after restarting this error is unreproduceable. Erlang version is R10B. Snip from mnesia:info(): roster : with 412996 records occupying 95840830 bytes on disc From mbj@REDACTED Tue Oct 26 22:53:42 2004 From: mbj@REDACTED (Martin Bjorklund) Date: Tue, 26 Oct 2004 22:53:42 +0200 (CEST) Subject: erl_syntax Message-ID: <20041026.225342.41660614.mbj@bluetail.com> Hi, erl_syntax in R10B is not erl_parse compatible for 'try' expressions. erl_syntax thinks a 'try' is {'try', Pos, Body, Claues, Handlers}, but in erl_parse try is {'try', Pos, Body, Clause, Handlers, AfterExprs} (see erl_parse.yrl:build_try) Also, within erl_syntax.erl itself, the Body in the 'try' expression is sometimes [synatx_tree()] and sometimes just syntax_tree(), which makes it crash. This makes distel:who_calls fail. I've patched my local erl_syntax.erl to handle this, but that fix is extremely ad-hoc. /martin From richardc@REDACTED Tue Oct 26 23:02:42 2004 From: richardc@REDACTED (Richard Carlsson) Date: Tue, 26 Oct 2004 23:02:42 +0200 Subject: erl_syntax In-Reply-To: <20041026.225342.41660614.mbj@bluetail.com> References: <20041026.225342.41660614.mbj@bluetail.com> Message-ID: <417EBB72.6030501@csd.uu.se> Martin Bjorklund wrote: > erl_syntax in R10B is not erl_parse compatible for 'try' expressions. > > erl_syntax thinks a 'try' is {'try', Pos, Body, Claues, Handlers}, but > in erl_parse try is {'try', Pos, Body, Clause, Handlers, AfterExprs} > (see erl_parse.yrl:build_try) > > Also, within erl_syntax.erl itself, the Body in the 'try' expression > is sometimes [synatx_tree()] and sometimes just syntax_tree(), which > makes it crash. Thanks for the details. I know I haven't had time to update the syntax tools for R10. I hope it will be done at least until R10-2. (Right now I'm working on exception handling in HiPE for R10-1.) /Richard