[erlang-questions] wx on Linux x86_64 crashes

Dan Gudmundsson <>
Mon Jan 25 10:13:42 CET 2010


This works for me...
until I noticed I have installed the i386 version of ubuntu, sigh.

/Dan

On Wed, Dec 9, 2009 at 6:12 PM, Erik Reitsma <> wrote:
> Hi,
>
> When I run wx under 64-bits Linux (Ubuntu 9.10), I get a failed assertion:
>
> $ erl
> Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:4:4] [rq:4]
> [async-threads:0] [hipe] [kernel-poll:false]
>
> Eshell V5.7.4  (abort with ^G)
> 1> wx:new().
> beam.smp: malloc.c:3074: sYSMALLOc: Assertion `(old_top == (((mbinptr)
> (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct
> malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >=
> (unsigned long)((((__builtin_offsetof (struct malloc_chunk,
> fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) -
> 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) ==
> 0)' failed.
>
> Aborted
> $ uname -ra
> Linux myhost 2.6.31-16-generic #52-Ubuntu SMP Thu Dec 3 22:07:16 UTC 2009
> x86_64 GNU/Linux
>
> Any ideas? I compiled from source... When I run R13B01 (compiled from
> source), on the same machine, it works.
>
> *Erik.
>
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>


More information about the erlang-questions mailing list