Konqueror sometimes crashes when copy a file #147

Closed
opened 2 years ago by MicheleC · 15 comments
MicheleC commented 2 years ago
Owner

Step to reproduce this (note: it is not systematic, but happens several times).

  1. open Konqueror to a folder
  2. download a file into the same folder using firefox
  3. select file in Konqueror, cut it using the keyboard (Ctrl+x)
  4. change tab and paste it using the keyboard.

Often (but not always) Konqueror crashes.

Step to reproduce this (note: it is not systematic, but happens several times). 1) open Konqueror to a folder 2) download a file into the same folder using firefox 3) select file in Konqueror, cut it using the keyboard (Ctrl+x) 4) change tab and paste it using the keyboard. Often (but not always) Konqueror crashes.
Collaborator

Michele,

I just tried this and I can't reproduce.

I started looking into those, because my other issue with konqueror crashing when inserting/ejecting DVDs was pointing to tqt3/src/widgets/qlistview.cpp

I have now reproducible crash of tdedevelop pointing again to tqt3/src/widgets/qlistview.cpp

However those crashes are pointing to different functions that cause the crash.

And I was not able to reproduce the crash from my #134 and I tried yours, but couldn't reproduce it either.

Which view are you using in konqueror? I am using the list view (obviously :) )

my TDE is in state of last month (28.06)

I wonder what exactly solved the issues in konqueror

Michele, I just tried this and I can't reproduce. I started looking into those, because my other issue with konqueror crashing when inserting/ejecting DVDs was pointing to tqt3/src/widgets/qlistview.cpp I have now reproducible crash of tdedevelop pointing again to tqt3/src/widgets/qlistview.cpp However those crashes are pointing to different functions that cause the crash. And I was not able to reproduce the crash from my #134 and I tried yours, but couldn't reproduce it either. Which view are you using in konqueror? I am using the list view (obviously :) ) my TDE is in state of last month (28.06) I wonder what exactly solved the issues in konqueror
Poster
Owner

Hi Emanoil, I use the detailed list view (obviously 😉).

I am not able to reproduce the konqueror crash above all the times, but I have seen this happening enough times to open an issue. There must be something triggering this behavior, because it does not happen all the times. But it definitely does! :-(

Hi Emanoil, I use the detailed list view (obviously :wink:).<br/> I am not able to reproduce the konqueror crash above all the times, but I have seen this happening enough times to open an issue. There must be something triggering this behavior, because it does not happen all the times. But it definitely does! :-(
Collaborator

Hi,
with detailed listview it is reproducible. At least I could reproduce it now:

  • Open two konqueror instances and changed to detailed view
  • CTRL+x on one JPEG file and CTRL+p in the other instance
  • crashed

It points to konq_listview.cc but it does not mention the widgets/qlistview.cpp.

There is something around those listviews - I can smell it :)

Hi, with detailed listview it is reproducible. At least I could reproduce it now: - Open two konqueror instances and changed to detailed view - CTRL+x on one JPEG file and CTRL+p in the other instance - crashed It points to konq_listview.cc but it does not mention the widgets/qlistview.cpp. There is something around those listviews - I can smell it :)
Poster
Owner

yes, it does happens. But again I can't reproduce it all the time :-( Next time it happens I will capture the crash dump and check further.

yes, it does happens. But again I can't reproduce it all the time :-( Next time it happens I will capture the crash dump and check further.
Poster
Owner

This seems to be a good way to reproduce this (although not 100% of the times).

  1. download a vim color file from github in zip format and save it
  2. in Konqueror unzip the file in the same folder
  3. select one of the uncompresses file (usually in subfolder) and ctrl-x
  4. go to different tab/folder and ctrl-v

Most of the times, Konqueror crashes.

This seems to be a good way to reproduce this (although not 100% of the times). 1. download a vim color file from github in zip format and save it 2. in Konqueror unzip the file in the same folder 3. select one of the uncompresses file (usually in subfolder) and ctrl-x 4. go to different tab/folder and ctrl-v Most of the times, Konqueror crashes.
Poster
Owner

I managed to crash this and I capture the crash dump. Uploading for reference for when we can take a look at it.

I managed to crash this and I capture the crash dump. Uploading for reference for when we can take a look at it.
Poster
Owner

This seems to be a good way to reproduce this (although not 100% of the times).

  1. download a vim color file from github in zip format and save it

Step 1. is not even required. Just use a zip file in your file system and follow steps 2 to 4 to reproduce the problem.

> This seems to be a good way to reproduce this (although not 100% of the times). > > 1. download a vim color file from github in zip format and save it Step 1. is not even required. Just use a zip file in your file system and follow steps 2 to 4 to reproduce the problem.
Poster
Owner

@deloptes

Emanoil, could you please check whether the option "Prevent empty clipboard" is set on your Klipper config page?

@deloptes<br/> Emanoil, could you please check whether the option "Prevent empty clipboard" is set on your Klipper config page?
Collaborator

@MicheleC where do I find it - can you send a screenshot, because I have different locales

image

@MicheleC where do I find it - can you send a screenshot, because I have different locales ![image](/gitea/attachments/0b822fa6-7930-46d6-8a0e-ef2f07ae9075)
Poster
Owner

It's the fifth option from top, I see you have it enable.
Could you try disabling it and see if the problem is no longer reproducable? Please try a few times, to be sure 😄

It's the fifth option from top, I see you have it enable. Could you try disabling it and see if the problem is no longer reproducable? Please try a few times, to be sure :smile:
Collaborator

Hi Michele,
tested few times the scenario with the "Detailed View" and the tabs in konqueror.

When the option is enabled it always crashes. When disabled it does not crash.

Hi Michele, tested few times the scenario with the "Detailed View" and the tabs in konqueror. When the option is enabled it always crashes. When disabled it does not crash.
Poster
Owner

That is also what I see, thanks for confirming it Emanoil. It's a tricky bug 😓

That is also what I see, thanks for confirming it Emanoil. It's a tricky bug 😓
Poster
Owner

@deloptes @SlavekB

PR #178 is a proposed fix for this issue. I have not observed any further crashes with such change, but given the random nature of the problem it would be good if you could test as well to confirm you also don't see any more crashes. If all is good we can later merge.

@deloptes @SlavekB<br/> PR #178 is a proposed fix for this issue. I have not observed any further crashes with such change, but given the random nature of the problem it would be good if you could test as well to confirm you also don't see any more crashes. If all is good we can later merge.
MicheleC added this to the R14.0.10 release milestone 1 year ago
Owner

Note: To allow testing by a wider number of users, I added a patch to the tdebase packages that are available in the PSB and PTB repositories. So, you can possibly send information about testing this fix to ML.

Note: To allow testing by a wider number of users, I added a patch to the tdebase packages that are available in the PSB and PTB repositories. So, you can possibly send information about testing this fix to ML.
Poster
Owner

Fixed by PR #178.

Fixed by PR #178.
MicheleC closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.