Crash on paste

Discussions about using Windows guests in VirtualBox.
Post Reply
Vasilek
Posts: 13
Joined: 27. Jan 2020, 15:41

Crash on paste

Post by Vasilek »

I am now running Windows 10 Guest on Linux host. The latest VB 6.1.4 r136177 and the latest guest additions installed. If I copy&paste an URL from one machine to another the later crashes. I can paste the same string to the host and if I copy the string from the host to guest it works fine. What debug info should I collect to file a bug?
Vasilek
Posts: 13
Joined: 27. Jan 2020, 15:41

Re: Crash on paste

Post by Vasilek »

There is absolutely nothing before or just after the crash in the Logs/VBox.log and it doesn't crash to blue screen, VM just exits with no info whatsoever
Vasilek
Posts: 13
Joined: 27. Jan 2020, 15:41

Re: Crash on paste

Post by Vasilek »

I've managed to make a coredump using the procedure from this page https://www.virtualbox.org/wiki/Core_dump

I didn't find a debug info yet and the only gdb can show is "Program terminated with signal SIGSEGV, Segmentation fault."
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Crash on paste

Post by scottgus1 »

Vasilek wrote:copy&paste an URL
Do you run into the same problem copying just basic text from a guest's text editor like Notepad, like "what is wrong with virtualbox"? Does the problem happen if you copy a manually-typed URL, like type https://www.virtualbox.org in a guest's text editor then copy it?

I recall hearing that some browsers had hidden text in the address bars that messes up what receives the paste. If the tests above work but copying directly from the browser address bar crashes the receiving guest, then this would be a subject for the Bugtracker. Check to see if someone already reported such an ssue first. If not, give the ticket enough data to show the devs how to repeat it, as well as the logs from the crashed guest and the living guest.
Vasilek
Posts: 13
Joined: 27. Jan 2020, 15:41

Re: Crash on paste

Post by Vasilek »

scottgus1 wrote:
Vasilek wrote:copy&paste an URL
Do you run into the same problem copying just basic text from a guest's text editor like Notepad, like "what is wrong with virtualbox"? Does the problem happen if you copy a manually-typed URL, like type https://www.virtualbox.org in a guest's text editor then copy it?
No. I was able to reproduce it only copying data between guests. It was very easy to reproduce it on the running system but after the host was restarted the bug disappear. I was able to make coredump of the crash that day. Sadly I have no debug symbols to open it.

I've opened a ticket #19471 and then found another already opened one #19226 It looks like the bug is known but for some reason it is not fixed yet. If you have debug symbols for this particular ubuntu package "virtualbox-6.1_6.1.4-136177~Ubuntu~bionic_amd64.deb" I can use them to open my coredump and provide stacktrace.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Crash on paste

Post by scottgus1 »

It's quite likely we don't have these symbols, as we are not the devs, just fellow users.

I'm afraid this does not cover the scenarios I suggested to test:
Vasilek wrote:I was able to reproduce it only copying data between guests.
I gather that the problem occurs when pasting URLs from one guest to another, as you stated in your OP:
Vasilek wrote:If I copy&paste an URL from one machine to another the later crashes.
I meant to try these tests:

1. Open a guest's text editor. Type "what is wrong with virtualbox". Copy this plain text to the other guest. Does the receiving guest crash?

2. In the guest's text editor, type "https://www.virtualbox.org". Copy this plain text to the other guest. Does the receiving guest crash?

3. If the crash occurs only when you copy from a certain web browser's address bar, try a different browser. Example, if the crash happens when you copy from Chrome's address bar, try copying from Firefox or Edge.
Vasilek wrote:I've opened a ticket #19471
If this is your ticket: https://www.virtualbox.org/ticket/19471 it is missing things. Most notably, guest logs of the sending and receiving guests. Also the description posted is only "during a copy paste operation inside the guest". It does not describe the 'URL-from-one-guest-to-another' situation you stated in your first post. Posting answers to the above scenarios might help, as well as a link to this thread. Clarify if the description on the ticket is the actual situation, or if the situation you posted here is the correct situation.

The devs have lots of tickets to go through. You might get the symbols if you ask on the dev's mailing list https://www.virtualbox.org/wiki/Mailing_lists or the IRC https://www.virtualbox.org/wiki/IRC. Or see if anything here might help: https://www.virtualbox.org/wiki/Technical_documentation.
Vasilek
Posts: 13
Joined: 27. Jan 2020, 15:41

Re: Crash on paste

Post by Vasilek »

scottgus1 wrote: I meant to try these tests:
When I copy plain text or URLs inside the guest or from the host to guest nothing have happened. t is just URL from one guest to another and the process on the guest can be anything, even if I paste to notepad, the host VM process is crashing not the guest OS.
If this is your ticket: https://www.virtualbox.org/ticket/19471 it is missing things. Most notably, guest logs of the sending and receiving guests. Also the description posted is only "during a copy paste operation inside the guest". It does not describe the 'URL-from-one-guest-to-another' situation you stated in your first post. Posting answers to the above scenarios might help, as well as a link to this thread. Clarify if the description on the ticket is the actual situation, or if the situation you posted here is the correct situation.
Logs doesn't have anything particular interesting, the VM process crashed immediately and the log has no errors. I am just hoping to get debug symbols from developers and extract the stack trace from my crash dump. I don't have a reliable way to reproduce the crash, after the host restarted I am not able to reproduce it with the same machines. So the actual steps aren't very important until I would manege how to extract a meaningful data from the dump.
The devs have lots of tickets to go through. You might get the symbols if you ask on the dev's mailing list https://www.virtualbox.org/wiki/Mailing_lists or the IRC https://www.virtualbox.org/wiki/IRC. Or see if anything here might help: https://www.virtualbox.org/wiki/Technical_documentation.
Oh ok. I'll try to mail them if no one answer the ticket.
mastervegito
Posts: 1
Joined: 1. Jan 2024, 20:01

Re: Crash on paste

Post by mastervegito »

If nayone is curious, 3 years later this is still broken.
Post Reply