| Author |
Message |
|
| dietmar at ast.dfs.de |
Posted: Mon Mar 21, 2005 1:27 pm |
|
|
|
Guest
|
Hi
I am trying to processing a table using
DoAction = fun() -> mnesia:foldl(Action,[],bufferedMessages,write)end,
The DoAction is a little bit too long and complicated to be listed here
but maybe you know what's going
on here ?
I get:
transaction DoAction aborted
{badarg,[{ets,match_object,[377,{{locks,bufferedMessages,'______WHOLETABLE_____'},'_'}]},{mnesia_locker,need_lock,4},{mnesia_locker,rlock,3},{mnesia,read,5},{mnesia,do_foldl,8},{mnesia,foldl,6},{mnesia_tm,apply_fun,3},{mnesia_tm,execute_transaction,5},{cmmc_db,processBufferedMessages,0},{cmmc_com,decode,1}]}
Regards
Dietmar
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| dgud at erix.ericsson.se |
Posted: Mon Mar 21, 2005 3:07 pm |
|
|
|
Guest
|
Hmm, that shouldn't happen, looks like a bug, can you email me the
code or a snippet of it that reproduces the fault.
/Dan
Dietmar Schaefer writes:
> Hi
>
> I am trying to processing a table using
>
> DoAction = fun() -> mnesia:foldl(Action,[],bufferedMessages,write)end,
>
> The DoAction is a little bit too long and complicated to be listed here
> but maybe you know what's going
> on here ?
>
>
> I get:
>
> transaction DoAction aborted
> {badarg,[{ets,match_object,[377,{{locks,bufferedMessages,'______WHOLETABLE_____'},'_'}]},{mnesia_locker,need_lock,4},{mnesia_locker,rlock,3},{mnesia,read,5},{mnesia,do_foldl,8},{mnesia,foldl,6},{mnesia_tm,apply_fun,3},{mnesia_tm,execute_transaction,5},{cmmc_db,processBufferedMessages,0},{cmmc_com,decode,1}]}
>
>
>
> Regards
>
>
> Dietmar
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|