https://bugs.winehq.org/show_bug.cgi?id=50204
Bug ID: 50204 Summary: wineserver from Wine 5.22-195-gcbca9f847f6 debug dumps NLS object information on shutdown Product: Wine Version: 5.22 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: wineserver Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
since Fri Nov 27 2020 series of commits (Wine 5.22-195-gcbca9f847f6), wineserver now debug dumps objects information on shutdown with default debug verbosity.
--- snip --- $ wineboot -u ... 0x2249030:1: Inode device=0x2248eb0 ino=108b5c4 0x2248eb0:1: Device dev=fd01 0x2248d20:1: Fd unix_fd=18 user=(nil) options=00000060 inode=0x2249030 unlink=0 --- snip ---
Debugging wineserver yields:
--- snip --- ... attach 198986 Attaching to process 198986 Reading symbols from /home/focht/projects/wine/mainline-install-x86_64/bin/wineserver... Reading symbols from /lib64/libdl.so.2... Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.31.so.debug... Reading symbols from /lib64/libc.so.6... Reading symbols from /usr/lib/debug/usr/lib64/libc-2.31.so.debug... Reading symbols from /lib64/ld-linux-x86-64.so.2... Reading symbols from /usr/lib/debug/usr/lib64/ld-2.31.so.debug... 0x00007ff08e3c9c1a in epoll_wait (epfd=9, events=0x7ffd35ea00c0, maxevents=128, timeout=16) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30 30 return SYSCALL_CANCEL (epoll_wait, epfd, events, maxevents, timeout);
(gdb @ 1:epoll_wait) b inode_dump Breakpoint 1 at 0x410b70: file /home/focht/projects/wine/mainline-src/server/fd.c, line 1132.
(gdb @ 1:epoll_wait) c Continuing.
Breakpoint 1, inode_dump (obj=0xbdf030, verbose=1) at /home/focht/projects/wine/mainline-src/server/fd.c:1132
1132 fprintf( stderr, "Inode device=%p ino=", inode->device ); (gdb @ 1:inode_dump) bt #0 inode_dump (obj=0xbdf030, verbose=1) at /home/focht/projects/wine/mainline-src/server/fd.c:1132 #1 0x000000000041e813 in dump_objects () at /home/focht/projects/wine/mainline-src/server/object.c:64 #2 0x0000000000432193 in close_socket_timeout (arg=<optimized out>) at /home/focht/projects/wine/mainline-src/server/request.c:950 #3 0x00000000004107df in get_next_timeout () at /home/focht/projects/wine/mainline-src/server/fd.c:953 #4 0x0000000000411c1d in main_loop_epoll () at /home/focht/projects/wine/mainline-src/server/fd.c:599 #5 0x0000000000411f1e in main_loop () at /home/focht/projects/wine/mainline-src/server/fd.c:986 #6 0x00000000004039fb in main () --- snip ---
--- snip --- $ ls -la /proc/198986/fd total 0 dr-x------. 2 focht focht 0 Nov 28 11:33 . dr-xr-xr-x. 9 focht focht 0 Nov 28 11:33 .. lrwx------. 1 focht focht 64 Nov 28 11:33 0 -> /dev/null lrwx------. 1 focht focht 64 Nov 28 11:45 1 -> /dev/null lr-x------. 1 focht focht 64 Nov 28 11:45 18 -> /home/focht/projects/wine/mainline-install-x86_64/share/wine/nls/l_intl.nls lrwx------. 1 focht focht 64 Nov 28 11:45 2 -> /dev/pts/2 lr-x------. 1 focht focht 64 Nov 28 11:45 4 -> /home/focht/.wine lr-x------. 1 focht focht 64 Nov 28 11:45 5 -> /tmp/.wine-1000/server-fd01-dd2014 l-wx------. 1 focht focht 64 Nov 28 11:45 6 -> /tmp/.wine-1000/server-fd01-dd2014/lock lrwx------. 1 focht focht 64 Nov 28 11:45 9 -> 'anon_inode:[eventpoll]' --- snip ---
fd 18 -> '/home/focht/projects/wine/mainline-install-x86_64/share/wine/nls/l_intl.nls'
I didn't do regression test but using above info my bet would be https://source.winehq.org/git/wine.git/commitdiff/8fa03e494acb10303fef360b51... ("server: Create the NLS section object for the l_intl.nls file.)"
$ wine --version wine-5.22-195-gcbca9f847f6
Regards
https://bugs.winehq.org/show_bug.cgi?id=50204
Alexis Peypelut iroalexis@outlook.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iroalexis@outlook.fr
https://bugs.winehq.org/show_bug.cgi?id=50204
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9494fa6986e40fdd563436df3e7 | |05feb44f747ad Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/9494fa6986e40fdd563436df3e... ("server: Release the l_intl fd once the mapping is created.")
Thanks Alexandre
Regards
https://bugs.winehq.org/show_bug.cgi?id=50204
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc1.