Keep getting "0124:fixme:dbghelp:elf_search_auxv can't find symbol in module"

Questions about Wine on Linux
Post Reply
User avatar
zxuiji
Newbie
Newbie
Posts: 2
Joined: Sun Jun 08, 2025 12:21 pm

Keep getting "0124:fixme:dbghelp:elf_search_auxv can't find symbol in module"

Post by zxuiji »

Here's the full log (I'll upload an archived small example after this post so give me a mo):

Code: Select all

make run (in directory: /mnt/CODE/gitlab/helloworld_winedbg_example)
CFLAGS=-gdwarf -fPIE -Wall -Wextra -Werror -m64 -mwin32 -D_WIN64 -D_WIN32
x86_64-w64-mingw32-gcc -gdwarf -fPIE -Wall -Wextra -Werror -m64 -mwin32 -D_WIN64 -D_WIN32 -DCOMPILE_BAR -shared -o ./bar.dll ./bar.c -luserenv
x86_64-w64-mingw32-gcc -gdwarf -fPIE -Wall -Wextra -Werror -m64 -mwin32 -D_WIN64 -D_WIN32 -DCOMPILE_FOO -L. -o ./foo.exe ./foo.c -lbar
wine64 winedbg --gdb ./foo.exe
002c:fixme:winediag:loader_init wine-staging 10.2 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
00f0:fixme:wineusb:add_usb_device Interface 1 has 7 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 0 has 2 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 1 has 9 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 2 has 4 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 3 has 3 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 4 has 3 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 0 has 2 alternate settings; using the first one.
00f0:fixme:wineusb:add_usb_device Interface 0 has 2 alternate settings; using the first one.
00bc:fixme:wineusb:query_id Unhandled ID query type 0x5.
...
00bc:fixme:wineusb:query_id Unhandled ID query type 0x5.
WineDbg starting on pid 0128
0128:012c: create process 'E:\gitlab\helloworld_winedbg_example\foo.exe'/0000000000000000 @00000001400013F0 (104960<1807>)
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0128:012c: create thread I @00000001400013F0
GNU gdb (GDB) 16.3
Copyright (C) 2024 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-pc-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".
0128:012c: loads DLL C:\windows\system32\ntdll.dll @00006FFFFFF30000 (724992<11655>)
0128:012c: loads DLL C:\windows\system32\kernel32.dll @00006FFFFFEB0000 (430080<23570>)
0128:012c: loads DLL C:\windows\system32\kernelbase.dll @00006FFFFFBF0000 (2756608<25441>)
0128:012c: loads DLL C:\windows\system32\ucrtbase.dll @00006FFFFF9B0000 (868352<20940>)
0128:012c: loads DLL E:\gitlab\helloworld_winedbg_example\bar.dll @00006FFFFE6E0000 (89088<1454>)
0128:012c: loads DLL c:\msys2\mingw64\bin\libgcc_s_seh-1.dll @00006FFFFE0F0000 (811008<6047>)
0128:012c: loads DLL c:\msys2\mingw64\bin\libwinpthread-1.dll @00006FFFFE6B0000 (88576<97>)
0128:012c: loads DLL C:\windows\system32\tzres.dll @0000000180000000 (0<0>)
0128:012c: unload DLL @0000000180000000
0128:012c: loads DLL C:\windows\system32\tzres.dll @0000000180000000 (0<0>)
0128:012c: unload DLL @0000000180000000
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /home/zxuiji/.wine/dosdevices/e:/gitlab/helloworld_winedbg_example/foo.exe...
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
warning: Could not load shared library symbols for 6 libraries, e.g. .
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
0x00006ffffff3fb11 in process_breakpoint ()
   from /usr/lib/wine/x86_64-windows/ntdll.dll
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
Wine-gdb> A debugging session is active.
	Inferior 1 [Remote target] will be detached.
Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /mnt/CODE/gitlab/helloworld_winedbg_example/foo.exe, Remote target
Ending remote debugging.
[Inferior 1 (Remote target) detached]
Compilation finished successfully.
User avatar
zxuiji
Newbie
Newbie
Posts: 2
Joined: Sun Jun 08, 2025 12:21 pm

Re: Keep getting "0124:fixme:dbghelp:elf_search_auxv can't find symbol in module"

Post by zxuiji »

Well I didn't expect the site to immediately start having load time issues as soon as I just finished saying "give me a mo". Uploaded to my google drive quickly enough but came back to find I couldn't even load the thread for a while. Anyways here's the link for the hello world example of the issue: https://drive.google.com/file/d/1_g5HkP ... sp=sharing

I believe it's related to thread locals, either that or the printf call. I didn't check which but thread locals seems more likely to me. I did try the winetricks suggestion at the bottom of [this thread](viewtopic.php?t=33029) but that didn't resolve the issue. Anyone have an idea for me to try?
Post Reply