Bug 440427

Summary: Plasma crashed releasing(?) a Solid mobile device pointer
Product: [Frameworks and Libraries] frameworks-solid Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED DUPLICATE    
Severity: crash CC: giecrilj, kdelibs-bugs-null, nate, plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.84.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Christopher Yeleighton 2021-07-30 16:42:45 UTC
Application: plasmashell (5.22.3)

Qt Version: 5.15.2
Frameworks Version: 5.84.0
Operating System: Linux 5.13.4-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.3
Distribution: openSUSE Tumbleweed

-- Information about the crash:
- What I was doing when the application crashed:

I plugged an iPhone in and told Discover package notifier to update.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plazma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f08633f1980 (LWP 1678))]
[KCrash Handler]
#6  0x00007f08658e97b9 in __GI___libc_free (mem=0xf2e66c35dec8948) at malloc.c:3288
#7  0x00007f086540cbe1 in idevice_free (device=0x7f086824a9cc <__tls_get_addr+60>) at /usr/src/debug/libimobiledevice-1.3.0+git.20200910-1.5.x86_64/src/idevice.c:409
#8  0x00007f0867ea6d91 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:37
#9  QScopeGuard<Solid::Backends::IMobile::IMobileDevice::IMobileDevice(const QString&)::<lambda()> >::~QScopeGuard (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopeguard.h:80
#10 Solid::Backends::IMobile::IMobileDevice::IMobileDevice (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:72
#11 0x00007f0867ea710f in Solid::Backends::IMobile::Manager::createDevice (this=0x55bda84ac430, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobilemanager.cpp:67
#12 0x00007f0867eadb3c in Solid::DeviceManagerPrivate::createBackendObject(QString const&) [clone .constprop.0] (udi=..., this=<optimized out>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/frontend/devicemanager.cpp:283
#13 0x00007f0867e7a198 in Solid::DeviceManagerPrivate::findRegisteredDevice (udi=..., this=0x55bda849f770) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/frontend/devicemanager.cpp:252
#14 Solid::DeviceManagerPrivate::findRegisteredDevice (udi=..., this=0x55bda849f770) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/frontend/devicemanager.cpp:245
#15 Solid::Device::Device (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/frontend/device.cpp:45
#16 0x00007f0813982d95 in HotplugEngine::onDeviceAdded (this=0x55bda8493e00, udi=...) at /usr/src/debug/plasma5-workspace-5.22.3-1.1.x86_64/dataengines/hotplug/hotplugengine.cpp:201
#17 0x00007f0865f57fb3 in QtPrivate::QSlotObjectBase::call (a=0x7ffc53390640, r=0x55bda8493e00, this=0x55bda7000e00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x55bda849f770, signal_index=3, argv=0x7ffc53390640) at kernel/qobject.cpp:3886
#19 0x00007f0865f5147f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f0867ee2520 <Solid::DeviceNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc53390640) at kernel/qobject.cpp:3946
#20 0x00007f0867e72172 in Solid::DeviceNotifier::deviceAdded (this=<optimized out>, _t1=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/build/src/solid/KF5Solid_autogen/include/moc_devicenotifier.cpp:144
#21 0x00007f0865f4df5e in QObject::event (this=0x55bda849f770, e=0x7f0808001cf0) at kernel/qobject.cpp:1314
#22 0x00007f0866cada7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55bda849f770, e=0x7f0808001cf0) at kernel/qapplication.cpp:3632
#23 0x00007f0865f2196a in QCoreApplication::notifyInternal2 (receiver=0x55bda849f770, event=0x7f0808001cf0) at kernel/qcoreapplication.cpp:1064
#24 0x00007f0865f249b7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55bda6ff10c0) at kernel/qcoreapplication.cpp:1821
#25 0x00007f0865f797d3 in postEventSourceDispatch (s=s@entry=0x55bda70e82c0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f086424580f in g_main_dispatch (context=0x7f085c005000) at ../glib/gmain.c:3337
#27 g_main_context_dispatch (context=0x7f085c005000) at ../glib/gmain.c:4055
#28 0x00007f0864245b98 in g_main_context_iterate (context=context@entry=0x7f085c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#29 0x00007f0864245c4f in g_main_context_iteration (context=0x7f085c005000, may_block=1) at ../glib/gmain.c:4196
#30 0x00007f0865f78e54 in QEventDispatcherGlib::processEvents (this=0x55bda70ebb50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f0865f2036b in QEventLoop::exec (this=this@entry=0x7ffc53390a30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007f0865f28650 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007f086636c1dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#34 0x00007f0866cad9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#35 0x000055bda5e09479 in main (argc=<optimized out>, argv=0x7ffc53390c20) at /usr/src/debug/plasma5-workspace-5.22.3-1.1.x86_64/shell/main.cpp:254
[Inferior 1 (process 1678) detached]

Possible duplicates by query: bug 440377, bug 440343, bug 440175, bug 439991, bug 439721.

Reported using DrKonqi
Comment 1 Christopher Yeleighton 2021-08-03 15:59:09 UTC
Created attachment 140489 [details]
New crash information added by DrKonqi

kate (21.04.3) using Qt 5.15.2

- What I was doing when the application crashed:

