[Bug 53032] winedevice.exe segfaults on exit (Segmentation fault) when built by GCC 12.1 (Fedora 36)

WineHQ Bugzilla wine-bugs at winehq.org
Mon May 23 02:44:02 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53032

--- Comment #12 from Artem S. Tashkinov <aros at gmx.com> ---
(In reply to Austin English from comment #10)
> (In reply to Artem S. Tashkinov from comment #6)
> > (In reply to Rémi Bernon from comment #5)
> > > Hi, I built Wine with GCC 12.1 and didn't see anything like that so far. A
> > > log with
> > > WINEDEBUG=+loaddll,+seh,+process,+ntoskrnl,+service,+winedevice,+plugplay,
> > > +hid,+wineusb could be useful.
> > 
> > I doubt this can work as it enables logging for wine, not for its dependent
> > subprocess.
> 
> Untested, but you could try exporting WINEDEBUG before starting any wine
> process, in theory the dependent processes would get it from the environment.

The problem is winedevice.exe is a background process you do not start, I've no
idea how to catch the debug output in this case, it's gonna be output to
/dev/null - it's never linked to console :(

> 
> (In reply to Artem S. Tashkinov from comment #8)
> > Here's how I build Wine:
> > 
> > export CFLAGS="-O2 -pipe -m32 -march=pentium-m"
> > export CXXFLAGS="$CFLAGS"
> > export LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
> 
> Why the mix of optimization flags (01/02)? Does omitting march change
> anything?

LD doesn't have the -O2 optimization level.

Will try to build without -march. Please wait.

-- 
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.


More information about the wine-bugs mailing list