Browsing back to a rotated image crashes ShowImage
|Reported by:||humdinger||Owned by:||leavengood|
|Has a Patch:||yes||Platform:||All|
This is hrev42282.
- Put a few images in a folder
- Open the first image and rotate it (ALT+R)
- Browse through the next image (CursorDown)
- Browse back (CursorUp).
You may have to browse back and forth a few times. Also, when doing that bigger images (5 megapixel photos), the rotated image gets very distorted. Here's the backtrace:
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) [tcsetpgrp failed in terminal_inferior: Invalid Argument] Thread 1668 called debugger(): getNumAvailable() < getNumBlocks() Reading symbols from /boot/system/runtime_loader...done. [...] [Switching to team /boot/system/apps/ShowImage (1658) thread w>/boot/home/Desktop/Neuer Ordn (1668)] 0xffff0114 in ?? () (gdb) bt #0 0xffff0114 in ?? () #1 0x0079ba66 in debugger () from /boot/system/lib/libroot.so #2 0x007a78c5 in __assert_fail () from /boot/system/lib/libroot.so #3 0x0081e1fb in BPrivate::hoardHeap::freeBlock () from /boot/system/lib/libroot.so #4 0x0081f179 in BPrivate::processHeap::free () from /boot/system/lib/libroot.so #5 0x00820708 in free () from /boot/system/lib/libroot.so #6 0x00799b5c in __builtin_delete () from /boot/system/lib/libroot.so #7 0x00448f7c in BArchivable::~BArchivable () from /boot/system/lib/libbe.so #8 0x00228712 in ShowImageView::_DeleteBitmap () #9 0x0022d392 in ShowImageView::_DoImageOperation () #10 0x00228a9d in ShowImageView::SetImage () #11 0x002287fe in ShowImageView::SetImage () #12 0x0023133e in ShowImageWindow::MessageReceived () #13 0x0031963f in BLooper::DispatchMessage () from /boot/system/lib/libbe.so #14 0x003e9bb8 in BWindow::DispatchMessage () from /boot/system/lib/libbe.so #15 0x003ede38 in BWindow::task_looper () from /boot/system/lib/libbe.so #16 0x0031ab5b in BLooper::_task0_ () from /boot/system/lib/libbe.so #17 0x007a0327 in thread_entry () from /boot/system/lib/libroot.so #18 0x78102fec in ?? () (gdb)