VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1057 - 1059 of 16363)

Ticket Resolution Summary Owner Reporter
#18516 duplicate Windows 10 move "desktop" detaches from Frame dkardell
Description

I am still having the issue that if using a Windows Client (on mac), and attempt to drag the screen (while in windowed mode), the screen detaches from the frame window.

#18515 fixed vboxsf-6.0.4 not compiling on kernel-5.0.3 -> fixed after (not in) 6.0.4/5.2.26 and test builds zd59
Description

My configuration:
Slackware64-current updated 20.3.2019
Kernel-5.0.3
Vbox-6.0.4

After compile/install a new kernel-5.0.3 and reboot, the boot process complains at the end that vboxsf module can not run.
A vboxadd-setup.log file show:

/tmp/vbox.0/vfsmod.c:235:14: error: 'MS_REMOUNT' undeclared (first use in this function); did you mean 'DT_RELCOUNT'?

I found the solution for that - source patch:

--- /opt/VBoxGuestAdditions-6.0.4/src/vboxguest-6.0.4/vboxsf/vfsmod.c	2019-03-19 16:24:00.759229219 +0100
+++ /opt/VBoxGuestAdditions-6.0.4/src/vboxguest-6.0.4/vboxsf/vfsmod.c	2019-03-19 16:27:29.967294113 +0100
@@ -40,9 +40,13 @@
 #include "revision-generated.h"
 #include "product-generated.h"
 #include "VBoxGuestR0LibInternal.h"
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
+# include <uapi/linux/mount.h> /* for MS_REMOUNT */
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
 # include <linux/mount.h>
 #endif
+
 #include <linux/seq_file.h>
 
 MODULE_DESCRIPTION(VBOX_PRODUCT " VFS Module for Host File System Access");

But after extracting the vbox additions package and patching, there is no .configure file to run as described in a solution, just run make all do not work.

Any exact compile procedure to solve this?
Expecting this will be included in a next vbox release (6.0.6).

#18513 obsolete Video recording file path including dot char leads to a heap failure. cleanner
Description

When I set the VM with a speical name called "abc.def", it leads to a heap failure after I start the video recording.

It's because it finally free a string which can not be released by RTStrFree(), which will lead to a heap failure.

I found that the error comes from "src\VBox\Main\src-client\VideoRec.cpp", line 950.


944: char *pszAbsPath = RTPathAbsDup(com::Utf8Str(pCfg->File.strName).c_str());

945: AssertPtrReturn(pszAbsPath, VERR_NO_MEMORY);

947: RTPathStripSuffix(pszAbsPath);

948: AssertPtrReturn(pszAbsPath, VERR_INVALID_PARAMETER);

950: char *pszSuff = RTPathSuffix(pszAbsPath); /* it should be "char *pszSuff = NULL"; */

951: if (!pszSuff)

952: pszSuff = RTStrDup(".webm");

......

991: RTStrFree(pszSuff);


Let me try to explain why the error happen if the VM is just called like "abc.def" or "xxx.xxx":

Here we suggest the video recording path is "C:\abc.def.webm"(it's auto generated by VirtualBox GUI)

When the applicatioin comes to line 950:

pszAbsPath:C:\abc.def

After line 950:

pszSuff:.def

Yeah!!!We catch the bug.Got it?

So when the applicatioin comes to line 951:

the line 952 will not excute because the string pszSuff(".def") comes from RTPathSuffix(), which returns a string that cannot be release by RTStrFree().

So when the applicatioin comes to line 991, as we all know, it will definitely leads to a heap failure.

A solution is to modify the line 950 as I do above, such as "char *pszSuff = NULL". After that, the line 952 will execute and the string pointerd by pszSuff will comes from a string that can be released by RTStrFree() which return from RTStrDup().


Finally, I am just a nameless cleanner from china, thanks for updating the new version for the Shanghai/Zhaoxin CPU, thhough which are not developed but just copied by chinese companies. I hopes that in the fure, several Chinese companies will build a excellent PC/Server field's CPU which are wholly developped by Chinese engineers, even better than CPUs made by Intel/AMD.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy