dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.58k forks source link

Bus error: 10 - no explanation #23914

Closed kevmoo closed 9 years ago

kevmoo commented 9 years ago
  1. git clone https://github.com/kevmoo/vote.dart
  2. cd vote.dart/
  3. git checkout repo_bug_fun
  4. pub install
  5. dart test/vote/irv_test.dart

Fails with Bus error: 10 in latest dev build and latest bleeding edge.

ghost commented 9 years ago

thread #2: tid = 0x13096, 0x00044e07 dartdart::AtomicOperations::CompareAndSwapWord(ptr=0x0108c308, old_value=4063746, new_value=4129282) + 39 at atomic_macos.h:28, stop reason = EXC_BAD_ACCESS (code=2, address=0x108c308) frame #0: 0x00044e07 dartdart::AtomicOperations::CompareAndSwapWord(ptr=0x0108c308, old_value=4063746, new_value=4129282) + 39 at atomic_macos.h:28 25 inline uword AtomicOperations::CompareAndSwapWord(uword* ptr, 26 uword old_value, 27 uword new_value) { -> 28 return __sync_val_compare_and_swap(ptr, old_value, new_value); 29 } 30 #endif // !defined(USING_SIMULATOR) 31

kevmoo commented 9 years ago

Confirmed in 3ba3667926fe2c3590e0c8da2ccb066191530648 Thanks!