Brewtarget 3.0.3-1 segfaults upon start

Bug #2004076 reported by Athos Ribeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brewtarget (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On a lunar system, brewtarget fails to start.

This is the error I get when trying to do so:

Thread 1 "brewtarget" received signal SIGSEGV, Segmentation fault.
doActivate<false> (sender=0x0, signal_index=9, argv=0x7fffffffd480) at kernel/qobject.cpp:3801
3801 QObjectPrivate *sp = QObjectPrivate::get(sender);

sender seems to be a null pointer here.

I did find a similar issue with wireshark in the past at https://bugs.gentoo.org/754021, which suggests this may be an LTO issue.

Here is a backtrace of the failure:

(gdb) bt
#0 doActivate<false> (sender=0x0, signal_index=9, argv=0x7fffffffd480) at kernel/qobject.cpp:3801
#1 0x00007ffff62ecaa7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffff6cc10c0 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
    argv=argv@entry=0x7fffffffd480) at kernel/qobject.cpp:3979
#2 0x00007ffff6734166 in QGuiApplication::screenAdded (this=<optimized out>, _t1=<optimized out>, _t1@entry=0xa1efd0) at .moc/moc_qguiapplication.cpp:389
#3 0x00007ffff6718692 in QWindowSystemInterface::handleScreenAdded (ps=ps@entry=0x977630, isPrimary=<optimized out>) at kernel/qwindowsysteminterface.cpp:826
#4 0x00007ffff12fca90 in QXcbConnection::initializeScreens (this=this@entry=0x9783b0) at qxcbconnection_screens.cpp:413
#5 0x00007ffff12d3dc4 in QXcbConnection::QXcbConnection (this=0x9783b0, nativeInterface=<optimized out>, canGrabServer=<optimized out>, defaultVisualId=4294967295, displayName=<optimized out>)
    at qxcbconnection.cpp:103
#6 0x00007ffff12d7519 in QXcbIntegration::QXcbIntegration (this=this@entry=0x978290, parameters=..., argc=@0x7fffffffdacc: 1, argv=argv@entry=0x7fffffffdcb8)
    at ../../../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:138
#7 0x00007ffff7fbb510 in QXcbIntegrationPlugin::create (this=<optimized out>, system=..., parameters=..., argc=@0x7fffffffdacc: 1, argv=0x7fffffffdcb8) at qxcbmain.cpp:56
#8 0x00007ffff673851a in init_platform (argv=<optimized out>, argc=<optimized out>, platformThemeName=..., platformPluginPath=..., pluginNamesWithArguments=...) at kernel/qguiapplication.cpp:1223
#9 QGuiApplicationPrivate::createPlatformIntegration (this=0x8b7400) at kernel/qguiapplication.cpp:1477
#10 0x00007ffff6739ae8 in QGuiApplicationPrivate::createEventDispatcher (this=<optimized out>) at kernel/qguiapplication.cpp:1494
#11 0x00007ffff62c18f5 in QCoreApplicationPrivate::init (this=this@entry=0x8b7400) at kernel/qcoreapplication.cpp:835
#12 0x00007ffff673c9f0 in QGuiApplicationPrivate::init (this=this@entry=0x8b7400) at kernel/qguiapplication.cpp:1523
#13 0x00007ffff6f7155d in QApplicationPrivate::init (this=0x8b7400) at kernel/qapplication.cpp:513
#14 0x00007ffff6f71640 in QApplication::QApplication (this=this@entry=0x7fffffffdb30, argc=@0x7fffffffdacc: 1, argv=argv@entry=0x7fffffffdcb8, _internal=_internal@entry=331526) at kernel/qapplication.cpp:501
#15 0x00000000004d5dc4 in main (argc=<optimized out>, argv=0x7fffffffdcb8) at ./src/main.cpp:89

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package brewtarget - 3.0.3-1ubuntu1

---------------
brewtarget (3.0.3-1ubuntu1) lunar; urgency=medium

  * Disable LTO. (LP: #2004076)

 -- Athos Ribeiro <email address hidden> Sat, 28 Jan 2023 12:35:20 -0300

Changed in brewtarget (Ubuntu):
status: New → Fix Released
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.