https://bugs.kde.org/show_bug.cgi?id=501986

            Bug ID: 501986
           Summary: kdialog crash when opened by VSCode
    Classification: Applications
           Product: kdialog
           Version: 23.08.5
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: br...@frogmouth.net
          Reporter: ni...@nosun.ca
  Target Milestone: ---

Application: kdialog (23.08.5)

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.11.0-19-generic x86_64
Windowing System: X11
Distribution: Ubuntu 24.04.2 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Trying to open a new file or folder in vs code results in this crash and being
unable to open another code repository.  This issue has been on going for a
while but this is the first report because vs code has been updated several
times and the problem remains.

VSCode is installed via snap.  This does not affect firefox which is also
installed via snap.

The crash can be reproduced every time.

-- Backtrace:
Application: kdialog (kdialog), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=<optimized out>) at
./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#7  0x00007b6159e4527e in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x00007b6159e288ff in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007b615a2a5ff5 in __gnu_cxx::__verbose_terminate_handler () at
../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#10 0x00007b615a2bb0da in __cxxabiv1::__terminate (handler=<optimized out>) at
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#11 0x00007b615a2a5a55 in std::terminate () at
../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:58
#12 0x00007b615a2a5a6f in __cxxabiv1::__cxa_rethrow () at
../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:136
#13 0x00007b615a6d7998 in QList<QString>::append (this=<optimized out>, t=...)
at ../../include/QtCore/../../src/corelib/tools/qlist.h:646
#14 0x00007b615a9afc3a in QList<QString>::push_back (t=...,
this=0x7fffa80b3520) at
../../include/QtCore/../../src/corelib/tools/qlist.h:377
#15 std::stack<QString, QStringList>::push (__x=..., this=0x7fffa80b3520) at
/usr/include/c++/13/bits/stl_stack.h:266
#16 QMimeDatabasePrivate::inherits (this=this@entry=0x7b615ab72d40 <(anonymous
namespace)::Q_QGS_staticQMimeDatabase::innerFunction()::holder>, mime=...,
parent=...) at mimetypes/qmimedatabase.cpp:443
#17 0x00007b615a9b0322 in QMimeDatabasePrivate::mimeInherits
(this=0x7b615ab72d40 <(anonymous
namespace)::Q_QGS_staticQMimeDatabase::innerFunction()::holder>, mime=...,
parent=...) at mimetypes/qmimedatabase.cpp:310
#18 0x00007b615a1d0f2a in KBuildSycoca::recreate(bool) () from
/lib/x86_64-linux-gnu/libKF5Service.so.5
#19 0x00007b615a1bd9a0 in KSycocaPrivate::buildSycoca() () from
/lib/x86_64-linux-gnu/libKF5Service.so.5
#20 0x00007b615a1bed72 in KSycoca::ensureCacheValid() () from
/lib/x86_64-linux-gnu/libKF5Service.so.5
#21 0x00007b615a1b685a in KServiceTypeTrader::defaultOffers(QString const&,
QString const&) const () from /lib/x86_64-linux-gnu/libKF5Service.so.5
#22 0x00007b615a1b6a61 in KServiceTypeTrader::query(QString const&, QString
const&) const () from /lib/x86_64-linux-gnu/libKF5Service.so.5
#23 0x00007b6155aff90e in KIO::PreviewJobPrivate::loadAvailablePlugins () at
/usr/src/kio-5.115.0-0ubuntu6/src/widgets/previewjob.cpp:195
#24 0x00007b6155af887a in KIO::PreviewJob::supportedMimeTypes () at
/usr/src/kio-5.115.0-0ubuntu6/src/widgets/previewjob.cpp:1053
#25 0x00007b6155c0603d in KDirOperatorPrivate::checkPreviewInternal
(this=0x55fc492df6b0) at
/usr/src/kio-5.115.0-0ubuntu6/src/filewidgets/kdiroperator.cpp:1493
#26 0x00007b6155c0d1d9 in KDirOperator::checkPreviewSupport
(this=0x55fc493e3300) at /usr/include/c++/13/bits/unique_ptr.h:199
#27 0x00007b6155c0d273 in KDirOperator::clearFilter (this=<optimized out>) at
/usr/src/kio-5.115.0-0ubuntu6/src/filewidgets/kdiroperator.cpp:1207
#28 0x00007b6155c2c159 in KFileWidget::setFilter
(this=this@entry=0x55fc4931d330, filter=...) at
/usr/src/kio-5.115.0-0ubuntu6/src/filewidgets/kfilewidget.cpp:536
#29 0x00007b6155ce4ee2 in KDEPlatformFileDialogHelper::initializeDialog
(this=0x55fc49147530) at
/usr/src/plasma-integration-5.27.11-0ubuntu3/src/platformtheme/kdeplatformfiledialoghelper.cpp:318
#30 0x00007b6155cec190 in KDEPlatformFileDialogHelper::show
(this=this@entry=0x55fc49147530, windowFlags=...,
windowModality=Qt::ApplicationModal, parent=parent@entry=0x0) at
/usr/src/plasma-integration-5.27.11-0ubuntu3/src/platformtheme/kdeplatformfiledialoghelper.cpp:374
#31 0x00007b615b989bb8 in QDialogPrivate::setNativeDialogVisible
(this=this@entry=0x55fc49138270, visible=visible@entry=true) at
dialogs/qdialog.cpp:199
#32 0x00007b615b99f4cf in QFileDialog::setVisible (this=0x7fffa80b4170,
visible=<optimized out>) at dialogs/qfiledialog.cpp:886
#33 0x00007b615b98ad69 in QDialog::exec (this=this@entry=0x7fffa80b4170) at
dialogs/qdialog.cpp:593
#34 0x000055fc0b556084 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/kdialog-4:23.08.5-0ubuntu4/src/kdialog.cpp:902
[Inferior 1 (process 10233) detached]

The reporter indicates this bug may be a duplicate of or related to bug 501600.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to