Your message dated Wed, 18 Nov 2026 14:52:38 +0000
with message-id <[email protected]>
and subject line Bug#1110936: fixed in wine 10.0~repack-12.2
has caused the Debian Bug report #1110936,
regarding wine crashes when /run/user/uid is not writable and TMPDIR set
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1110936: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110936
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wine
Version: 10.0~repack-6
Severity: normal
When /run/user/$uid is not writeable and TMPDIR is set, e.g. in a container
wine crashes
on startup. Setting XDG_RUNTIME_DIR to a writable folder does not help.
This is caused by the debian patch
debian/patches/fixes/temporary-directory.patch:
https://salsa.debian.org/wine-team/wine/-/blob/debian13-wine10/debian/patches/fixes/temporary-directory.patch?ref_type=heads#L201
To reproduce:
$ docker run -ti --rm debian:trixie bash
$ apt install wine
$ adduser test ....
test@fb6a24900fd6:/$ export TMPDIR=/tmp
test@fb6a24900fd6:/$ ls /run/user/1000
ls: cannot access '/run/user/1000': No such file or directory
test@fb6a24900fd6:/$ id
uid=1000(test) gid=1000(test) groups=1000(test),100(users)
test@fb6a24900fd6$ winecfg
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first. as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32:i386"
free(): invalid pointer
Aborted (core dumped)
a stacktrace shows the crash in the patched function:
#8 __GI___libc_free (mem=0x7ffcf2decf38) at ./malloc/malloc.c:3476
#9 0x00007b660fb8e084 in server_tmpdir (cfg_dir=<optimized out>) at
include/wine/server_tmpdir.h:139
which is:
free( root_dir );
test@fb6a24900fd6:/$ gdb --args /usr/lib/wine/wine64 winecfg.exe
GNU gdb (Debian 16.3-1) 16.3
...
(gdb) r
Starting program: /usr/lib/wine/wine64 winecfg.exe
warning: Error disabling address space randomization: Operation not permitted
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 8727 is executing new program: /usr/lib/wine/wine64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
free(): invalid pointer
Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6,
no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007b660fcaf9ff in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at ./nptl/pthread_kill.c:89
#2 0x00007b660fc5acc2 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3 0x00007b660fc434ac in __GI_abort () at ./stdlib/abort.c:73
#4 0x00007b660fc44291 in __libc_message_impl (fmt=fmt@entry=0x7b660fdc632d
"%s\n") at ../sysdeps/posix/libc_fatal.c:134
#5 0x00007b660fcb9465 in malloc_printerr (str=str@entry=0x7b660fdc4100 "free():
invalid pointer") at ./malloc/malloc.c:5829
#6 0x00007b660fcbe3dc in _int_free_check (av=0x7b660fe02ac0 <main_arena>,
p=0x7ffcf2decf28, size=<optimized out>) at ./malloc/malloc.c:4560
#7 _int_free (av=0x7b660fe02ac0 <main_arena>, p=0x7ffcf2decf28, have_lock=0)
at ./malloc/malloc.c:4692
#8 __GI___libc_free (mem=0x7ffcf2decf38) at ./malloc/malloc.c:3476
#9 0x00007b660fb8e084 in server_tmpdir (cfg_dir=<optimized out>) at
include/wine/server_tmpdir.h:139
#10 init_server_dir (dev=107, ino=690014) at dlls/ntdll/unix/server.c:1259
#11 setup_config_dir () at dlls/ntdll/unix/server.c:1299
#12 server_connect () at dlls/ntdll/unix/server.c:1359
#13 server_init_process () at dlls/ntdll/unix/server.c:1572
#14 0x00007b660fb7eb77 in start_main_thread () at dlls/ntdll/unix/loader.c:1861
#15 __wine_main (argc=2, argv=0x7ffcf2deb2d8) at dlls/ntdll/unix/loader.c:2189
#16 0x0000596f1d775273 in ?? ()
#17 0x00007b660fc44ca8 in __libc_start_call_main
(main=main@entry=0x596f1d775180, argc=argc@entry=2,
argv=argv@entry=0x7ffcf2deb2d8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#18 0x00007b660fc44d65 in __libc_start_main_impl (main=0x596f1d775180, argc=2,
argv=0x7ffcf2deb2d8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffcf2deb2c8) at
../csu/libc-start.c:360
#19 0x0000596f1d775531 in _start ()
--- End Message ---
--- Begin Message ---
Source: wine
Source-Version: 10.0~repack-12.2
Done: Boyuan Yang <[email protected]>
We believe that the bug you reported is fixed in the latest version of
wine, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <[email protected]> (supplier of updated wine package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 17 Nov 2026 22:59:36 -0500
Source: wine
Architecture: source
Version: 10.0~repack-12.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 1110936 1121655 1122868
Changes:
wine (10.0~repack-12.2) unstable; urgency=medium
.
* Non-maintainer upload.
* debian/libwineVERSION.postinst: Remove the old stable and development
alternatives before registering wine.collection (Closes: #1121655).
* debian/scripts/wine.in: Honor WINEARCH=win32 when the native 32-bit
loader is available (Closes: #1122868).
* debian/patches:
+ fixes/temporary-directory.patch: Do not free the borrowed TMPDIR
path (Closes: #1110936).
* debian/rules: Use SOURCE_DATE_EPOCH for FontForge input file times
and omit wall-clock timestamps from Clang ARM PE/COFF objects.
Make wine-common and the ARM libwine-dev packages reproducible.
Checksums-Sha1:
4705b659cccf566cdf0d44bc4bfe624315294fb5 3883 wine_10.0~repack-12.2.dsc
45df2ae20c48626161a510349d4322ba23d68276 6223060
wine_10.0~repack-12.2.debian.tar.xz
26bd756f75f2e53cd314fcd9ef35814a6cfa9350 5813
wine_10.0~repack-12.2_source.buildinfo
Checksums-Sha256:
8649a4b53a5331fd4dbd3c596fe468c87f20d0836d935328339a864ffe74871e 3883
wine_10.0~repack-12.2.dsc
93ba22d7c68481ccb45689ec5105d7664292e7a0eab5f0c2251770a1ac9952b5 6223060
wine_10.0~repack-12.2.debian.tar.xz
f6a456fa236ab8081248e788cb613cf904d41b77ac7771cf52c9bb780496b68d 5813
wine_10.0~repack-12.2_source.buildinfo
Files:
7d8101f6fe32b2e974bf2116b48f929c 3883 otherosfs optional
wine_10.0~repack-12.2.dsc
64d16dc653520ba29c0efe9fd4a94fb8 6223060 otherosfs optional
wine_10.0~repack-12.2.debian.tar.xz
c2fea85ecdab5e2f262a1e4a3d8313ee 5813 otherosfs optional
wine_10.0~repack-12.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmr9txYACgkQwpPntGGC
Ws5EfA/+NP8fS7wZmJdn3hw9JwznAzZ5a2l4NcmlasLF0/UCEXbJ/SvQM94T1ypn
8Ly3fQMVocxUCdNnKZ8n0EPqglmgBxo6lngZxVV+KU8Suzw38fZDvUuvPt5DVEhW
3YiOx+J9Mm93ZaZRWAWV7G7WId5A4GRYKCBwR+Ks+DjkZgghkjvqvnEZYq0fbr2Z
pw2sxo+aQtqKBnc3PHlQWaYbhy8JMZPlZb1OOh29oMCbL9wEc8cuZ35HsUrDU/8O
LZ9XpE7w/RY/guzTKhWD4GkYbr5g/rZBaRUAHdo/nMtyNLUVlhXhVOvde4AfIH9k
y2znZaShIK1ioBrXYg71lrho7C3Nsl52lL9fvf0p9addmQzPuFzZg7SLNJGT/PEb
+TeWNdBYj6D23cxqOS0gaNzG5dX4B5siSQdTm1GzwLPLjhILTNws/FNE5D4t8lPL
LvxwmnxA2y64jXbWPvYWxkbvDRoIiky7+6s1TICwDVmFaUMjqP1dU6lIjt1p6Miq
P4y02kU+eg+L5A0MbSWyawLJ66mqe6BRl65TSYbVutT8/xc7dIyHxq9apvJXavb8
nPqFAwgiND3KDMw4jVnLJHCdiolXjbgOplbrK/zUQghtNy2RrJatediobZQRpd/5
bIO8qeK0mgA9KeAUIzJB32h/rrBelJq5pIJu8Sjp0+iHsgQM1v8=
=z7oy
-----END PGP SIGNATURE-----
pgpxrqcA3mPok.pgp
Description: PGP signature
--- End Message ---