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

--- Comment #2 from Joshua Houghton <joshua.hough...@yandex.ru> ---
(In reply to Nikita Sirgienko from comment #1)
> Hi, Joshua
> You have reported an interesting and unique problem
> Can you please rebuild Cantor in Debug mode (`cmake -DCMAKE_BUILD_TYPE=Debug
> ..`) and post startup log here?
> This is will be useful for the problem invastigation, if output from line
> 691 (`qDebug()<<"adding panel for "<<plugin->name();`) will be available for
> me.

Thanks Nikita

It looks like the "File Browser" panel that causes it to crash initially. I'll
paste the debug output bellow. Upon further inspection howerver it looks like 
all three panels cause it to segfault. I managed to get it to start by applying
the following patch

jjhough@localhost:~/development/cantor/build$ git diff
diff --git a/src/cantor.cpp b/src/cantor.cpp
index 23698812..9d85e66c 100644
--- a/src/cantor.cpp
+++ b/src/cantor.cpp
@@ -688,6 +688,10 @@ void CantorShell::initPanels()
             continue;
         }

+        if (plugin->name().compare(QString::fromUtf8("File Browser")) == 0)
continue;
+        if (plugin->name().compare(QString::fromUtf8("Help")) == 0) continue;
+        if (plugin->name().compare(QString::fromUtf8("Variable Manager")) ==
0) continue;
+
         qDebug()<<"adding panel for "<<plugin->name();
         plugin->setParentWidget(this);
         plugin->connectToShell(this);

After applying the patch I noticed it crashed when i closed cantor

Adding additional application library path for Cantor plugins loading
"/usr/lib64/qt5/plugins"
dir:  "/usr/lib64/qt5/plugins/cantor/panels"
dir:  "/home/jjhough/development/cantor/build/src/cantor/panels"
dir:  "/usr/lib64/qt5/plugins/cantor/backends"
dir:  "/home/jjhough/development/cantor/build/src/cantor/backends"
"KAlgebra" true true
"Lua" true true
"Maxima" false false
"Octave" false false
"Python" true true
"Qalculate" true true
"Sage" false false
"Scilab" false false
corrupted double-linked list
KCrash: Application 'cantor' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi
Alarm clock


This is the output with debugging enabled and with no patch applied to cantor.
Please let me know if I can be of any further assistance.

jjhough@localhost:~/development/cantor/build$ ./src/cantor
Adding additional application library path for Cantor plugins loading
"/usr/lib64/qt5/plugins"
dir:  "/usr/lib64/qt5/plugins/cantor/panels"
dir:  "/home/jjhough/development/cantor/build/src/cantor/panels"
adding panel for  "File Browser"
KCrash: Application 'cantor' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi
org.kde.drkonqi: found lsb_release
org.kde.drkonqi: Using /proc to determine executable path
org.kde.drkonqi: exe "/home/jjhough/development/cantor/build/src/cantor" has
deleted files: false
org.kde.drkonqi: Executable is:
"/home/jjhough/development/cantor/build/src/cantor"
org.kde.drkonqi: Executable exists: true
org.kde.drkonqi: Check debugger if "gdb" [ "gdb" ] is installed: true
org.kde.drkonqi: Using debugger: "gdb"
org.kde.drkonqi: Enabling drkonqi crash catching
kf.notifications: service is "org.kde.StatusNotifierItem-646305-1"
kf.notifications: Registering a client interface to the KStatusNotifierWatcher
kf.idletime.xsync: 16 counters
kf.idletime.xsync: DEVICEIDLETIME 15 2317
kf.idletime.xsync: DEVICEIDLETIME 14 1725
kf.idletime.xsync: DEVICEIDLETIME 13 1724
kf.idletime.xsync: DEVICEIDLETIME 12 1723
kf.idletime.xsync: DEVICEIDLETIME 11 1722
kf.idletime.xsync: DEVICEIDLETIME 10 1721
kf.idletime.xsync: DEVICEIDLETIME 9 1720
kf.idletime.xsync: DEVICEIDLETIME 8 1719
kf.idletime.xsync: DEVICEIDLETIME 7 1718
kf.idletime.xsync: DEVICEIDLETIME 6 1717
kf.idletime.xsync: DEVICEIDLETIME 5 1716
kf.idletime.xsync: DEVICEIDLETIME 4 1715
kf.idletime.xsync: DEVICEIDLETIME 3 1714
kf.idletime.xsync: DEVICEIDLETIME 2 1713
kf.idletime.xsync: IDLETIME 100
kf.idletime.xsync: XSync seems available and ready
kf.idletime: Trying plugin
"/usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so"
kf.idletime: Using
"/usr/lib64/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so"
for platform "xcb"
kf.idletime.xsync: XSync Inited
kf.idletime.xsync: Supported, init completed
kf.idletime.xsync: Created alarm 163577857
kf.notifications: Calling notify on "Popup"
org.kde.drkonqi: Sending SIGSTOP to process

[1]+  Stopped                 ./src/cantor

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

Reply via email to