Bug 448164 - After clicking on Rocs app icon in KDE neon user everytime, it crashes everytime.
Summary: After clicking on Rocs app icon in KDE neon user everytime, it crashes everyt...
Status: REPORTED
Alias: None
Product: Rocs
Classification: Applications
Component: general (show other bugs)
Version: 21.12.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Rocs Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-01-09 14:40 UTC by mengkemingniu
Modified: 2022-05-03 10:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mengkemingniu 2022-01-09 14:40:05 UTC
Application: rocs (21.12.0)

Qt Version: 5.15.3
Frameworks Version: 5.89.0
Operating System: Linux 5.11.0-44-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Just click on Rocs app icon
Everytime after clicking on its app icon, Rocs always crashes everytime.Can't open Rocs app and can't use it.

The crash can be reproduced every time.

-- Backtrace:
Application: Rocs (rocs), signal: Segmentation fault

[New LWP 3816]
[New LWP 3817]
[New LWP 3818]
[New LWP 3819]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007efe25cbbaff in __GI___poll (fds=0x7ffc309f2df8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7efe20f070c0 (LWP 3814))]

Thread 5 (Thread 0x7efe1cb29700 (LWP 3819)):
#0  0x00007efe25cbbaff in __GI___poll (fds=0x7efd8c004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efe2362c36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efe2362c4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efe2628964b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efe2622d8cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efe260472e2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efe2604847c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efe24398609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007efe25cc8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7efe1df6f700 (LWP 3818)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7efe27b10fd8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7efe27b10f88, cond=0x7efe27b10fb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7efe27b10fb0, mutex=0x7efe27b10f88) at pthread_cond_wait.c:638
#3  0x00007efe27a1363a in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007efe27a1365f in ?? () from /lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007efe24398609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efe25cc8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7efe1f2a8700 (LWP 3817)):
#0  0x00007efe25cbbaff in __GI___poll (fds=0x7efe10022ae0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efe2362c36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efe2362c4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efe2628964b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efe2622d8cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efe260472e2 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efe2418af4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007efe2604847c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efe24398609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007efe25cc8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7efe20098700 (LWP 3816)):
#0  0x00007efe25cbbaff in __GI___poll (fds=0x7efe20097ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efe230b9c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007efe230bb90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007efe207cee88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007efe2604847c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efe24398609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efe25cc8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7efe20f070c0 (LWP 3814)):
[KCrash Handler]
#4  0x000056159e0a7966 in QConcatenable<QString>::size (a=...) at ./src/project/project.cpp:210
#5  QConcatenable<QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString> >::size (p=..., p=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:424
#6  QConcatenable<QStringBuilder<QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString>, QString> >::size (p=..., p=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:424
#7  QStringBuilder<QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString>, QString>::convertTo<QString> (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:111
#8  QStringBuilder<QStringBuilder<QStringBuilder<QString, QLatin1Char>, QString>, QString>::operator QString (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:131
#9  Project::createCodeDocument (this=this@entry=0x56159f6d3a70, filePath=...) at ./src/project/project.cpp:211
#10 0x000056159e09c117 in MainWindow::createProject (this=0x56159f3515e0) at /usr/include/KF5/KI18n/klocalizedstring.h:1390
#11 MainWindow::createProject (this=0x56159f3515e0) at ./src/ui/mainwindow.cpp:362
#12 0x000056159e09e44c in MainWindow::MainWindow (this=0x56159f3515e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/ui/mainwindow.cpp:81
#13 0x000056159e09149f in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:73
[Inferior 1 (process 3814) detached]

Possible duplicates by query: bug 391363, bug 390214.

Reported using DrKonqi
Comment 1 Andreas Cord-Landwehr 2022-01-09 19:25:39 UTC
Thank you for your report! It would be great, if you could use a little bit more and attach the log messages produced by Rocs from the moments before this crash happens. The easier way is to open a console application (eg. "Konsole"), write "rocs" and press enter. I would like to see all messages following this command.
Comment 2 mengkemingniu 2022-01-10 12:22:56 UTC
(In reply to Andreas Cord-Landwehr from comment #1)
> Thank you for your report! It would be great, if you could use a little bit
> more and attach the log messages produced by Rocs from the moments before
> this crash happens. The easier way is to open a console application (eg.
> "Konsole"), write "rocs" and press enter. I would like to see all messages
> following this command.

Hi:D you are a kind man:D thanks for replying me:D
I open konsole and type rocs and press enter
then it displays:

rg.kde.rocs.graphtheory.general: Loaded plugin: "Graph Layout"
org.kde.rocs.graphtheory.general: Loaded plugin: "Transform Edges"
org.kde.rocs.graphtheory.general: Loaded plugin: "Assign Values Plugin"
org.kde.rocs.graphtheory.general: Loaded plugin: "Generate Graph"
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = rocs path = /usr/bin pid = 1917
KCrash: Arguments: /usr/bin/rocs 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi

[1]+  Stopped                 rocs
Comment 3 Konrad J Hambrick 2022-05-03 10:09:50 UTC
Just to add a me too.

I see more-or-less the same crash as the OP.

I allowed KDE to send a bug report yesterday.

Running Slackware64 15.0 with full KDE install on linux 5.15.37

Thanks

-- kjh

[konrad@kjhlt7 licenses]$ uname -a
Linux kjhlt7.kjh.home 5.15.37.kjh #1 SMP PREEMPT Mon May 2 07:09:46 CDT 2022 x86_64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz GenuineIntel GNU/Linux

This is the output when /usr/bin/rocs is run in a Konsole  Terminal as requested by  Andreas Cord-Landwehr

[konrad@kjhlt7 ~]$ /usr/bin/rocs
org.kde.rocs.graphtheory.general: Loaded plugin: "Generate Graph"
org.kde.rocs.graphtheory.general: Loaded plugin: "Transform Edges"
org.kde.rocs.graphtheory.general: Loaded plugin: "Graph Layout"
org.kde.rocs.graphtheory.general: Loaded plugin: "Assign Values Plugin"
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = rocs path = /usr/bin pid = 7407
KCrash: Arguments: /usr/bin/rocs 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP

[1]+  Stopped                 rocs
[konrad@kjhlt7 ~]$ Unable to find file for pid 7407 expected at "kcrash-metadata/7407.ini"
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...

[1]+  Exit 253                rocs

[konrad@kjhlt7 ~]$ env |grep -e KDE_FULL_SESSION -e XDG_CURRENT_DESKTOP
XDG_CURRENT_DESKTOP=KDE
KDE_FULL_SESSION=true