Bug 14958 - tupi crashes when creating new project
Summary: tupi crashes when creating new project
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Juan Luis Baptiste
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2015-01-05 23:42 CET by Alex Loginov
Modified: 2015-01-08 18:53 CET (History)
1 user (show)

See Also:
Source RPM: tupi
CVE:
Status comment:


Attachments

Description Alex Loginov 2015-01-05 23:42:14 CET
Description of problem: I did not reproduce this bug for LXDE and MATE, but issue is present for KDE and depends on initial size of window before creating new project.


Version-Release number of selected component (if applicable): tupi-0.2-1.git04.5.mga5.i586.rpm


How reproducible: KDE: always for small window and not often for maximized window


Steps to Reproduce:
1. run tupi in KDE
2. change size of window less
3. File -> New project -> OK

[user@localhost ~]$ LC_ALL=C tupi
-> TupPluginManager::loadPlugins() - Loading plugins...
*** Trying to load plugin from: "libtupiapngplugin.so"
*** TupPluginManager::loadPlugins() - Cannot load plugin, error was: "The file '/usr/lib/tupi/plugins/libtupiapngplugin.so' is not a valid Qt plugin." ***
*** Trying to load plugin from: "libtupicoloringtool.so"
*** Trying to load plugin from: "libtupicompoundtool.so"
*** Trying to load plugin from: "libtupicontourselectiontool.so"
*** Trying to load plugin from: "libtupierasertool.so"
*** Trying to load plugin from: "libtupifilltool.so"
*** Trying to load plugin from: "libtupigenericexportplugin.so"
*** Trying to load plugin from: "libtupigeometrictool.so"
*** Trying to load plugin from: "libtupiinktool.so"
*** Trying to load plugin from: "libtupiopacitytool.so"
*** Trying to load plugin from: "libtupipenciltool.so"
*** Trying to load plugin from: "libtupipolylinetool.so"
*** Trying to load plugin from: "libtupipositiontool.so"
*** Trying to load plugin from: "libtupirotationtool.so"
*** Trying to load plugin from: "libtupiscaletool.so"
*** Trying to load plugin from: "libtupiselecttool.so"
*** Trying to load plugin from: "libtupisheartool.so"
*** Trying to load plugin from: "libtupitexttool.so"
*** Trying to load plugin from: "libtupiviewtool.so"
-> main.cpp - Loading plugins from: "/usr/lib/tupi/plugins/"
[void TupCrashHandler::setConfig(const QString&)] 
-> Creating new project...
[bool TupMainWindow::closeProject()] 
[virtual void TupProjectManager::setupNewProject()] 
[virtual void TupProjectManager::handleProjectRequest(const TupProjectRequest*)] 
[virtual void TupLocalProjectManagerHandler::handleProjectRequest(const TupProjectRequest*)] 
[virtual void TupProjectManager::createCommand(const TupProjectRequest*, bool)] 
[TupProjectCommand::TupProjectCommand(TupCommandExecutor*, const TupProjectRequest*)] 
[virtual void TupProjectCommand::redo()] 1001
[bool TupCommandExecutor::createScene(TupSceneResponse*)] 
[void TupProjectManager::emitResponse(TupProjectResponse*)] 1
[virtual void TupScenesWidget::sceneResponse(TupSceneResponse*)] 
e->action() = 1
[virtual void TupExposureSheet::sceneResponse(TupSceneResponse*)] 
[void TupExposureSheet::addScene(int, const QString&)]  index: 0 name: "Scene 1"
[virtual void TupProjectManager::handleProjectRequest(const TupProjectRequest*)] 
[virtual void TupLocalProjectManagerHandler::handleProjectRequest(const TupProjectRequest*)] 
[virtual void TupProjectManager::createCommand(const TupProjectRequest*, bool)] 
[TupProjectCommand::TupProjectCommand(TupCommandExecutor*, const TupProjectRequest*)] 
[virtual void TupProjectCommand::redo()] 1002
[bool TupCommandExecutor::createLayer(TupLayerResponse*)] 
[TupScene* TupProject::scene(int) const] 0
[void TupProjectManager::emitResponse(TupProjectResponse*)] 1
[virtual void TupProjectManager::handleProjectRequest(const TupProjectRequest*)] 
[virtual void TupLocalProjectManagerHandler::handleProjectRequest(const TupProjectRequest*)] 
[virtual void TupProjectManager::createCommand(const TupProjectRequest*, bool)] 
[TupProjectCommand::TupProjectCommand(TupCommandExecutor*, const TupProjectRequest*)] 
[virtual void TupProjectCommand::redo()] 1003
[void TupProjectCommand::frameCommand()] 
[bool TupCommandExecutor::createFrame(TupFrameResponse*)] 
[TupScene* TupProject::scene(int) const] 0
[void TupProjectManager::emitResponse(TupProjectResponse*)] 1
[virtual void TupExposureSheet::frameResponse(TupFrameResponse*)] 
[void TupExposureSheet::setScene(int)] 
[void TupExposureTable::selectFrame(int, int)] 
[void TupExposureTable::emitRequestSelectFrame(int, int, int, int)] 
[void TupExposureSheet::selectFrame(int, int)] 
[virtual void TupProjectManager::handleLocalRequest(const TupProjectRequest*)] 
[virtual void TupExposureSheet::frameResponse(TupFrameResponse*)] 
[void TupExposureTable::selectFrame(int, int)] 
[void TupMainWindow::setWorkSpace(const QStringList&)] 
[Initializing TupDocumentView]
[TupGraphicsScene::TupGraphicsScene()] 
[void TupGraphicsScene::setCurrentFrame(int, int)] 
[void TupPaintAreaBase::setUseOpenGL(bool)] false
[TupPaintArea::TupPaintArea(TupProject*, QWidget*)] 
[void TupPaintArea::setCurrentScene(int)] 
[TupScene* TupProject::scene(int) const] 0
[void TupGraphicsScene::setCurrentFrame(int, int)] 
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
[void TupGraphicsScene::setCurrentFrame(int, int)] 
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
-> Unsopported render, switching to native!
[void TupPaintAreaBase::setUseOpenGL(bool)] false
[void TupPaintArea::updateSpaceContext()] 
[void TupPaintArea::updatePaintArea()] 
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
[void TupPaintArea::setPreviousFramesOnionSkinCount(int)] 
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
[void TupPaintArea::setNextFramesOnionSkinCount(int)] 
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
[Initializing TupCameraWidget]
[Initializing TupScreen]
[void TupScreen::initPhotogramsArray()] 
[void TupScreen::updateFirstFrame()] 
[TupScene* TupProject::scene(int) const] 0
[TupGraphicsScene::TupGraphicsScene()] 
[void TupGraphicsScene::setCurrentFrame(int, int)] 
[void TupGraphicsScene::setCurrentFrame(int, int)] 
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
[Destroying ~TupGraphicsScene]
[void TupScreen::updateSceneIndex(int)] 
[Initializing TupCameraBar]
[Initializing TupCameraStatus]
[TupScene* TupProject::scene(int) const] 0
[void TupScreen::setLoop(bool)] 
[virtual QSize TupScreen::sizeHint() const] 

