Ubuntu Disco: Crash on trying to draw

Dear all,

What I tried is:

  • Compiled Seamly2D on Ubuntu Disco
  • Started the program
  • Started a new project

Now I received a bunch of messages of the types

  • QPainter::begin: Paint device returned Engine == 0, type: 2
  • QPainter: setPen: Painter not active
  • QPainter: setBrush: Painter not active
  • QPainter: setRenderHint: Painter must be active to set rendering hints

then the program crashes. The same happens when I try to use the PPA.

Backtrace:

#0  0x00007ffff760d0c0 in QTransform::type() const ()
   at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007ffff75a27b4 in QRasterPaintEngine::drawImage(QPointF const&, QImage const&) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007ffff75a85ee in QRasterPaintEngine::drawPixmap(QPointF const&, QPixmap const&) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#3  0x00007ffff75bb991 in QPainter::drawPixmap(QPointF const&, QPixmap const&)
   () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#4  0x00007ffff7a06808 in QFusionStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff7abeba7 in QAbstractSpinBox::paintEvent(QPaintEvent*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007ffff796b7c8 in QWidget::event(QEvent*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff7ac16a9 in QAbstractSpinBox::event(QEvent*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff792d491 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
   () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff7934ad0 in QApplication::notify(QObject*, QEvent*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00005555556aea06 in  ()
#11 0x00007ffff6a0c039 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
  ) at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff796436a in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff7964c27 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff7965821 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff7965710 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff7965710 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff7965710 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff79648ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff7965821 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff79648ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff7965821 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff79648ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7965821 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff79648ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff7965821 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff79648ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff7965821 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff7965710 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff79648ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff793c86c in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff793ca19 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff7953ae5 in QWidgetPrivate::syncBackingStore() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff796b8f8 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff7a71ed4 in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#35 0x00007ffff792d491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff7934ad0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00005555556aea06 in  ()
#38 0x00007ffff6a0c039 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff6a0f02b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff7c2c631 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007ffff7c319d9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ffff6a35b42 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007ffff7c3d93b in QGraphicsScene::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff792d491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff7934ad0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00005555556aea06 in  ()
#47 0x00007ffff6a0c039 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007ffff6a0f02b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff6a5e6e3 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007ffff564dc3e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ffff564ded8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ffff564df6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007ffff6a5dd13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007ffff2988851 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#55 0x00007ffff6a0ad0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007ffff6a12e82 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x000055555564097b in  ()
#58 0x00007ffff624a09b in __libc_start_main (main=
   0x555555640480, argc=1, argv=0x7fffffffdf18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf08)
   at ../csu/libc-start.c:308
#59 0x0000555555649cba in  ()

Debug messages from the program:

DEBUG:Log file /home/gunter/.config/Seamly2DTeam/seamly2d-pid11347.log was locked.
DEBUG:Clearing old logs
DEBUG:Version: "0.6.0.1"
DEBUG:Build revision: Git:4e9c897236ce
DEBUG:"Based on Qt 5.11.2 (GCC 8.2.0, 64 bit)"
DEBUG:Built on Nov 19 2018 at 08:06:45
DEBUG:Command-line arguments: ("/usr/bin/seamly2d")
DEBUG:Process ID: 11347
DEBUG:Checked locale: "en_GB"
DEBUG:Initialization property browser.
DEBUG:Initialization groups dock.
DEBUG:Can't get tag Groups.
DEBUG:Updating recent file actions.
DEBUG:Autosaving each 1 minutes.
DEBUG:Reading settings.
[New Thread 0x7fffcffff700 (LWP 11357)]
DEBUG:Set current name to ""
DEBUG:New PP.
DEBUG:Generated PP name: Pattern piece 1
DEBUG:First PP
DEBUG:PP name: Pattern piece 1
DEBUG:Redo.
DEBUG:Parsing pattern.
DEBUG:Lite parse.
DEBUG:Tag version.
DEBUG:Tag unit.
DEBUG:Tag description.
DEBUG:Tag notes.
DEBUG:Tag measurements.
DEBUG:Tag increments.
DEBUG:Tag draw.
DEBUG:Tag calculation.
DEBUG:Tag point.
DEBUG:Tag modeling.
DEBUG:Tag details.
DEBUG:Current pattern piece Pattern piece 1
QWidget::repaint: Recursive repaint detected
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
QBackingStore::endPaint() called with active painter on backingstore paint device
WARNING:QPainter::begin: Paint device returned engine == 0, type: 2
WARNING:QPainter::setPen: Painter not active
WARNING:QPainter::setBrush: Painter not active
WARNING:QPainter::setRenderHint: Painter must be active to set rendering hints
WARNING:QPainter::begin: Paint device returned engine == 0, type: 2
WARNING:QPainter::setPen: Painter not active
WARNING:QPainter::setBrush: Painter not active

you are the first one I have heard of who is trying to compile on Ubuntu Disco. Is there a reason you can’t just use the launchpad ppa versions? they include

packages for Bionic, Artful, Zesty, Xenial, and Trusty.

also, are you attempting to compile inside QtCreator? If you are compiling outside that framework?

Have you examined the appveyor.yml and travis.yml files on the repository? that will give you a feel for what configurations have been proven.

