[Bug 231010] emulators/wine: (amd64) Segmentation fault when built on 12.0-CURRENT/ALPHA

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 1 21:50:33 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231010

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim at FreeBSD.org

--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
I tried compiling wine using WITH_DEBUG, but the backtrace doesn't really give
much information at all:

(gdb) r
Starting program: /usr/local/bin/wine64 /usr/local/bin/notepad
process 21271 is executing new program: /usr/local/bin/wine64

Program received signal SIGSEGV, Segmentation fault.
0x000000017b448f40 in ?? ()
(gdb) bt
#0  0x000000017b448f40 in ?? ()
#1  0x000000007bc37691 in __wine_process_init () at loader.c:3362
#2  0x00000000621e4294 in wine_init (argc=1023, argv=0x7fffffffe401,
error=<optimized out>, error_size=1024) at loader.c:979
#3  0x0000000060000338 in main (argc=2, argv=0x7fffffffe4d0) at main.c:258
(gdb) up
#1  0x000000007bc37691 in __wine_process_init () at loader.c:3362
3362        init_func();
(gdb) l
3357                                              0, (void **)&init_func )) !=
STATUS_SUCCESS)
3358        {
3359            MESSAGE( "wine: could not find __wine_kernel_init in
kernel32.dll, status %x\n", status );
3360            exit(1);
3361        }
3362        init_func();
3363    }

It seems the crash is caused by init_func being garbage, but no idea why.  This
will probably take some time to look into.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list