Bug 436703 - choqok abends due to something in .local/share/chokoq directory
Summary: choqok abends due to something in .local/share/chokoq directory
Status: RESOLVED LATER
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 1.7.0
Platform: Other Linux
: NOR critical
Target Milestone: ---
Assignee: Andrea Scarpino
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-05-06 19:45 UTC by Gerald Cox
Modified: 2021-05-27 17:53 UTC (History)
3 users (show)

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


Attachments
output from WAYLAND_DEBUG=1 choqok (2.09 MB, text/plain)
2021-05-07 18:46 UTC, Gerald Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Cox 2021-05-06 19:45:48 UTC
SUMMARY
After upgrade to kde-frameworks 5.81 choqok always crashes, will not run

Error messages received:
choqok
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
kf.config.core: "\"repeatedDateTime\" - conversion of \"0,0,0,-1,-1,-1.001\" to QDateTime failed"
kf.config.core: "\"repeatedDateTime\" - conversion of \"0,0,0,-1,-1,-1.001\" to QDateTime failed"
kf.config.core: "\"repeatedDateTime\" - conversion of \"0,0,0,-1,-1,-1.001\" to QDateTime failed"
...
QCoreApplication::postEvent: Unexpected null receiver
kf.xmlgui: Shortcut for action  "search" "Search..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
libpng warning: iCCP: known incorrect sRGB profile
Error sending request: Broken pipe
The Wayland connection broke. Did the Wayland compositor die?


          /:-------------:\         
       :-------------------::        ------------ 
     :-----------/shhOHbmp---:\      OS: Fedora 34 (Workstation Edition) x86_64 
   /-----------omMMMNNNMMD  ---:     Kernel: 5.11.18-300.fc34.x86_64 
  :-----------sMMMMNMNMP.    ---:    Uptime: 2 hours, 27 mins 
 :-----------:MMMdP-------    ---\   Packages: 4530 (rpm) 
,------------:MMMd--------    ---:   Shell: bash 5.1.0 
:------------:MMMd-------    .---:   Resolution: 1920x1080 
:----    oNMMMMMMMMMNho     .----:   DE: Plasma 5.21.5 
:--     .+shhhMMMmhhy++   .------/   WM: kwin 
:-    -------:MMMd--------------:    WM Theme: Breeze 
:-   --------/MMMd-------------;     Theme: Breeze Light [Plasma], Adwaita[GTK2] 
:-    ------/hMMMy------------:      Icons: breeze [Plasma], breeze [GTK2/3] 
:-- :dMNdhhdNMMNo------------;       Terminal: konsole 
:---:sdNMMMMNds:------------:        CPU: AMD FX-8350 (8) @ 4.214GHz 
:------:://:-------------::          GPU: AMD ATI Radeon HD 7850/R7265 
:---------------------://            Memory: 6843MiB / 32003MiB
Comment 1 David Redondo 2021-05-07 08:19:51 UTC
Can you provide a log of

WAYLAND_DEBUG=1 choqok?
Comment 2 Gerald Cox 2021-05-07 18:46:56 UTC
Created attachment 138217 [details]
output from WAYLAND_DEBUG=1 choqok

Thank you for the quick response.  I've attached the information you requested.
Comment 3 Bhushan Shah 2021-05-10 07:40:30 UTC
I can not reproduce this on my local setup,

Do you have some more information on crash? like if some window appears before it is crashing?
Comment 4 David Edmundson 2021-05-10 09:13:18 UTC
Next useful step is

gdb choqok
break QtWaylandClient::QWaylandTextInput::updateState
run

and when it stops get a backtrace, ideally continuing and then getting 2 or 3.
Comment 5 Gerald Cox 2021-05-10 19:26:58 UTC
I went through my old notes and found that this actually has happened previous to 5.81, and the circumvention is to delete the .local/share/choqok directory then restart choqok.  At that point choqok appears to function properly.  Instead of all the messages reported below when executed from console, I just receive:

choqok
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
kf.xmlgui: Shortcut for action  "search" "Search..." set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.

I should have made a copy of what exactly was in the directory, but did not.  Will do next time - but this at least tells us that something being reference in that directory is causing the issue.
Comment 6 Gerald Cox 2021-05-10 19:29:16 UTC
Changing description.
Comment 7 Bug Janitor Service 2021-05-25 04:33:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Gerald Cox 2021-05-27 17:53:22 UTC
I'm on travel right now, so will reopen when I have time to address.