[Bug 43187] New: OriginWebHelperService.exe crashes

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 43187] New: OriginWebHelperService.exe crashes

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43187

            Bug ID: 43187
           Summary: OriginWebHelperService.exe crashes
           Product: Wine
           Version: 2.10
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: [hidden email]
          Reporter: [hidden email]
      Distribution: ---

Created attachment 58460
  --> https://bugs.winehq.org/attachment.cgi?id=58460
backtrace

EA Origin installs with Wine 2.10 staging but then crashes in the update or
login window (OriginWebHelperService.exe). As a result, the Origin window shows
an infinite loading screen.

As far as I can see, this seems to be caused by qt5gui (QScreen::handle).

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43187] OriginWebHelperService.exe crashes

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43187

tokktokk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43187] OriginWebHelperService.exe crashes

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43187

Bernhard Übelacker <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Bernhard Übelacker <[hidden email]> ---
Created attachment 59645
  --> https://bugs.winehq.org/attachment.cgi?id=59645
Details on the crash and parts of related Qt sources.

It looks like Origin makers decided to use a QGuiApplication in this service.
As a result it queries available monitors via EnumDisplayMonitors.
Because this runs as a service this is routed to nulldrv_EnumDisplayMonitors
which just returns false without calling the callback.
Therefore Qt's screen_list never gets filled and later a call to
QGuiApplication::primaryScreen()->handle() leads to the crash because
primaryScreen() returns null.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43187] OriginWebHelperService.exe crashes

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43187

--- Comment #2 from Bernhard Übelacker <[hidden email]> ---
Created attachment 59646
  --> https://bugs.winehq.org/attachment.cgi?id=59646
user32: Let nulldrv return some dummy monitor informations

Attached patch makes OriginWebHelperService.exe not crash.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43187] OriginWebHelperService.exe crashes

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43187

Andrew <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Andrew <[hidden email]> ---
I had this same bug using wine 2.22-staging on Kubuntu 17.10 and this patch
fixed the problem.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43187] OriginWebHelperService.exe crashes

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43187

--- Comment #4 from Andrew <[hidden email]> ---
No longer having this problem with Wine version 3.0-rc1 and I didn't need to
use the patch. If someone else can confirm this we can mark this as resolved.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.