Ticket #88 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Time crashes on exit

Reported by: jackburton Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version:
Cc: rune.hatle@… Blocked By:
Platform: Blocking:

Description

Magnify crashes on exit and prints this line on stdout: Magnify: /src/system/libroot/posix/malloc/superblock.h:194 void BPrivate::superBlock::putBlock(BPrivate::block *): getNumAvailable() < getNumBlocks()

The crash happens in the userland allocator, so the component should be that one, probably...

Attachments

stack_trace.jpg (111.0 kB) - added by jackburton 3 years ago.
Stack trace of the crash

Change History

Changed 3 years ago by jackburton

Stack trace of the crash

Changed 3 years ago by jackburton

Happens with "Time" too (I'm sure it exited cleanly some time ago), so it has to be a bug in libbe.

Changed 3 years ago by jackburton

  • component changed from Applications to Kits

Changed 3 years ago by korli

  • cc rune.hatle@… added

Changed 3 years ago by korli

*** Bug 95 has been marked as a duplicate of this bug. ***

Changed 3 years ago by jackburton

For some reason, Magnify doesn't crash anymore (but Time still does)

Changed 3 years ago by jackburton

  • summary changed from Magnify crashes on exit to Time crashes on exit

Changed 3 years ago by marcusoverhagen

still happens in revision 16670.

GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-pc-haiku"...(no debugging symbols found)

Thread 542 called debugger(): getNumAvailable() < getNumBlocks() Reading symbols from /boot/beos/system/lib/libroot.so...done. Loaded symbols for /boot/beos/system/lib/libroot.so Reading symbols from /boot/beos/system/lib/libbe.so...done. Loaded symbols for /boot/beos/system/lib/libbe.so Reading symbols from /boot/beos/system/lib/libstdc++.r4.so...done. Loaded symbols for /boot/beos/system/lib/libstdc++.r4.so [Switching to team /boot/beos/preferences/Time (537) thread Time & Date (542)] 0x002416d7 in _kern_debugger () from /boot/beos/system/lib/libroot.so (gdb) bt #0 0x002416d7 in _kern_debugger () from /boot/beos/system/lib/libroot.so #1 0x0023caaf in debugger () from /boot/beos/system/lib/libroot.so #2 0x00243531 in assert_fail () from /boot/beos/system/lib/libroot.so #3 0x00248416 in BPrivate::hoardHeap::freeBlock ()

from /boot/beos/system/lib/libroot.so

#4 0x002494a9 in BPrivate::processHeap::free ()

from /boot/beos/system/lib/libroot.so

#5 0x0024ab01 in free () from /boot/beos/system/lib/libroot.so #6 0x0023abe4 in builtin_delete () from /boot/beos/system/lib/libroot.so #7 0x0044a9e8 in BArchivable::~BArchivable ()

from /boot/beos/system/lib/libbe.so

#8 0x0020cf1b in TAnalogClock::~TAnalogClock () #9 0x003e0f9f in BView::~BView () from /boot/beos/system/lib/libbe.so #10 0x00212348 in TSettingsView::~TSettingsView () #11 0x003d98e0 in BTab::~BTab () from /boot/beos/system/lib/libbe.so #12 0x003da2e8 in BTabView::~BTabView () from /boot/beos/system/lib/libbe.so #13 0x003e0f9f in BView::~BView () from /boot/beos/system/lib/libbe.so #14 0x0020d608 in TTimeBaseView::~TTimeBaseView () #15 0x003e0f9f in BView::~BView () from /boot/beos/system/lib/libbe.so #16 0x003ea000 in BWindow::~BWindow () from /boot/beos/system/lib/libbe.so #17 0x0021439c in TTimeWindow::~TTimeWindow () #18 0x0036ec19 in BLooper::Quit () from /boot/beos/system/lib/libbe.so #19 0x003ea5f6 in BWindow::Quit () from /boot/beos/system/lib/libbe.so #20 0x00370261 in BLooper::_QuitRequested () ---Type <return> to continue, or q <return> to quit---

from /boot/beos/system/lib/libbe.so

#21 0x0036e79e in BLooper::DispatchMessage ()

from /boot/beos/system/lib/libbe.so

#22 0x003ec731 in BWindow::DispatchMessage ()

from /boot/beos/system/lib/libbe.so

#23 0x003ef77c in BWindow::task_looper () from /boot/beos/system/lib/libbe.so #24 0x0036fcdf in BLooper::_task0_ () from /boot/beos/system/lib/libbe.so #25 0x00240ca0 in thread_entry () from /boot/beos/system/lib/libroot.so #26 0x7003ffec in ?? () (gdb)

Changed 3 years ago by axeld

  • owner changed from sikosis to axeld

Changed 3 years ago by axeld

  • resolution set to fixed

Changed 3 years ago by axeld

  • status changed from new to closed

Changed 3 years ago by axeld

Fixed in r16727. "Time" was just buggy, that's all.

Note: See TracTickets for help on using tickets.