[vbox-dev] Good news: Telnet server patch for VirtualBox serial port !

2015-03-31 Thread Alexey Eromenko
Several days of work :) VirtualBox finally got a serial-telnet-server patch ! Ugly tricks such as "socat" bridge and "VMware Serial Line Gateway" out; Patch in ! This is especially useful for GNS3 Network Simulator, where we do access remote VM's serial port. I ask you to include it in the upcomin

Re: [vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

2015-03-31 Thread Klaus Espenlaub
Hi Rūdolf, On 31.03.2015 16:52, Rūdolfs Bundulis wrote: HI Michal, > You could sprinkle a few 'Assert(env == cpu_single_env)' statements in the recompiler code and see if any of them hit. thanks for the info, I'll try that out. Yeah, debugging the debug build with gdb under Windows is kind

Re: [vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

2015-03-31 Thread Rūdolfs Bundulis
HI Michal, > You could sprinkle a few 'Assert(env == cpu_single_env)' statements in the recompiler code and see if any of them hit. thanks for the info, I'll try that out. Yeah, debugging the debug build with gdb under Windows is kind of uncomfortable, under Linux it went much smoother. If Linu

Re: [vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

2015-03-31 Thread Michal Necasek
Rudolfs, The recompiler crash you had there is not the same as what we just debugged but it is similar. The difference is that what we saw only affected 32-bit Windows. It only happened with release builds, not debug builds. The problem was a bug in the gcc compiler triggered by a l

Re: [vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

2015-03-31 Thread Rūdolfs Bundulis
Hi Klaus, > Did you by any chance extend the CPUCTX struct or any other data > structure which might be used by the recompiler? Just hours ago we > tracked down a MingW gcc bug in the very same area which smells very > similar... No, they only thing I've done is provided an IFramebuffer implement

Re: [vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

2015-03-31 Thread Klaus Espenlaub
Rūdolfs, On 31.03.2015 13:22, Rūdolfs Bundulis wrote: > Hi, > > ok I found the root issue - my code did not call RTR3InitExe(argc, > &argv, 0) since I built the application only from looking at the API > interfaces and was not aware that I need to do this (actually maybe it > makes sense to inclu

Re: [vbox-dev] Problems with porting a VritualBox frontend from Windows to Linux

2015-03-31 Thread Rūdolfs Bundulis
Hi, ok I found the root issue - my code did not call RTR3InitExe(argc, &argv, 0) since I built the application only from looking at the API interfaces and was not aware that I need to do this (actually maybe it makes sense to include a comment int the xpcom tstVBoxAPIXPCOM.cpp sample about this?)