@gunterkoenigsmann, I did not even realize the repository I set up in launchpad is actually building the code under disco. https://code.launchpad.net/~chilil93/+recipe/seamly2d-test-daily-daily Feel free to take a look

I tried to compile it by manually invoking qmake and make. All I had to do in order to make the program compile is to add the new GCC version to the file for qmake.

If I use a PPA I gez the same result as if I had compiled the software by myself => seamly2d seems to be somehow incompatible with something from qt from the upcoming Ubuntu version.

As disco is still upcoming I am not surprised nor disappointed that something doesn’t work there.

Sorry for my late answer: I didn’t interpret the mail from this forum right.

1 Like

0001-Added-the-new-gcc-version-to-Seamly2D.pro.txt (2.4 KB)

The patch that makes Seamly2D at least compile on Disco.

1 Like

I’ve now tried to install seamly2d on the Ubuntu Cosmic release instead.

With this setup I can draw lines. But the “create points” tool crashes seamly2d here, too.

1 Like

Backtrace of the crash:

#0  0x00007ffff761f920 in QTransform::type() const ()
    at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007ffff75b51b4 in QRasterPaintEngine::drawImage(QPointF const&, QImage const&) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007ffff75baebe in QRasterPaintEngine::drawPixmap(QPointF const&, QPixmap const&) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#3  0x00007ffff75ce231 in QPainter::drawPixmap(QPointF const&, QPixmap const&)
    () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#4  0x00007ffff7a06898 in QFusionStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff7abebf7 in QAbstractSpinBox::paintEvent(QPaintEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007ffff796b7d8 in QWidget::event(QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff7ac16f9 in QAbstractSpinBox::event(QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff792d4a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff7934ae0 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00005555556aea06 in  ()
#11 0x00007ffff69c3499 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
   ) at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff796437a in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff7964c37 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff7965831 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff7965720 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff7965720 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff7965720 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff79648bc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff7965831 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff79648bc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff7965831 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff79648bc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7965831 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff79648bc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff7965831 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff79648bc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff7965831 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff7965720 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff79648bc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff793c87c in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff793ca29 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff7953af5 in QWidgetPrivate::syncBackingStore() () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff796b908 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff7a71f34 in QMainWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff792d4a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff7934ae0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00005555556aea06 in  ()
#38 0x00007ffff69c3499 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff69c648b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ffff7c2c471 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007ffff7c31819 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ffff69ecf92 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007ffff7c3d77b in QGraphicsScene::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff792d4a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff7934ae0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00005555556aea06 in  ()
#47 0x00007ffff69c3499 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007ffff69c648b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff6a15b23 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007ffff511ec3e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ffff511eed8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ffff511ef6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007ffff6a15143 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#54 0x00007ffff1aade51 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#55 0x00007ffff69c216b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#56 0x00007ffff69ca2e2 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#57 0x000055555564097b in  ()
#58 0x00007ffff621b09b in __libc_start_main (main=0x555555640480, argc=1, argv=0x7fffffffdf58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf48)
    at ../csu/libc-start.c:308
#59 0x0000555555649cba in  ()
1 Like

I see your posts but I have no idea how to help you. I don’t know Ubuntu at all and programming even less :frowning:

I’m hoping @kmf or one of the programmers will see your post and have some ideas for you.

Thanks for your reply!

…and there is not too much need to worry: I am currently very busy even without trying to make my own clothes so if one day the problem will be fixed I am happy. Until then I at least tried to provide backtraces: often a backtrace tells exactly which line a crash occurred in and if not it tells which function called the function that crashed with wrong parameters or which function called this one. Often using a backtrace allows to fix problems within minutes. But sometimes they are misleading instead (be it because the crash occurred because something corrupted data including the data that should have been part of the backtrace) or tell what happened without giving any hint why.

1 Like

@gunterkoenigsmann to be clear, nobody associated with this forum is likely to pay attention to issues that are specific to the Disco version. The source for Seamly is simply uploaded to launchpad, where it is incorporated into a nightly build. Once the ubuntu developers get everything done for the Disco version, in a perfect world, Seamly will simply be compiled with a version that works for Disco.

I personally am interested in what you have to share on this subject but I am unable to be much help in your efforts, I simply have no time to pay attention.

If you want more insight into this process, I believe that you will find it on launchpad.net

You can search for Qt ubuntu and see what others are doing. What I can tell you is that the build process for Seamly on launchpad links to a library to interface between seamly and Qt. To my knowledge that library has not yet been finalized for Disco.

So, if you really want to delve into the interface between Seamly and Qt, it would be useful if you want to continue to post what you find here. I just do not want you to expect much help, since this is not a forum to reach those who are actually working on that issue.

I believe this is also the case with the valentina fork. The use of Qt adds a level of abstraction so that the developers do not need to be particularly aware of the differences between windows, various linux distributions, and mac.

1 Like

@gunterkoenigsmann you might take a look at the account I created from “scratch” with no privileges. I started by cloning the seamly repository, then I set up a new account on launchpad.net

here is a link to the launchpad account here https://code.launchpad.net/~chilil93/+recipe/seamly2d-test-daily-daily

You can create your own launchpad account and link your own (github) repository to it and let launchpad do the build for you.

1 Like