Opened 13 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

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

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

Download all attachments as: .zip

Change History (12)

Changed 13 years ago by jackburton

Attachment: stack_trace.jpg added

Stack trace of the crash

comment:1 Changed 13 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.

comment:2 Changed 13 years ago by jackburton

Component: ApplicationsKits

comment:3 Changed 13 years ago by korli

Cc: rune.hatle@… added

comment:4 Changed 13 years ago by korli

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

comment:5 Changed 13 years ago by jackburton

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

comment:6 Changed 13 years ago by jackburton

Summary: Magnify crashes on exitTime crashes on exit

comment:7 Changed 13 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++.hrev4.so...done. Loaded symbols for /boot/beos/system/lib/libstdc++.hrev4.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)

comment:8 Changed 13 years ago by axeld

Owner: changed from sikosis to axeld

comment:9 Changed 13 years ago by axeld

Resolution: fixed

comment:10 Changed 13 years ago by axeld

Status: newclosed

comment:11 Changed 13 years ago by axeld

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

Note: See TracTickets for help on using tickets.