twinkle doesn't start (stack smashing detected) (Lubuntu 18.04)

Bug #1824986 reported by Dima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtdeclarative-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Won't Fix
Undecided
Unassigned

Bug Description

The console output:

$ twinkle
QApplication: invalid style override passed, ignoring it.
Language name: "en"
mprotect failed in ExecutableAllocator::makeExecutable: Permission denied
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)
$

I've attached a strace output file.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: twinkle 1:1.10.1+dfsg-3
ProcVersionSignature: Ubuntu 4.15.0-47.50-generic 4.15.18
Uname: Linux 4.15.0-47-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: LXDE
Date: Tue Apr 16 15:29:30 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2018-06-11 (309 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: twinkle
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dima (dima2017) wrote :
summary: - twinkle doesn't start (stack smashing detected)
+ twinkle doesn't start (stack smashing detected) (Lubuntu 18.04)
Revision history for this message
Dima (dima2017) wrote :

And I have /home and /tmp mounted with noexec.

Does anyone know how to find <email address hidden> in "Subscribe someone else"?

Revision history for this message
Frédéric Brière (fbriere) wrote :

Hi, Twinkle upstream co-maintainer here. If you could, please open an issue on our GitHub tracker[1], along with a backtrace[2]. (The strace attachment was appreciated, but it didn't really help in this case, unfortunately.) Thanks!

[1] https://github.com/LubosD/twinkle/issues
[2] https://github.com/LubosD/twinkle/wiki/Generating-a-backtrace

Revision history for this message
Dima (dima2017) wrote :
Revision history for this message
Dima (dima2017) wrote :
no longer affects: twinkle-sip-client
affects: twinkle (Ubuntu) → qtdeclarative-opensource-src (Ubuntu)
Revision history for this message
Frédéric Brière (fbriere) wrote :

Thank you very much for the backtrace.

It would appear this is actually a bug within Qt (libqt5qml5 from the looks of it). I managed to find a KDE bug[1] with a similar backtrace, and their conclusion was the same (though they pointed to QtQuick as the culprit). In any case, I have reassigned this bug to qtdeclarative-opensource-src.

In the meantime, could you generate another backtrace, this time after installing the libqt5qml5-dbgsym, libqt5widgets5-dbgsym and libqt5core5a-dbgsym packages? This should provide more information to help the Qt team diagnose this bug.

Thanks, and good luck!

[1] https://bugs.kde.org/show_bug.cgi?id=401686

Revision history for this message
Dima (dima2017) wrote :

Thank YOU, tremendous super cosmo-heroes.

Revision history for this message
Dima (dima2017) wrote :

The previous gdb was with qt 5.9.5+dfsg-0ubuntu2.1 from ubuntu-security. This one is with qt 5.9.5+dfsg-0ubuntu2.3 from proposed updates.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Hi Dima!

This looks like https://bugreports.qt.io/browse/QTBUG-58508 to me. According to that bug, it is fixed in Qt 5.11, however the change is too large to backport to 5.9.

Exporting QML_DISABLE_DISK_CACHE=1 should help as a workaround — can you try that?

Revision history for this message
Dima (dima2017) wrote :

Yes, this does help. Thank you.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for confirming, adjusting the bug status accordingly.

no longer affects: twinkle (Ubuntu)
Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → Fix Released
Changed in qtdeclarative-opensource-src (Ubuntu Bionic):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.