Steps to reproduce:
1- Open the source images
2- Maximize the window, scroll right to the bottom
3- Ctrl+mouse-drag to erase the layer, and make sure you keep the buttons pressed while dragging the brush right off the window's bottom edge. Segfault.
Program received signal SIGSEGV, Segmentation fault.
0x000000000047aa47 in hdrmerge::ImageStack::getImageAt (this=0x7fffffffd7f8, x=758, y=2617) at /home/drslony/programs/code-hdrmerge-develop/ImageStack.hpp:81
81 return mask(x, y);
(gdb) bt full
0 0x000000000047aa47 in hdrmerge::ImageStack::getImageAt (this=0x7fffffffd7f8, x=758, y=2617) at /home/drslony/programs/code-hdrmerge-develop/ImageStack.hpp:81
No locals.
1 0x0000000000477d70 in hdrmerge::MainWindow::setPixelStatus (this=0x7fffffffd720, x=758, y=2617) at /home/drslony/programs/code-hdrmerge-develop/MainWindow.cpp:213
2 0x0000000000484bfa in hdrmerge::MainWindow::qt_static_metacall (_o=0x7fffffffd720, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffcaf0) at /home/drslony/programs/code-hdrmerge-develop/build/moc_MainWindow.cxx:61
_t = 0x7fffffffd720
3 0x00007ffff6df4c38 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
4 0x0000000000485129 in hdrmerge::PreviewWidget::pixelUnderMouse (this=0xa47470, _t1=758, _t2=2617) at /home/drslony/programs/code-hdrmerge-develop/build/moc_PreviewWidget.cxx:132
_a = {0x0, 0x7fffffffcae4, 0x7fffffffcae0}
5 0x000000000047e41b in hdrmerge::PreviewWidget::mouseEvent (this=0xa47470, event=0x7fffffffcfd0, pressed=false) at /home/drslony/programs/code-hdrmerge-develop/PreviewWidget.cpp:201
rx = 758
ry = 2617
6 0x000000000047f032 in hdrmerge::PreviewWidget::mouseMoveEvent (this=0xa47470, event=0x7fffffffcfd0) at /home/drslony/programs/code-hdrmerge-develop/PreviewWidget.hpp:75
No locals.
7 0x00007ffff73719e5 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
8 0x00007ffff73223fc in QApplicationPrivate::notifyhelper(QObject, QEvent_) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
9 0x00007ffff7328afd in QApplication::notify(QObject, QEvent) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
10 0x00007ffff6de10dd in QCoreApplication::notifyInternal(QObject, QEvent) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
11 0x00007ffff73282b3 in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
12 0x00007ffff7399b00 in ?? () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
13 0x00007ffff7397e9c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
14 0x00007ffff73be532 in ?? () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
15 0x00007ffff5014a96 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
16 0x00007ffff5014de8 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
17 0x00007ffff5014e8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
18 0x00007ffff6e0dc15 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
19 0x00007ffff73be5d6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
20 0x00007ffff6ddfd3f in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
21 0x00007ffff6de0035 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
22 0x00007ffff6de514b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
23 0x000000000044e731 in hdrmerge::Launcher::startGUI (this=0x7fffffffd9c0) at /home/drslony/programs/code-hdrmerge-develop/Launcher.cpp:53
Steps to reproduce: 1- Open the source images 2- Maximize the window, scroll right to the bottom 3- Ctrl+mouse-drag to erase the layer, and make sure you keep the buttons pressed while dragging the brush right off the window's bottom edge. Segfault.
Today's commit a73aac740a03ff7c7ad57d8491b9da4b555b1a49
Program received signal SIGSEGV, Segmentation fault. 0x000000000047aa47 in hdrmerge::ImageStack::getImageAt (this=0x7fffffffd7f8, x=758, y=2617) at /home/drslony/programs/code-hdrmerge-develop/ImageStack.hpp:81 81 return mask(x, y); (gdb) bt full
0 0x000000000047aa47 in hdrmerge::ImageStack::getImageAt (this=0x7fffffffd7f8, x=758, y=2617) at /home/drslony/programs/code-hdrmerge-develop/ImageStack.hpp:81
No locals.
1 0x0000000000477d70 in hdrmerge::MainWindow::setPixelStatus (this=0x7fffffffd720, x=758, y=2617) at /home/drslony/programs/code-hdrmerge-develop/MainWindow.cpp:213
2 0x0000000000484bfa in hdrmerge::MainWindow::qt_static_metacall (_o=0x7fffffffd720, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffcaf0) at /home/drslony/programs/code-hdrmerge-develop/build/moc_MainWindow.cxx:61
3 0x00007ffff6df4c38 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
4 0x0000000000485129 in hdrmerge::PreviewWidget::pixelUnderMouse (this=0xa47470, _t1=758, _t2=2617) at /home/drslony/programs/code-hdrmerge-develop/build/moc_PreviewWidget.cxx:132
5 0x000000000047e41b in hdrmerge::PreviewWidget::mouseEvent (this=0xa47470, event=0x7fffffffcfd0, pressed=false) at /home/drslony/programs/code-hdrmerge-develop/PreviewWidget.cpp:201
6 0x000000000047f032 in hdrmerge::PreviewWidget::mouseMoveEvent (this=0xa47470, event=0x7fffffffcfd0) at /home/drslony/programs/code-hdrmerge-develop/PreviewWidget.hpp:75
No locals.
7 0x00007ffff73719e5 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
8 0x00007ffff73223fc in QApplicationPrivate::notifyhelper(QObject, QEvent_) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
9 0x00007ffff7328afd in QApplication::notify(QObject, QEvent) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
10 0x00007ffff6de10dd in QCoreApplication::notifyInternal(QObject, QEvent) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
11 0x00007ffff73282b3 in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
12 0x00007ffff7399b00 in ?? () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
13 0x00007ffff7397e9c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
14 0x00007ffff73be532 in ?? () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
15 0x00007ffff5014a96 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
16 0x00007ffff5014de8 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
17 0x00007ffff5014e8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
18 0x00007ffff6e0dc15 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
19 0x00007ffff73be5d6 in ?? () from /usr/lib64/qt4/libQtGui.so.4
No symbol table info available.
20 0x00007ffff6ddfd3f in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
21 0x00007ffff6de0035 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
22 0x00007ffff6de514b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
No symbol table info available.
23 0x000000000044e731 in hdrmerge::Launcher::startGUI (this=0x7fffffffd9c0) at /home/drslony/programs/code-hdrmerge-develop/Launcher.cpp:53
Python Exception <type 'exceptions.ValueError'> Cannot find type std::list<hdrmerge::EditableMask::EditAction, std::allocator >::iterator::_Node:
dy = 0}, editActions = std::list, nextAction = }, stack = 0x7fffffffd7f8}, width = 3896, height = 2616, flip = 0, satThreshold = 3683}, rawParameters = std::vector of length 3, capacity 4 = {
std::unique_ptrhdrmerge::RawParameters containing 0x7fffe0002e90, std::unique_ptrhdrmerge::RawParameters containing 0x7fffd4000da0, std::unique_ptrhdrmerge::RawParameters containing 0x7fffd8003c00}}, preloadFiles = std::vector of length 0, capacity 0}
24 0x0000000000451cb5 in hdrmerge::Launcher::run (this=0x7fffffffd9c0) at /home/drslony/programs/code-hdrmerge-develop/Launcher.cpp:311
25 0x000000000044e3aa in main (argc=1, argv=0x7fffffffdb28) at /home/drslony/programs/code-hdrmerge-develop/main.cpp:29