I told Facebook to show Notifications.  I also plugged an iPhone in.

-- Backtrace (Reduced):
#6  0x00007f67045eb7b9 in __GI___libc_free (mem=0xf2e66c35dec8948) at malloc.c:3288
#7  0x00007f6702548be1 in idevice_free (device=0x7f6706be59cc <__tls_get_addr+60>) at /usr/src/debug/libimobiledevice-1.3.0+git.20200910-1.5.x86_64/src/idevice.c:409
#8  0x00007f6703b4fd91 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:37
#10 Solid::Backends::IMobile::IMobileDevice::IMobileDevice (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:72
#11 0x00007f6703b5010f in Solid::Backends::IMobile::Manager::createDevice (this=0x55ebf2a73c50, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobilemanager.cpp:67
Comment 2 Christopher Yeleighton 2021-08-03 16:15:03 UTC
Created attachment 140490 [details]
New crash information added by DrKonqi

plasmashell (5.22.4) using Qt 5.15.2

- What I was doing when the application crashed:

I told Facebook to show Notifications.  I also plugged an iPhone in.

-- Backtrace (Reduced):
#6  0x00007ff0ff0487b9 in __GI___libc_free (mem=0xf2e66c35dec8948) at malloc.c:3288
#7  0x00007ff0feb6bbe1 in idevice_free (device=0x7ff1019a99cc <__tls_get_addr+60>) at /usr/src/debug/libimobiledevice-1.3.0+git.20200910-1.5.x86_64/src/idevice.c:409
#8  0x00007ff101605d91 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:37
#10 Solid::Backends::IMobile::IMobileDevice::IMobileDevice (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:72
#11 0x00007ff10160610f in Solid::Backends::IMobile::Manager::createDevice (this=0x564f7a035880, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobilemanager.cpp:67
Comment 3 Christopher Yeleighton 2021-08-03 16:21:46 UTC
Created attachment 140491 [details]
New crash information added by DrKonqi

org_kde_powerdevil (5.22.4) using Qt 5.15.2

- What I was doing when the application crashed:

I told Facebook to show Notifications. I also plugged an iPhone in.

-- Backtrace (Reduced):
#6  0x00007f57297ba7b9 in __GI___libc_free (mem=0x1) at malloc.c:3288
#7  0x00007f5727b60bef in idevice_free (device=0x7ffecd9cb0e0) at /usr/src/debug/libimobiledevice-1.3.0+git.20200910-1.5.x86_64/src/idevice.c:412
#8  0x00007f572951ad91 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:37
#10 Solid::Backends::IMobile::IMobileDevice::IMobileDevice (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:72
#11 0x00007f572951b10f in Solid::Backends::IMobile::Manager::createDevice (this=0x5626fb419190, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobilemanager.cpp:67
Comment 4 Christopher Yeleighton 2021-08-06 13:52:23 UTC
Created attachment 140562 [details]
New crash information added by DrKonqi

plasmashell (5.22.4) using Qt 5.15.2

- What I was doing when the application crashed:

I plugged an iPhone in and told the package manager to install package myspell-fr_FR.

-- Backtrace (Reduced):
#6  0x00007ff4b245e7b9 in __GI___libc_free (mem=0xf2e66c35dec8948) at malloc.c:3288
#7  0x00007ff4b1f81be1 in idevice_free (device=0x7ff4b4dbf9cc <__tls_get_addr+60>) at /usr/src/debug/libimobiledevice-1.3.0+git.20200910-1.5.x86_64/src/idevice.c:409
#8  0x00007ff4b4a1bd91 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:37
#10 Solid::Backends::IMobile::IMobileDevice::IMobileDevice (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:72
#11 0x00007ff4b4a1c10f in Solid::Backends::IMobile::Manager::createDevice (this=0x563d8ad10c60, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobilemanager.cpp:67
Comment 5 Christopher Yeleighton 2021-08-06 13:58:41 UTC
Created attachment 140563 [details]
New crash information added by DrKonqi

org_kde_powerdevil (5.22.4) using Qt 5.15.2

- What I was doing when the application crashed:

I plugged an iPhone in and told the package manager to install package myspell-fr_FR.

-- Backtrace (Reduced):
#6  0x00007f2a514127b9 in __GI___libc_free (mem=0x1) at malloc.c:3288
#7  0x00007f2a4f7b7bef in idevice_free (device=0x7ffeb26a5ec0) at /usr/src/debug/libimobiledevice-1.3.0+git.20200910-1.5.x86_64/src/idevice.c:412
#8  0x00007f2a51172d91 in operator() (__closure=<synthetic pointer>) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:37
#10 Solid::Backends::IMobile::IMobileDevice::IMobileDevice (this=<optimized out>, udi=..., this=<optimized out>, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobiledevice.cpp:72
#11 0x00007f2a5117310f in Solid::Backends::IMobile::Manager::createDevice (this=0x55ce2d940240, udi=...) at /usr/src/debug/solid-5.84.0-2.1.x86_64/src/solid/devices/backends/imobile/imobilemanager.cpp:67
Comment 6 Nate Graham 2025-12-08 22:00:59 UTC

*** This bug has been marked as a duplicate of bug 470321 ***