http://bugs.winehq.org/show_bug.cgi?id=58335
--- Comment #55 from Michael Setzer II mikes@kuentos.guam.net --- root@setzconote:~# wineserver -k root@setzconote:~# gdb -q --args /usr/bin/wine winecfg <testwine2b Reading symbols from /usr/bin/wine... Reading symbols from /usr/lib/debug/opt/wine-devel/bin/wine-10.11-1.1.x86_64.debug... (gdb) (gdb) Signal Stop Print Pass to program Description SIGUSR1 No No Yes User defined signal 1 (gdb) Catchpoint 1 (fork) (gdb) Starting program: /usr/bin/wine winecfg [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". process 300094 is executing new program: /opt/wine-devel/lib64/wine/x86_64-unix/wine-preloader [Detaching after vfork from child process 300097]
Catchpoint 1 (forked process 300099), 0x00007ffff7e50d08 in ?? () (gdb) Continuing. [Detaching after fork from child process 300099] 002c:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x6fffffc4c5b3
Catchpoint 1 (forked process 300101), 0x00007ffff7e50d08 in ?? () (gdb) Continuing. [Detaching after fork from child process 300101] 0034:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x6fffffc4c5b3
Catchpoint 1 (forked process 300103), 0x00007ffff7e50d08 in ?? () (gdb) (gdb) Continuing. [Attaching after process 300094 fork to child process 300103] [New inferior 2 (process 300103)] [Detaching after fork from parent process 300094] [Inferior 1 (process 300094) detached]
Thread 2.1 "start.exe" hit Catchpoint 1 (forked process 300104), 0x00007ffff7e50d08 in ?? () (gdb) [Attaching after process 300103 fork to child process 300104] [New inferior 3 (process 300104)] [Detaching after fork from parent process 300103] [Inferior 2 (process 300103) detached] 0x00007ffff7e50d0e in ?? () (gdb) (gdb) (gdb) Catchpoint 2 (exec) (gdb) Continuing. process 300104 is executing new program: /opt/wine-devel/lib64/wine/x86_64-unix/wine-preloader
Thread 3.1 "wine-preloader" hit Catchpoint 2 (exec'd /opt/wine-devel/lib64/wine/x86_64-unix/wine-preloader), 0x00007d7d00000000 in _start () (gdb) 0x00007d7d00000000 in _start () (gdb) (gdb) 1: x/i $pc => 0x7d7d00000000 <_start>: mov %rsp,%rax (gdb) Continuing.
Thread 3.1 "winecfg.exe" received signal SIGSEGV, Segmentation fault. 0x00006fffffc4c5b3 in ?? () 1: x/i $pc => 0x6fffffc4c5b3: mov 0x28(%rbp),%r8 (gdb) (gdb) (gdb) 300104 (gdb) (gdb) (gdb) (gdb) $1 = 0x6fffffbf1000 (gdb) (gdb) add symbol table from file "/opt/wine-devel/lib64/wine/x86_64-windows/ntdll.dll" at .text_addr = 0x6fffffbf1000 Reading symbols from /opt/wine-devel/lib64/wine/x86_64-windows/ntdll.dll... (gdb) #0 add_assembly (actctx=0x0, at=ASSEMBLY_SHARED_MANIFEST) at dlls/ntdll/actctx.c:770 #1 parse_manifest (acl=acl@entry=0x7ffffe2ff7e0, ai=ai@entry=0x7ffffe2ff860, filename=filename@entry=0x7ffffe324b00 L"\134\077\077\134\103\072\134\167\151\156\144\157\167\163\134\167\151\156\163\170\163\134\155\141\156\151\146\145\163\164\163\134\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145\146\056\155\141\156\151\146\145\163", <incomplete sequence \164>, module=module@entry=0x0, directory=directory@entry=0x7ffffe324c30 L"\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145", <incomplete sequence \146>, shared=shared@entry=1, buffer=0x7ffffe340000, size=1577) at dlls/ntdll/actctx.c:2873 #2 0x00006fffffc3f26d in get_manifest_in_manifest_file (acl=acl@entry=0x7ffffe2ff7e0, ai=ai@entry=0x7ffffe2ff860, filename=0x7ffffe324b00 L"\134\077\077\134\103\072\134\167\151\156\144\157\167\163\134\167\151\156\163\170\163\134\155\141\156\151\146\145\163\164\163\134\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145\146\056\155\141\156\151\146\145\163", <incomplete sequence \164>, directory=directory@entry=0x7ffffe324c30 L"\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145", <incomplete sequence \146>, shared=shared@entry=1, file=0x20) at dlls/ntdll/actctx.c:3087 #3 0x00006fffffc0d9c0 in lookup_winsxs (acl=0x7ffffe2ff7e0, ai=0x7ffffe3251f0) at dlls/ntdll/actctx.c:3280 #4 lookup_assembly (acl=0x7ffffe2ff7e0, ai=0x7ffffe3251f0) at dlls/ntdll/actctx.c:3344 --Type <RET> for more, q to quit, c to continue without paging--#5 parse_depend_manifests (acl=<optimized out>) at dlls/ntdll/actctx.c:3401 #6 RtlCreateActivationContext (new_actctx=new_actctx@entry=0x7ffffe2ff938, ptr=ptr@entry=0x7ffffe2ff940) at dlls/ntdll/actctx.c:5384 #7 0x00006fffffc32327 in actctx_init () at dlls/ntdll/actctx.c:5238 #8 0x00006fffffc454b9 in loader_init (context=context@entry=0x7ffffe2ffb00, entry=entry@entry=0x7ffffe2ffb80) at dlls/ntdll/loader.c:4451 #9 0x00006fffffc04724 in LdrInitializeThunk (context=0x7ffffe2ffb00, unk2=<optimized out>, unk3=<optimized out>, unk4=<optimized out>) at dlls/ntdll/signal_x86_64.c:1019 #10 0x0000000000000000 in ?? () (gdb) #1 parse_manifest (acl=acl@entry=0x7ffffe2ff7e0, ai=ai@entry=0x7ffffe2ff860, filename=filename@entry=0x7ffffe324b00 L"\134\077\077\134\103\072\134\167\151\156\144\157\167\163\134\167\151\156\163\170\163\134\155\141\156\151\146\145\163\164\163\134\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145\146\056\155\141\156\151\146\145\163", <incomplete sequence \164>, module=module@entry=0x0, directory=directory@entry=0x7ffffe324c30 L"\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145", <incomplete sequence \146>, shared=shared@entry=1, buffer=0x7ffffe340000, size=1577) at dlls/ntdll/actctx.c:2873 warning: 2873 dlls/ntdll/actctx.c: No such file or directory (gdb) $2 = (struct actctx_loader *) 0x7ffffe2ff7e0 (gdb) #2 0x00006fffffc3f26d in get_manifest_in_manifest_file (acl=acl@entry=0x7ffffe2ff7e0, ai=ai@entry=0x7ffffe2ff860, filename=0x7ffffe324b00 L"\134\077\077\134\103\072\134\167\151\156\144\157\167\163\134\167\151\156\163\170\163\134\155\141\156\151\146\145\163\164\163\134\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145\146\056\155\141\156\151\146\145\163", <incomplete sequence \164>, directory=directory@entry=0x7ffffe324c30 L"\141\155\144\066\064\137\155\151\143\162\157\163\157\146\164\056\167\151\156\144\157\167\163\056\143\157\155\155\157\156\055\143\157\156\164\162\157\154\163\137\066\065\071\065\142\066\064\061\064\064\143\143\146\061\144\146\137\066\056\060\056\062\066\060\060\056\062\071\070\062\137\156\157\156\145\137\144\145\141\144\142\145\145", <incomplete sequence \146>, shared=shared@entry=1, file=0x20) at dlls/ntdll/actctx.c:3087 3087 in dlls/ntdll/actctx.c (gdb) $3 = (struct actctx_loader *) 0x7ffffe2ff7e0 (gdb) #3 0x00006fffffc0d9c0 in lookup_winsxs (acl=0x7ffffe2ff7e0, ai=0x7ffffe3251f0) at dlls/ntdll/actctx.c:3280 3280 in dlls/ntdll/actctx.c (gdb) $4 = (struct actctx_loader *) 0x7ffffe2ff7e0 (gdb) root@setzconote:~# cat /tmp/addr.txt 0x6fffffbf1000