*** Fatal error: tupi is crashing with signal 8 :(
Running command: "/usr/bin/gdb -n -nw -batch -ex where /usr/bin/tupi.bin --pid=21641"
Running command: "file /usr/bin/tupi.bin"
[void TupCrashWidget::addBacktracePage(const QString&, const QString&)] "/usr/bin/tupi.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]<p></p>=f7b98ca05af60f21303f2527466db547baa6a7b7, stripped
" "[Thread debugging using libthread_db enabled]<p></p> Using host libthread_db library "/lib/i686/libthread_db.so.1". 0xb76e9bcc in __kernel_vsyscall () <p></p>#0 0xffffffff in __kernel_vsyscall () <p></p>#1 0xffffffff in __waitpid_nocancel () at /lib/i686/libpthread.so.0 <p></p>#2 0x0806762c in () <p></p>#3 0xffffffff in <signal handler called> () <p></p>#4 0xffffffff in TupGradientViewer::normalizePoint(QPointF const&) () at /usr/lib/tupi/libtupi.so.1 <p></p>#5 0xffffffff in TupGradientViewer::gradient() () at /usr/lib/tupi/libtupi.so.1 <p></p>#6 0xffffffff in TupGradientCreator::changeGradientStops(QVector<QPair<double, QColor> > const&) () at /usr/lib/tupi/libtupi.so.1 <p></p>#7 0xffffffff in () at /usr/lib/tupi/libtupi.so.1 <p></p>#8 0xffffffff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib/libQtCore.so.4 <p></p>#9 0xffffffff in TupGradientSelector::gradientChanged(QVector<QPair<double, QColor> > const&) () at /usr/lib/tupi/libtupi.so.1 <p></p>#10 0xffffffff in TupGradientSelector::setCurrentColor(QColor const&) () at /usr/lib/tupi/libtupi.so.1 <p></p>#11 0xffffffff in TupGradientCreator::setCurrentColor(QColor const&) () at /usr/lib/tupi/libtupi.so.1 <p></p>#12 0xffffffff in TupColorPalette::init() () at /usr/lib/tupi/libtupicolorpalette.so.1 <p></p>#13 0x0805923b in () <p></p>#14 0x0805a785 in () <p></p>#15 0x0805dd95 in () <p></p>#16 0x08075ac3 in () <p></p>#17 0xffffffff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib/libQtCore.so.4 <p></p>#18 0xffffffff in QAction::triggered(bool) () at /lib/libQtGui.so.4 <p></p>#19 0xffffffff in QAction::activate(QAction::ActionEvent) () at /lib/libQtGui.so.4 <p></p>#20 0xffffffff in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () at /lib/libQtGui.so.4 <p></p>#21 0xffffffff in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () at /lib/libQtGui.so.4 <p></p>#22 0xffffffff in QMenu::mouseReleaseEvent(QMouseEvent*) () at /lib/libQtGui.so.4 <p></p>#23 0xffffffff in QWidget::event(QEvent*) () at /lib/libQtGui.so.4 <p></p>#24 0xffffffff in QMenu::event(QEvent*) () at /lib/libQtGui.so.4 <p></p>#25 0xffffffff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/libQtGui.so.4 <p></p>#26 0xffffffff in QApplication::notify(QObject*, QEvent*) () at /lib/libQtGui.so.4 <p></p>#27 0xffffffff in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib/libQtCore.so.4 <p></p>#28 0xffffffff in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib/libQtGui.so.4 <p></p>#29 0xffffffff in QETWidget::translateMouseEvent(_XEvent const*) () at /lib/libQtGui.so.4 <p></p>#30 0xffffffff in QApplication::x11ProcessEvent(_XEvent*) () at /lib/libQtGui.so.4 <p></p>#31 0xffffffff in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib/libQtGui.so.4 <p></p>#32 0xffffffff in g_main_context_dispatch () at /lib/libglib-2.0.so.0 <p></p>#33 0xffffffff in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0 <p></p>#34 0xffffffff in g_main_context_iteration () at /lib/libglib-2.0.so.0 <p></p>#35 0xffffffff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4 <p></p>#36 0xffffffff in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtGui.so.4 <p></p>#37 0xffffffff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4 <p></p>#38 0xffffffff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4 <p></p>#39 0xffffffff in QCoreApplication::exec() () at /lib/libQtCore.so.4 <p></p>#40 0xffffffff in QApplication::exec() () at /lib/libQtGui.so.4 <p></p>#41 0x08055280 in () <p></p>#42 0xffffffff in __libc_start_main () at /lib/i686/libc.so.6 <p></p>#43 0x08055d2c in ()"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Coloring Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Compound Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Line Selection"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Eraser"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Internal fill"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Line fill"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Rectangle"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Ellipse"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Line"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Ink"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Opacity Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Pencil"
-> TupDocumentView::loadPlugins() - Tool Loaded: "PolyLine"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Position Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Rotation Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Scale Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Select"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Shear Tween"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Text"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Zoom In"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Zoom Out"
-> TupDocumentView::loadPlugins() - Tool Loaded: "Hand"
[void TupDocumentView::selectTool()] 
[void TupPaintArea::setCurrentTool(QString)] 
tool = "Pencil"
[Initializing Settings]
-> TupGraphicsScene::drawBackground() - Dynamic background frame is empty
-> TupGraphicsScene::drawBackground() - Static background frame is empty
[virtual void PencilTool::init(TupGraphicsScene*)] 
[void TupDocumentView::selectToolFromMenu(QAction*)] 
***** TupDocumentView::selectToolFromMenu() - Error: Action with NO parent! Aborting... *****



Reproducible: 

Steps to Reproduce:
Alex Loginov 2015-01-05 23:54:35 CET

Keywords: (none) => Triaged
CC: (none) => remi
Assignee: bugsquad => juan.baptiste

Comment 1 Alex Loginov 2015-01-08 18:53:01 CET
Fixed in tupi-0.2-1.git04.6.mga5. Thanks to author for fast fix.
He recommended go to qt5 with tupi-git05 after Mageia 5 release for Mageia 6.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.