Bug 144325 - KDE: can't send crash report because drkonqi intercepts it before
Summary: KDE: can't send crash report because drkonqi intercepts it before
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/how-to-...
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: Crash-Report
  Show dependency treegraph
 
Reported: 2021-09-06 09:25 UTC by Olivier Hallot
Modified: 2023-11-25 00:17 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2021-09-06 09:25:31 UTC
Hi. I use LO7.x from TDF on a Kubuntu 21.04 machine. I’m editing the LibreOffice guides, mostly using Writer and master documents. Styles, images, lists, tables, links and all the stuff.

I get quite a lot of LO crashes and then recoveries.

But I don’t get any way to send a crash report to TDF. I’m a skilled user and I know how to report details.

The combination of LO TDF and Kubuntu is not working to send crash reports.

How can I enable crash report?

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Calc: threaded

Note: On recovering a crash (restore files dialog) there is no option to send a crash report to TDF.

Note2: https://ask.libreoffice.org/t/how-to-enable-crash-report-in-kubuntu-21-04/67004

Note3: if there are pages on crashreport in the wiki, let me know
Comment 1 Xisco Faulí 2021-09-06 10:28:55 UTC
Hi Olivier,
it should definitely work on Windows. On linux, it depends, did you download the installer from the TDF page or do you use a repository ?
Comment 2 Jan-Marek Glogowski 2021-09-06 10:34:51 UTC
This is likely a duplicate of bug 144008. Can you test master or https://dev-builds.libreoffice.org/daily/libreoffice-7-2/ ?
Comment 3 Jan-Marek Glogowski 2021-09-06 10:37:49 UTC
Hmm - the ask link is also for 7.1; I'll try to repo later...
Comment 4 Olivier Hallot 2021-09-06 11:48:48 UTC
(In reply to Xisco Faulí from comment #1)
> Hi Olivier,
> it should definitely work on Windows. On linux, it depends, did you download
> the installer from the TDF page or do you use a repository ?

I always use TDF deb packages.
Comment 5 Olivier Hallot 2021-09-06 20:41:39 UTC
Following  the advise from @Opaque, KDE crash manager (drkonqi) is capturing the crash before LibreOffice Crash manager.
Comment 6 Julien Nabet 2021-09-06 20:43:03 UTC
(In reply to Olivier Hallot from comment #4)
> (In reply to Xisco Faulí from comment #1)
> > Hi Olivier,
> > it should definitely work on Windows. On linux, it depends, did you download
> > the installer from the TDF page or do you use a repository ?
> 
> I always use TDF deb packages.

Oups! deb packages are more for maintainers of repositories. Indeed, they check all required dependencies.
I would have proposed LO ppa but it doesn't propose 7.2.0 and I suppose you need it to write documentation on new features.

The next way would be to build sources, I know it takes some time (but you can do something else when it builds), depending on your machine, but perhaps it could worth it.

Anyway if you want to stick to deb from TDF, just for the test, could you launch LO from terminal and before launching it, type this
export SAL_USE_VCLPLUGIN=gen
?

The goal is to know if it happens only with kf5 rendering or not.
Comment 7 Julien Nabet 2021-09-06 20:43:51 UTC
(In reply to Olivier Hallot from comment #5)
> Following  the advise from @Opaque, KDE crash manager (drkonqi) is capturing
> the crash before LibreOffice Crash manager.

So disabling it temporarily (at least until the next LO crash) could be useful.
Comment 8 Stéphane Guillou (stragu) 2023-11-24 13:05:21 UTC
Olivier, are you still experiencing this with release builds?
And if so, does deactivating drkonqi help, as suggested in comment 7?
Comment 9 Olivier Hallot 2023-11-24 13:38:29 UTC
Yes, I disabled the execution bit of drkonqi in KDE.
Comment 10 Stéphane Guillou (stragu) 2023-11-24 13:49:15 UTC
anon73440385 reproduced on Ask.LO, so let's mark as new: https://ask.libreoffice.org/t/how-to-enable-crash-report-in-kubuntu-21-04/67004

Not sure if anything can be done on our side?
Comment 11 Buovjaga 2023-11-24 13:55:39 UTC
https://community.kde.org/KDE/FAQs/Debugging_FAQ

How do I avoid Dr Konqi?

You must set the environment variable KDE_DEBUG (to 1 or whatever you want in fact).

To get Dr Konqi back, unset the KDE_DEBUG environment variable.

Example:

    To avoid Dr Konqi:

        export KDE_DEBUG=1

    To see Dr Konqi:

        unset KDE_DEBUG
Comment 12 Olivier Hallot 2023-11-24 14:01:02 UTC
Much better indeed, because on each KDE/Kubuntu upgrade, drkonqi must be silenced again.
Comment 13 Buovjaga 2023-11-24 16:10:43 UTC
So should there be some action on LibreOffice's part regarding this? Forcefully setting KDE_DEBUG=1 every time it runs? Or should we close this report?