Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#88 closed bug (fixed)

Time crashes on exit

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


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 (1)

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

Download all attachments as: .zip

Change History (12)

by jackburton, 14 years ago

Attachment: stack_trace.jpg added

Stack trace of the crash

comment:1 by jackburton, 14 years ago

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

comment:2 by jackburton, 14 years ago

Component: ApplicationsKits

comment:3 by korli, 14 years ago

Cc: rune.hatle@… added

comment:4 by korli, 14 years ago

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

comment:5 by jackburton, 14 years ago

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

comment:6 by jackburton, 14 years ago

Summary: Magnify crashes on exitTime crashes on exit

comment:7 by marcusoverhagen, 13 years ago

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/ Loaded symbols for /boot/beos/system/lib/ Reading symbols from /boot/beos/system/lib/ Loaded symbols for /boot/beos/system/lib/ Reading symbols from /boot/beos/system/lib/ Loaded symbols for /boot/beos/system/lib/ [Switching to team /boot/beos/preferences/Time (537) thread Time & Date (542)] 0x002416d7 in _kern_debugger () from /boot/beos/system/lib/ (gdb) bt #0 0x002416d7 in _kern_debugger () from /boot/beos/system/lib/ #1 0x0023caaf in debugger () from /boot/beos/system/lib/ #2 0x00243531 in assert_fail () from /boot/beos/system/lib/ #3 0x00248416 in BPrivate::hoardHeap::freeBlock ()

from /boot/beos/system/lib/

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

from /boot/beos/system/lib/

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

from /boot/beos/system/lib/

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

from /boot/beos/system/lib/

#21 0x0036e79e in BLooper::DispatchMessage ()

from /boot/beos/system/lib/

#22 0x003ec731 in BWindow::DispatchMessage ()

from /boot/beos/system/lib/

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

comment:8 by axeld, 13 years ago

Owner: changed from sikosis to axeld

comment:9 by axeld, 13 years ago

Resolution: fixed

comment:10 by axeld, 13 years ago

Status: newclosed

comment:11 by axeld, 13 years ago

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

Note: See TracTickets for help on using tickets.