[erlang-bugs] ejabberd broken by R16B01 with bad_object_header error

Sergej Pupykin ml@REDACTED
Thu Jun 27 12:17:08 CEST 2013


Hello,

R16B01 breaks my ejabberd installation. I found this workaround and it
helped me too:
http://stackoverflow.com/questions/17031683/random-bad-object-header-mnesia-error

R16B-3 package works.

I thought about distro specific bug, but there is no difference in
build procedure:

*** diff between R16B-3 and R16B01-1 pkgbuilds ***
11,12c11,12
< pkgver=R16B01
< pkgrel=1
---
> pkgver=R16B
> pkgrel=3
19,20c19,20
< sha256sums=('da388bc07b8ebdd008f5bb6c3d2c280e358bd188b5aac3ea01e3a7436315abc0'
<             '71972049fbac73457fb6868be18068edce9f2c9fc2aeeab15f019d4217b6a8c2')
---
> sha256sums=('f01c2cfe512d3118fd3398a66bdb82bea6ad0f45b464a46a58e452264b7682cd'
>             'f7b1baa088d4ecda4a86944d3a782fcbf80c6b9161756bb50fec9e8d129176b9')
35,36d34
<   provides=('erlang-nox')
<   conflicts=('erlang-nox')
64c62
<   depends=('unixodbc' 'erlang-nox')
---
>   depends=('unixodbc' 'erlang')
*** *** ***

References:

how ejabberd package built:
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ejabberd

how erlang package built:

R16B01-1
https://projects.archlinux.org/svntogit/community.git/tree/repos/community-x86_64/PKGBUILD?h=packages/erlang

R16B-3
https://projects.archlinux.org/svntogit/community.git/tree/repos/community-x86_64/PKGBUILD?h=packages/erlang&id=738285a9e52f74b3e89bb56dc939781fcde64f43

Error:
=ERROR REPORT==== 2013-06-26 16:02:05 ===
E(<0.742.0>:ejabberd_hooks:335) : {{case_clause,
                                    {error,
                                     {bad_object_header,
                                      "/var/lib/ejabberd/offline_msg.DAT"}}},
                                   [{lists,keysort,2,
                                     [{file,"lists.erl"},{line,738}]},
                                    {mod_offline,pop_offline_messages,4,
                                     [{file,"mod_offline.erl"},{line,433}]},
                                    {ejabberd_hooks,run_fold1,4,
                                     [{file,"ejabberd_hooks.erl"},{line,331}]},
                                    {ejabberd_c2s,resend_offline_messages,1,
                                     [{file,"ejabberd_c2s.erl"},{line,2107}]},
                                    {ejabberd_c2s,presence_update,3,
                                     [{file,"ejabberd_c2s.erl"},{line,1801}]},
                                    {ejabberd_c2s,session_established2,2,
                                     [{file,"ejabberd_c2s.erl"},{line,1097}]},
                                    {p1_fsm,handle_msg,10,
                                     [{file,"p1_fsm.erl"},{line,544}]},
                                    {proc_lib,init_p_do_apply,3,
                                     [{file,"proc_lib.erl"},{line,239}]}]}



More information about the erlang-bugs mailing list