Fwd: KDevelop Broken in Tumbleweed
Oops, forgot to reply to list, message sent to Yasuhiko alone below: -------- Forwarded Message -------- Subject: Re: KDevelop Broken in Tumbleweed Date: Sun, 11 Aug 2024 21:20:48 -0500 From: David C. Rankin <drankinatty@gmail.com> To: Yasuhiko Kamata <belphegor@belbel.or.jp> On 8/11/24 9:13 PM, Yasuhiko Kamata wrote:
Hello,
I think that the "%u" in the command line is doing something wrong. (SIGSEGV seems to occur in various places)
Try starting the app without "%u" ("kdevelop --profile KDECppIDE") and see if the issue is avoided.
"%u" is a placeholder that should be replaced with a file selected within Konqueror, but it does not seem to be used anywhere..? (right click a cpp file in Konqueror, kdevelop does not apper in the menu).
Thanks,
On Sun, 11 Aug 2024 14:30:23 -0500 "David C. Rankin" <drankinatty@gmail.com> wrote:
Yasuhiko,
There is an odd problem with kdevelop that causes it to crash randomly. Sometimes you can build an example, but sometimes if you simply middle-mouse-paste something into an editor window it crashes. For example, just working with the "simple" example, adding the header kuinqueapplication.h in main.cpp causes the program to crash, e.g.
Here is the output to stderr running from the commandline to catch the output:
$ kdevelop --profile KDECppIDE %u libpng warning: iCCP: known incorrect sRGB profile QLayout "unnamed" added to IndexView "unnamed", which already has a layout libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile QString::arg(): Argument missing: KDE Icon data, kde_icon QObject::connect: No such signal KListBox::clicked(QListBoxItem*item) QObject::connect: (sender name: 'srcDistFileListBox') QObject::connect: (receiver name: 'dist_widget') QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*) QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'problemReporterWidget') ASSERT: "part && parent" in /home/abuild/rpmbuild/BUILD/kdevelop-3.5.5/parts/fileview/partwidget.cpp (41) KCrash: Application 'kdevelop' crashing...
It points to a signal and slot not found,
KListBox::clicked(QListBoxItem*item)
and
ProblemReporter::configWidget(KDialogBase*)
Should I open a bug or do you want to check and see if there is an easy fix?
-- David C. Rankin, J.D.,P.E.
Thank you Yasuhiko! But alas, the %u wasn't the issue. Starting without it causes it to crash right away. Same output to stderr: $ kdevelop --profile KDECppIDE libpng warning: iCCP: known incorrect sRGB profile QLayout "unnamed" added to IndexView "unnamed", which already has a layout libpng warning: iCCP: known incorrect sRGB profile QString::arg(): Argument missing: KDE Icon data, kde_icon QObject::connect: No such signal KListBox::clicked(QListBoxItem*item) QObject::connect: (sender name: 'srcDistFileListBox') QObject::connect: (receiver name: 'dist_widget') QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*) QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'problemReporterWidget') KCrash: Application 'kdevelop' crashing... What else do you think it could be? -- David C. Rankin, J.D.,P.E. -- David C. Rankin, J.D.,P.E.
Thanks for confirmation. I have found out how to reproduce: (1) Start kdevelop3. (2) Create new project with C++ > KDE > Simple KDE Application. (3) "***.cpp" will open automatically, so middle-lick copy-paste in this state. (this problem does not seem to occur after close/reopen it). Please wait for a while.... On Sun, 11 Aug 2024 21:25:42 -0500 "David C. Rankin" <drankinatty@gmail.com> wrote:
Oops, forgot to reply to list, message sent to Yasuhiko alone below:
-------- Forwarded Message -------- Subject: Re: KDevelop Broken in Tumbleweed Date: Sun, 11 Aug 2024 21:20:48 -0500 From: David C. Rankin <drankinatty@gmail.com> To: Yasuhiko Kamata <belphegor@belbel.or.jp>
On 8/11/24 9:13 PM, Yasuhiko Kamata wrote:
Hello,
I think that the "%u" in the command line is doing something wrong. (SIGSEGV seems to occur in various places)
Try starting the app without "%u" ("kdevelop --profile KDECppIDE") and see if the issue is avoided.
"%u" is a placeholder that should be replaced with a file selected within Konqueror, but it does not seem to be used anywhere..? (right click a cpp file in Konqueror, kdevelop does not apper in the menu).
Thanks,
On Sun, 11 Aug 2024 14:30:23 -0500 "David C. Rankin" <drankinatty@gmail.com> wrote:
Yasuhiko,
There is an odd problem with kdevelop that causes it to crash randomly. Sometimes you can build an example, but sometimes if you simply middle-mouse-paste something into an editor window it crashes. For example, just working with the "simple" example, adding the header kuinqueapplication.h in main.cpp causes the program to crash, e.g.
Here is the output to stderr running from the commandline to catch the output:
$ kdevelop --profile KDECppIDE %u libpng warning: iCCP: known incorrect sRGB profile QLayout "unnamed" added to IndexView "unnamed", which already has a layout libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile QString::arg(): Argument missing: KDE Icon data, kde_icon QObject::connect: No such signal KListBox::clicked(QListBoxItem*item) QObject::connect: (sender name: 'srcDistFileListBox') QObject::connect: (receiver name: 'dist_widget') QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*) QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'problemReporterWidget') ASSERT: "part && parent" in /home/abuild/rpmbuild/BUILD/kdevelop-3.5.5/parts/fileview/partwidget.cpp (41) KCrash: Application 'kdevelop' crashing...
It points to a signal and slot not found,
KListBox::clicked(QListBoxItem*item)
and
ProblemReporter::configWidget(KDialogBase*)
Should I open a bug or do you want to check and see if there is an easy fix?
-- David C. Rankin, J.D.,P.E.
Thank you Yasuhiko!
But alas, the %u wasn't the issue. Starting without it causes it to crash right away. Same output to stderr:
$ kdevelop --profile KDECppIDE libpng warning: iCCP: known incorrect sRGB profile QLayout "unnamed" added to IndexView "unnamed", which already has a layout libpng warning: iCCP: known incorrect sRGB profile QString::arg(): Argument missing: KDE Icon data, kde_icon QObject::connect: No such signal KListBox::clicked(QListBoxItem*item) QObject::connect: (sender name: 'srcDistFileListBox') QObject::connect: (receiver name: 'dist_widget') QObject::connect: No such slot ProblemReporter::configWidget(KDialogBase*) QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'problemReporterWidget') KCrash: Application 'kdevelop' crashing...
What else do you think it could be?
-- David C. Rankin, J.D.,P.E.
-- David C. Rankin, J.D.,P.E.
-- Yasuhiko Kamata E-mail: belphegor@belbel.or.jp
On 8/11/24 11:31 PM, Yasuhiko Kamata wrote:
Thanks for confirmation.
I have found out how to reproduce:
(1) Start kdevelop3. (2) Create new project with C++ > KDE > Simple KDE Application. (3) "***.cpp" will open automatically, so middle-lick copy-paste in this state. (this problem does not seem to occur after close/reopen it).
Please wait for a while....
Will do, Thank you for your help!! -- David C. Rankin, J.D.,P.E.
Ok, found a problem and added a patch that fixes it (kdevelop-translationUnit-may-return-NULL.patch). Thanks, On Mon, 12 Aug 2024 00:32:10 -0500 "David C. Rankin" <drankinatty@gmail.com> wrote:
On 8/11/24 11:31 PM, Yasuhiko Kamata wrote:
Thanks for confirmation.
I have found out how to reproduce:
(1) Start kdevelop3. (2) Create new project with C++ > KDE > Simple KDE Application. (3) "***.cpp" will open automatically, so middle-lick copy-paste in this state. (this problem does not seem to occur after close/reopen it).
Please wait for a while....
Will do,
Thank you for your help!!
-- David C. Rankin, J.D.,P.E.
-- Yasuhiko Kamata E-mail: belphegor@belbel.or.jp
participants (2)
-
David C. Rankin
-
Yasuhiko Kamata