wx on Linux x86_64 crashes

Erik Reitsma <>
Wed Dec 9 18:12:43 CET 2009


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.



More information about the erlang-questions mailing list