Bug 409415 - Freeze when opening edit dialog for second time
Summary: Freeze when opening edit dialog for second time
Status: RESOLVED NOT A BUG
Alias: None
Product: KBibTeX
Classification: Applications
Component: General (show other bugs)
Version: 0.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 13:02 UTC by Tobias Schmalz
Modified: 2019-09-24 19:59 UTC (History)
0 users

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 Tobias Schmalz 2019-07-02 13:02:29 UTC
SUMMARY
When trying to open the edit dialog for the second time KBibTeX freezes completely (no interaction possible, has to be killed via htop or similar). The first edit dialog has no problems, though. I can even save the first change and close KBibTeX afterwards.

STEPS TO REPRODUCE
1. Open KBibTeX
2. Open the edit dialog for an arbitrary item
3. Close the dialog (no need to actually edit anything)
4. Try to open it again

OBSERVED RESULT
KBibTeX freezes and has to be killed.

EXPECTED RESULT
The edit dialog should pop up and let me do some editing.

SOFTWARE/OS VERSIONS
Linux: 5.1.15
KDE Plasma Version: ---
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
When I was on Qt 5.12.4 until a few days ago I had another weird bug in all Qt applications where I could open each submenu only once. When I tried to open any of them for a second time nothing happened (no crash or freeze, though). This was fixed by updating to Qt 5.13.0, so this might very well be a Qt bug, too. However, I have no clue at all how to debug Qt and the remaining bug at hand has not occurred to me in any other Qt application yet. That's why I'm reporting this bug to you although it might not be your fault but maybe someone here is a little more experienced than me.
I also tried to compile the latest version myself to check if there already is a fix (using the kbibtex-git package from AUR) but the compilation process always stops halfway through so I didn't get to the checking part. Sorry about my incompetence! m)
Comment 1 Thomas Fischer 2019-07-18 20:03:03 UTC
I cannot reproduce your problem, which makes it hard to help you here. There are several things you can test in the following order:
- Create a new test user account on your system and use KBibTeX there. If you cannot reproduce the problem, then some file in your regular user's home is the cause
- Setup a virtual machine with a fresh installation of Arch Linux and use KBibTeX there. If you cannot reproduce the problem, then your local installation including system libraries could be the problem.
- Setup a virtual machine with an independent, KDE-based Linux distribution which uses recent Qt and KDE libraries, for example Fedora's KDE spin or Kubuntu. Test KBibTeX there.
Based on your results, we can try to figure out the next steps.

Regarding compiling KBibTeX from Git, you may alternatively try out the instructions here:
https://userbase.kde.org/KBibTeX/Development#Quick_Start_to_Run_KBibTeX_from_Git


(In reply to Tobias Schmalz from comment #0)
> SUMMARY
> When trying to open the edit dialog for the second time KBibTeX freezes
> completely (no interaction possible, has to be killed via htop or similar).
> The first edit dialog has no problems, though. I can even save the first
> change and close KBibTeX afterwards.
> 
> STEPS TO REPRODUCE
> 1. Open KBibTeX
> 2. Open the edit dialog for an arbitrary item
> 3. Close the dialog (no need to actually edit anything)
> 4. Try to open it again
> 
> OBSERVED RESULT
> KBibTeX freezes and has to be killed.
> 
> EXPECTED RESULT
> The edit dialog should pop up and let me do some editing.
> 
> SOFTWARE/OS VERSIONS
> Linux: 5.1.15
> KDE Plasma Version: ---
> KDE Frameworks Version: 5.59.0
> Qt Version: 5.13.0
> 
> ADDITIONAL INFORMATION
> When I was on Qt 5.12.4 until a few days ago I had another weird bug in all
> Qt applications where I could open each submenu only once. When I tried to
> open any of them for a second time nothing happened (no crash or freeze,
> though). This was fixed by updating to Qt 5.13.0, so this might very well be
> a Qt bug, too. However, I have no clue at all how to debug Qt and the
> remaining bug at hand has not occurred to me in any other Qt application
> yet. That's why I'm reporting this bug to you although it might not be your
> fault but maybe someone here is a little more experienced than me.
> I also tried to compile the latest version myself to check if there already
> is a fix (using the kbibtex-git package from AUR) but the compilation
> process always stops halfway through so I didn't get to the checking part.
> Sorry about my incompetence! m)
Comment 2 Thomas Fischer 2019-09-06 17:58:06 UTC
Have you been able to test the suggestions I made in comment 1 on July 18?
Comment 3 Bug Janitor Service 2019-09-21 04:33:08 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 4 Tobias Schmalz 2019-09-23 13:17:05 UTC
(In reply to Thomas Fischer from comment #2)
> Have you been able to test the suggestions I made in comment 1 on July 18?

Sorry for not coming back to you earlier about this. I was a little bit busy writing my master thesis (that I used KBibTeX for :D). Now I finally found some time to try your suggestions and I could not replicate the issue in other environments, as well. I still have no clue what went wrong on my system earlier, but it seems that KBibTeX had nothing to do with it. So sorry for bothering you and thank you for your support! m)

PS: Great software btw, I really like using KBibTeX!
Comment 5 Thomas Fischer 2019-09-24 19:59:52 UTC
(In reply to Tobias Schmalz from comment #4)
> I still have no clue what went wrong on my
> system earlier, but it seems that KBibTeX had nothing to do with it. So
> sorry for bothering you and thank you for your support! m)
> 
> PS: Great software btw, I really like using KBibTeX!
Thanks for the feedback! :-)