[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010269: crashes immediately at start



I reproduce this segfault on an up-to-date Debian Sid.
Here is a backtrace generated using gdb:

$ LANG=C gdb --args /usr/lib/wine-development/wine64 winecfg
GNU gdb (Debian 10.1-2+b1) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/wine-development/wine64...
Reading symbols from /usr/lib/debug/.build-id/a4/7778b458aa03f4a99cf9e5e0f74947c0c7af39.debug...
(gdb) run
Starting program: /usr/lib/wine-development/wine64 winecfg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 1507290 is executing new program: /usr/lib/wine-development/wine64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
err:environ:read_nls_file failed to load 11/20127
err:environ:read_nls_file failed to load 10/0
[Detaching after fork from child process 1507294]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7d16b6a in ntdll_towupper (ch=<optimized out>) at dlls/ntdll/unix/unix_private.h:415
415 dlls/ntdll/unix/unix_private.h: No such file or directory.
(gdb) bt
#0  0x00007ffff7d16b6a in ntdll_towupper (ch=<optimized out>) at dlls/ntdll/unix/unix_private.h:415
#1  ntdll_wcsnicmp (str1=str1@entry=0x7d00f2e0, str2=str2@entry=0x7ffff7d71e70 <pathW.44>, n=n@entry=4)
    at dlls/ntdll/unix/env.c:783
#2  0x00007ffff7d16bfd in find_env_var (env=env@entry=0x7d00f2e0, size=<optimized out>,
    name=name@entry=0x7ffff7d71e70 <pathW.44>, namelen=namelen@entry=4) at dlls/ntdll/unix/env.c:1233
#3  0x00007ffff7d16c6e in get_env_var (env=env@entry=0x7d00f2e0, size=<optimized out>,
    name=name@entry=0x7ffff7d71e70 <pathW.44>, namelen=namelen@entry=4) at dlls/ntdll/unix/env.c:1241
#4  0x00007ffff7d1a109 in build_initial_params (module=0x7fffffffdab8) at dlls/ntdll/unix/env.c:2188
#5  init_startup_info () at dlls/ntdll/unix/env.c:2282
#6  0x00007ffff7d2f4ac in start_main_thread () at dlls/ntdll/unix/loader.c:2188
#7  __wine_main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at dlls/ntdll/unix/loader.c:2530
#8  0x000000007d001255 in main (argc=2, argv=0x7fffffffe2b8) at loader/main.c:183


Reply to: