QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.12k stars 348 forks source link

Windows 7 under Virtualbox/Portable App #2248

Open gjdemo opened 7 years ago

gjdemo commented 7 years ago

QupZilla crashes when launched under Windows 7 with Virtualbox, opens two windows and locks up. When using the portable app with Wine under Linux QupZilla fails to load. In both cases installation completes without errors. Thank you.

Gary

ghost commented 7 years ago

Hm, QupZilla is available for any Linux distribution, so making it works with Wine is sort of pointless. But if you don't agree, should ask Wine then! (IMO)

Martii commented 7 years ago

@gjdemo

QupZilla crashes when launched under Windows 7 with Virtualbox, opens two windows and locks up.

  1. Which VirtualBox version?
  2. Which Extension Pack?
  3. Which Guest Additions?
  4. Which platform under Linux?
  5. Which QupZilla version?

When using the portable app with Wine under Linux QupZilla fails to load.

Wine has been buggy since the olden days... perhaps a newer version may be needed but as @cranes-bill stated that's probably a Wine issue. I'd be more inclined to do testing under VirtualBox since it's more native.

Chiitoo commented 7 years ago

Seems to work OK with Wine Staging 2.2, in a 32-bit prefix.

Does not work with the currently latest Wine git master, without Staging. This is possible regression, or something in Staging fixing it.

On Windows 7 running in VirtualBox, the browser opens up, but gets stuck before loading 'qupzilla:start' fully.

  1. VirtualBox 5.1.16 (Without the experimental Direct3D support.)
  2. No Extension Pack(?)
  3. Guest Additions 5.1.16r113841
  4. Gentoo Linux
  5. QupZilla 2.1.1
Martii commented 7 years ago

HOST: Windows 7 Pro x64

-1-) VirtualBox 5.1.16.113841 -2-) Corresponding/matching Extension Pack for extra speed USB support... enabled USB3. -3-) Distro Guest Additions removed and corresponding/matching Guest Additions auto compiled... windowed resizing working. -4-) Clean ROSA 64bit KDE GUEST (rolling distro... so latest with all updates) -5a-) QupZilla 2.1.1 (AppImage latest as of today) Ref: #2158 -5b-) QupZilla 2.1.1 source via git checkout tags/v2.1.1 ... Qt Unified Installer using 5.8, xcb dev lib packages, openSSL dev lib packages, openGL dev lib packages, gdb (probably something else... didn't write everything down as I was installing missing deps...heh)


5a Notes:

FAILURES

  1. File created from https://github.com/QupZilla/qupzilla/blob/8cbccbf71d9cc74998e7f4d35e8912cfd18a95c8/src/lib/adblock/adblocksubscription.cpp#L285 is corrupted. Copied from local ROSA QupZilla profile the contents and it gets past that crash.

Initial content:

@@||duckduckgo.com^$document
duckduckgo.com#@#.has-ad

Needed content:

Title: Custom Rules
Url:
[Adblock Plus 1.1.1]
@@||duckduckgo.com^$document
duckduckgo.com#@#.has-ad
  1. No window including decorations EDIT: via RDC (see probable #1943)... tried --disable-gpu switch from a konsole/terminal with same effect. nVidia GPU. Process is running though with QupZilla: 0 extensions loaded when launched via terminal. Unable to proceed with this items testing. Cc: @cranes-bill

  2. Tested locally under Windows (e.g. not Remote Desktop Connection but at station)

Try 1:

$ ./QupZilla-2.1.1.AppImage 
QupZilla: 0 extensions loaded
QupZilla: Crashed :( Saving backtrace in /home/user/.config/qupzilla/crashlog ...
Backtrace successfully saved in /home/user/.config/qupzilla/crashlog/Crash-2017-03-15T02:41:37.txt
Aborted (core dumped)

... walking from other room to here and then back... and it bombed out... no interaction with machine. See https://gist.github.com/Martii/4a06f084405048c5b05069847f3a1f0b

Try 2:

$ ./QupZilla-2.1.1.AppImage 
QupZilla: 0 extensions loaded
js: Uncaught TypeError: object.unwrapQObject is not a function
[3330:3357:0315/024317:ERROR:nss_ocsp.cc(610)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[3330:3357:0315/024317:ERROR:nss_ocsp.cc(610)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[3330:3357:0315/024317:ERROR:nss_ocsp.cc(610)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[3330:3357:0315/024317:ERROR:nss_ocsp.cc(610)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[3330:3357:0315/024317:ERROR:nss_ocsp.cc(610)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[3330:3357:0315/024317:ERROR:nss_ocsp.cc(610)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com

... bunch of js errors clipped ...

QupZilla: Crashed :( Saving backtrace in /home/user/.config/qupzilla/crashlog ...
Segmentation fault (core dumped)

... clicked around the default bookmarks until crash. NOTE Crashlog not written due to segmentation fault.

Result

confirmed initial report here of #2248 with QupZilla AppImage using VirtualBox ... testing native next... did compile... recompiling with debug symbols (as per FAQ #9 )...


5b Notes:

Try 1:

Result

success so far.... e.g. not confirmed and no crashes yet using VirtualBox...


5a with 5b installed but not running Notes:

Try 1

Result

success so far.... e.g. not confirmed and no crashes yet using VirtualBox...

Under the VM the built and installed QupZilla with debug symbols attached appears to have stabilized AppImage QupZilla which is plain weird! Cc: @cranes-bill


Going to try without symbols altogether in built QupZilla and see what that does... same as with symbols.


ROSA TESTING COMPLETE

Martii commented 7 years ago

@gjdemo

Really need that basic info from you. Also are you running the AppImage or what?

@Chiitoo

Are you using the AppImage version or the built version?

@nowrep

Has the Gentoo been built natively for 2.1.1 or ? Ref: https://qupzilla.com/download#gentoo

Chiitoo commented 7 years ago

Martii,

I used whatever is that comes from: https://qupzilla.com/startdownload?windows_portable

As for Gentoo, I'm not sure what that has to do with this issue, but we build everything directly from source (aside from certain proprietary packages for which it isn't possible). :]

gjdemo commented 7 years ago

The problem of not loading in Windows 7 (full updates) under Virtualbox continues even with the new release of QupZilla. I am running the latest version of Virtualbox with extensions installed. During installation I deselected translations and the desktop icon if that means anything. The installation appears to go fine with no installation errors. Thank you.

Martii commented 7 years ago

With the proper terminology so language doesn't get misinterpreted:

Running however seems incompatible with both the Windows Installer and the Windows Portable.

Will upload screen shots momentarily...

Issues (with 3D Acceleration ON and experimental Direct3D support not enabled) :

HOST: ROSA -> GUEST: Win7Pro 64 bit

Issues (with 3D Acceleration OFF and experimental Direct3D support not enabled)

HOST: ROSA -> GUEST: Win7Pro 64 bit

Issues (with 3D Acceleration ON and experimental basic Direct3D support enabled) :

Issues (with 3D Acceleration OFF and experimental basic Direct3D support enabled) :

HOST: ROSA -> GUEST: Win7Pro 64 bit

I would have to say don't use it in the VM at this time with certain options and probably use QupZilla natively in your HOST Linux. Could be some Qt issues... could be more towards VirtualBox issues.

Martii commented 7 years ago

Done testing... so with some tweaks to my older HOSTS Linux VirtualBox I got QupZilla running in my GUESTS Windows 7 Pro x64. :smiley_cat: