New WINE setup does not run at all: "could not load ntdll.so: (null)"

Questions about Wine on Linux
Locked
webman
Newbie
Newbie
Posts: 1
Joined: Tue Jun 06, 2023 5:15 am

New WINE setup does not run at all: "could not load ntdll.so: (null)"

Post by webman »

Hello!
I am new to wine and installed it yesterday on my debian11 into a chroot.
Worked well even with Xorg after setting some variables (I forgot).
This was wine5 from debian repository.
I upgraded to the backports-version (wine7), is not working.
Reset all, downloaded wine-stable package and installed
it as root.
The non-root user does not have a ".wine" directory, I made it.
Starting wine or winefg always fails with this message:

Code: Select all

wine: could not load ntdll.so: (null)
I looked at the environment variables - none contains something
like "wine".
Parallel, I see a lot of winserver crashs in DMESG on the host, like this:

Code: Select all

[Tue Jun  6 12:48:28 2023] task:wineserver64    state:D stack:0     pid:1773913 ppid:1      flags:0x00000000
[Tue Jun  6 12:48:28 2023] Call Trace:
[Tue Jun  6 12:48:28 2023]  <TASK>
[Tue Jun  6 12:48:28 2023]  __schedule+0x306/0xa40
[Tue Jun  6 12:48:28 2023]  schedule+0x5d/0xd0
[Tue Jun  6 12:48:28 2023]  io_schedule+0x42/0x70
[Tue Jun  6 12:48:28 2023]  folio_wait_bit_common+0x120/0x350
[Tue Jun  6 12:48:28 2023]  ? filemap_alloc_folio+0x100/0x100
[Tue Jun  6 12:48:28 2023]  filemap_page_mkwrite+0x15e/0x1d0
[Tue Jun  6 12:48:28 2023]  do_page_mkwrite+0x4f/0xb0
[Tue Jun  6 12:48:28 2023]  do_wp_page+0x216/0x3b0
[Tue Jun  6 12:48:28 2023]  __handle_mm_fault+0x9dc/0x1070
[Tue Jun  6 12:48:28 2023]  handle_mm_fault+0xdd/0x2d0
[Tue Jun  6 12:48:28 2023]  do_user_addr_fault+0x1cc/0x6a0
[Tue Jun  6 12:48:28 2023]  exc_page_fault+0x71/0x170
[Tue Jun  6 12:48:28 2023]  asm_exc_page_fault+0x22/0x30
[Tue Jun  6 12:48:28 2023] RIP: 0033:0x563aeec6b107
[Tue Jun  6 12:48:28 2023] RSP: 002b:00007ffde8b0e870 EFLAGS: 00010213
[Tue Jun  6 12:48:28 2023] RAX: 0000000001d99862 RBX: 0000000034474af2 RCX: 00007f1851d9a000
[Tue Jun  6 12:48:28 2023] RDX: 01d99862c6c7730a RSI: 000007fa20df9576 RDI: 0000000000000001
[Tue Jun  6 12:48:28 2023] RBP: 00007ffde8b0e8b0 R08: 0000000000000006 R09: 0000000000000640
[Tue Jun  6 12:48:28 2023] R10: 00007ffde8bd4170 R11: 00007ffde8bd41b0 R12: 0000563aeecb4f31
[Tue Jun  6 12:48:28 2023] R13: 00007ffde8b10dac R14: 0000000000000070 R15: 0000000000000002
[Tue Jun  6 12:48:28 2023]  </TASK>
Host: Debian11 (patched), Kernel: 6.1, Wine: winehq-stable, wine-stable-amd64, wine-stable: 8.0.1

Hope, someone can shed some light onto this.

Regards,
Manfred
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: New WINE setup does not run at all: "could not load ntdll.so: (null)"

Post by jkfloris »

Does it make a difference if you also install the wine-stable-i386:i386 pacakge?
Locked