erlang segfaults in mbc_alloc_finalize

Bug #672116 reported by thouters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
erlang (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: erlang-base

I want to run couchdb, but erlang crashes.

thomas@flux emulator % gdb /usr/lib/erlang/erts-5.7.4/bin/beam.smp
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/erlang/erts-5.7.4/bin/beam.smp...Reading symbols from /usr/lib/debug/usr/lib/erlang/erts-5.7.4/bi
n/beam.smp...done.
done.
(gdb) r
Starting program: /usr/lib/erlang/erts-5.7.4/bin/beam.smp
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x0808063b in mbc_alloc_finalize (allctr=0x8201000, size=<value optimized out>) at beam/erl_alloc_util.c:691
691 SET_BLK_SZ_FTR(nxt_blk, nxt_blk_sz);
(gdb) l
686 (SBH_THIS_FREE
687 | SBH_PREV_ALLOCED
688 | (flags & LAST_BLK_HDR_FLG)));
689
690 if (!(flags & LAST_BLK_HDR_FLG)) {
691 SET_BLK_SZ_FTR(nxt_blk, nxt_blk_sz);
692 if (!valid_blk_info) {
693 Block_t *nxt_nxt_blk = NXT_BLK(nxt_blk);
694 SET_PREV_BLK_FREE(nxt_nxt_blk);
695 }
(gdb) bt
#0 0x0808063b in mbc_alloc_finalize (allctr=0x8201000, size=<value optimized out>) at beam/erl_alloc_util.c:691
#1 mbc_alloc (allctr=0x8201000, size=<value optimized out>) at beam/erl_alloc_util.c:762
#2 0x08080f0f in do_erts_alcu_alloc (type=105, extra=0x8201000, size=88139) at beam/erl_alloc_util.c:2529
#3 erts_alcu_alloc_ts (type=105, extra=0x8201000, size=88139) at beam/erl_alloc_util.c:2551
#4 0x080aecae in erts_alloc () at beam/erl_alloc.h:184
#5 init_ptimer_pre_alloc () at beam/utils.c:3048
#6 init_ptimers () at beam/utils.c:3063
#7 erts_init_utils () at beam/utils.c:3191
#8 0x08089f59 in early_init (argc=0xbffffbb0, argv=0xbffffc74) at beam/erl_init.c:743
#9 0x0808a443 in erl_start (argc=1, argv=0xbffffc74) at beam/erl_init.c:792
#10 0x0807509b in main (argc=1, argv=0xbffffc74) at sys/unix/erl_main.c:29

thomas@flux emulator % aptitude show erlang-base
Package: erlang-base
State: installed
Automatically installed: yes
Version: 1:13.b.3-dfsg-2ubuntu2.1

thomas@flux emulator % lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
thomas@flux emulator % uname -a
Linux flux.thouters.be 2.6.27-gandi-2777 #14 SMP Sun Jan 17 19:09:24 CET 2010 i686 GNU/Linux
homas@flux emulator % pwd
/home/thomas/erlang-13.b.3-dfsg/erts/emulator
thomas@flux emulator % free
             total used free shared buffers cached
Mem: 262328 168252 94076 0 8028 74296
-/+ buffers/cache: 85928 176400
Swap: 634556 476 634080

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.