#8902: Crash upon closing, after rapidly scrolling through many large photos ------------------------------------+------------------------------ Reporter: mmadia | Owner: leavengood Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/ShowImage | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | ------------------------------------+------------------------------ hrev44550-gcc2h To reproduce: * Use ShowImage on an image within a folder or tracker query with many photos with a large file size. e.g., several hundred KiB or larger * hold the up/down arrow key to rapidly cycle through the images * once the entire cpu becomes pegged, CMD+W to close ShowImage. Note: Use Pulse/ProcessController to disable extra cores, as this will make it easier to reproduce. It was reproduced with both WonderBrush images and JPEG's. It may take a few attempts, but the following crash will occur: {{{ 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 23952 caused an exception: Segment violation Reading symbols from /boot/system/runtime_loader...done. Loaded symbols for /boot/system/runtime_loader Reading symbols from /boot/system/lib/libbe.so...done. Loaded symbols for /boot/system/lib/libbe.so Reading symbols from /boot/system/lib/libtracker.so...done. Loaded symbols for /boot/system/lib/libtracker.so Reading symbols from /boot/system/lib/libtranslation.so...done. Loaded symbols for /boot/system/lib/libtranslation.so Reading symbols from /boot/system/lib/libstdc++.r4.so...done. Loaded symbols for /boot/system/lib/libstdc++.r4.so Reading symbols from /boot/system/lib/libroot.so...done. Loaded symbols for /boot/system/lib/libroot.so Reading symbols from /boot/system/lib/libicudata.so.48.1.1...done. Loaded symbols for /boot/system/lib/libicudata.so.48.1.1 Reading symbols from /boot/system/lib/libicui18n.so.48.1.1...done. Loaded symbols for /boot/system/lib/libicui18n.so.48.1.1 Reading symbols from /boot/system/lib/libicuio.so.48.1.1...done. Loaded symbols for /boot/system/lib/libicuio.so.48.1.1 Reading symbols from /boot/system/lib/libicule.so.48.1.1...done. Loaded symbols for /boot/system/lib/libicule.so.48.1.1 Reading symbols from /boot/system/lib/libiculx.so.48.1.1...done. Loaded symbols for /boot/system/lib/libiculx.so.48.1.1 Reading symbols from /boot/system/lib/libicutu.so.48.1.1...done. Loaded symbols for /boot/system/lib/libicutu.so.48.1.1 Reading symbols from /boot/system/lib/libicuuc.so.48.1.1...done. Loaded symbols for /boot/system/lib/libicuuc.so.48.1.1 Reading symbols from /boot/system/lib/libtextencoding.so...done. Loaded symbols for /boot/system/lib/libtextencoding.so Reading symbols from /boot/system/lib/libroot-addon-icu.so...done. Loaded symbols for /boot/system/lib/libroot-addon-icu.so Reading symbols from /boot/system/add- ons/Translators/BMPTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/BMPTranslator Reading symbols from /boot/system/add- ons/Translators/EXRTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/EXRTranslator Reading symbols from /boot/system/lib/libilmimf.so...done. Loaded symbols for /boot/system/lib/libilmimf.so Reading symbols from /boot/system/lib/libz.so.1...done. Loaded symbols for /boot/system/lib/libz.so.1 Reading symbols from /boot/system/add- ons/Translators/GIFTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/GIFTranslator Reading symbols from /boot/system/add- ons/Translators/HVIFTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/HVIFTranslator Reading symbols from /boot/system/add- ons/Translators/ICOTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/ICOTranslator Reading symbols from /boot/system/add- ons/Translators/JPEG2000Translator...done. Loaded symbols for /boot/system/add-ons/Translators/JPEG2000Translator Reading symbols from /boot/system/add- ons/Translators/JPEGTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/JPEGTranslator Reading symbols from /boot/system/lib/libjpeg.so.8.0...done. Loaded symbols for /boot/system/lib/libjpeg.so.8.0 Reading symbols from /boot/system/add- ons/Translators/PCXTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/PCXTranslator Reading symbols from /boot/system/add- ons/Translators/PNGTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/PNGTranslator Reading symbols from /boot/system/lib/libpng.so.1.4...done. Loaded symbols for /boot/system/lib/libpng.so.1.4 Reading symbols from /boot/system/add- ons/Translators/PPMTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/PPMTranslator Reading symbols from /boot/system/add- ons/Translators/RAWTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/RAWTranslator Reading symbols from /boot/system/add- ons/Translators/RTFTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/RTFTranslator Reading symbols from /boot/system/add- ons/Translators/SGITranslator...done. Loaded symbols for /boot/system/add-ons/Translators/SGITranslator Reading symbols from /boot/system/add- ons/Translators/STXTTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/STXTTranslator Reading symbols from /boot/system/add- ons/Translators/TGATranslator...done. Loaded symbols for /boot/system/add-ons/Translators/TGATranslator Reading symbols from /boot/system/add- ons/Translators/TIFFTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/TIFFTranslator Reading symbols from /boot/system/lib/libtiff.so.3.8...done. Loaded symbols for /boot/system/lib/libtiff.so.3.8 Reading symbols from /boot/system/add- ons/Translators/WebPTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/WebPTranslator Reading symbols from /boot/system/add- ons/Translators/WonderBrushTranslator...done. Loaded symbols for /boot/system/add-ons/Translators/WonderBrushTranslator [tcsetpgrp failed in terminal_inferior: Invalid Argument] [Switching to team /boot/system/apps/ShowImage (23936) thread image loader (23952)] 0xffff01e4 in ?? () (gdb) bt #0 0xffff01e4 in ?? () #1 0x78137c18 in ?? () #2 0x00001900 in ?? () #3 0x0074106d in BBitmapStream::WriteAt () from /boot/system/lib/libtranslation.so #4 0x00484fae in BPositionIO::Write () from /boot/system/lib/libbe.so #5 0x021d06fa in JPEGTranslator::Decompress () from /boot/system/add-ons/Translators/JPEGTranslator #6 0x021cf744 in JPEGTranslator::DerivedTranslate () from /boot/system/add-ons/Translators/JPEGTranslator #7 0x021d1f40 in BaseTranslator::BitsTranslate () from /boot/system/add-ons/Translators/JPEGTranslator #8 0x021d1fb4 in BaseTranslator::Translate () from /boot/system/add-ons/Translators/JPEGTranslator #9 0x007489eb in BTranslatorRoster::Translate () from /boot/system/lib/libtranslation.so #10 0x0021dc57 in ImageCache::_RetrieveImage () #11 0x0021d6e8 in ImageCache::_QueueWorkerThread () #12 0x007b66e3 in thread_entry () from /boot/system/lib/libroot.so #13 0x78137fec in ?? () (gdb) }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/8902> Haiku <http://dev.haiku-os.org> Haiku - the operating system.