Closed
Description
When running the tests with test.dart I get a segfault.
After ~5 runs in gdb debug build I get the following error-message and backtrace:
[03:50 | 85% | + 2122 | - 1]runtime/vm/snapshot.h:189: error: expected: *buffer_ != NULL
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xf353fb70 (LWP 15777)]
0xf7fdf430 in __kernel_vsyscall ()
(gdb) bt
0 0xf7fdf430 in __kernel_vsyscall ()
1 0xf7bd5921 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
2 0xf7bd8d52 in *__GI_abort () at abort.c:92
3 0x08071d5c in dart::DynamicAssertionHelper::Fail (this=0xf353f24c, format=0x8228f7f "expected: %s") at runtime/vm/assert.cc:39
4 0x0806076c in dart::WriteStream::WriteStream (this=0xf353f2f8, buffer=0xf353f30c, alloc=0x8050f6b <dart::allocator(uint8_t*, intptr_t, intptr_t)>) at runtime/vm/snapshot.h:189
5 0x080608cd in dart::MessageWriter::MessageWriter (this=0xf353f2f8, buffer=0xf353f30c, alloc=0x8050f6b <dart::allocator(uint8_t*, intptr_t, intptr_t)>) at runtime/vm/snapshot.h:335
6 0x08050fdd in dart::Dart_PostIntArray (port_id=7159, len=0, data=0x0) at runtime/vm/dart_api_impl.cc:765
7 0x0806db1e in EventHandlerImplementation::HandleTimeout (this=0x831c9b8) at runtime/bin/eventhandler_linux.cc:333
8 0x0806dbd8 in EventHandlerImplementation::Poll (args=0x831c9b8) at runtime/bin/eventhandler_linux.cc:355
9 0xf7fa196e in start_thread (arg=0xf353fb70) at pthread_create.c:300
10 0xf7c7ab5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further