http://bugs.winehq.org/show_bug.cgi?id=18648
Summary: Error unimplemented function snmpapi.dll on start bginfo program Product: Wine Version: 1.1.22 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: berg.foss@gmail.com
I was testing bginfo ( background info ) 4.15 and reports that the program has encoutered a serious problem.
this program is freeware and ca be found at http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx
myloginz@ubuntu:/tmp/BgInfo$ ls -l total 840 -rw-r--r-- 1 myloginz myloginz 845696 2009-03-27 09:24 Bginfo.exe -rw-r--r-- 1 myloginz myloginz 7005 2006-07-28 08:32 Eula.txt
myloginz@ubuntu:/tmp/BgInfo$ wine Bginfo.exe fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1 fixme:reg:GetNativeSystemInfo (0x4aca54) using GetSystemInfo() fixme:advapi:LsaOpenPolicy ((null),0x3248bc,0x00000001,0x3248d8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:netapi32:NetWkstaUserGetInfo Level 1 processing is partially implemented fixme:advapi:LsaOpenPolicy ((null),0x3248b4,0x00000001,0x3248d0) stub fixme:advapi:LsaClose (0xcafe) stub wine: Call from 0x7b844453 to unimplemented function snmpapi.dll.SnmpSvcGetUptime, aborting wine: Unimplemented function snmpapi.dll.SnmpSvcGetUptime called at address 0x7b844453 (thread 0009), starting debugger... Unhandled exception: unimplemented function snmpapi.dll.SnmpSvcGetUptime called in 32-bit code (0x7b844453). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7b844453 ESP:0032457c EBP:003245e0 EFLAGS:00000246( - -- I Z- -P- ) EAX:7b82ecd1 EBX:7b8b6ff4 ECX:00000000 EDX:00324604 ESI:00324604 EDI:7de90000 Stack dump: 0x0032457c: 00324604 00000008 0000003c 80000100 0x0032458c: 00000001 00000000 7b844453 00000002 0x0032459c: 7ea9f104 7ea9f240 7bc3442f 7de90000 0x003245ac: 7bc93ff4 003245f0 7bc4ad85 7bc9c624 0x003245bc: 00000003 001104f8 001104f8 003245d4 0x003245cc: 003245d8 00000000 7b8443ea 0032e794 Backtrace: =>0 0x7b844453 in kernel32 (+0x24453) (0x003245e0) 1 0x7ea9f0a8 in snmpapi (+0xf0a8) (0x00324610) 2 0x7ea9ce68 in snmpapi (+0xce68) (0x003246d4) 3 0x00000000 (0x0032476c) 4 0x7bc6a902 wine_server_call+0xf2() in ntdll (0x0032484c) 5 0x7bc51372 NtClose+0x52() in ntdll (0x003248dc) 6 0x7bc30400 in ntdll (+0x20400) (0x008048ec) 7 0x00000000 (0x00000000) 0x7b844453: subl $4,%esp Modules: Module Address Debug info Name (97 modules) PE 400000- 4d8000 Deferred bginfo ELF 7b800000-7b948000 Export kernel32<elf> -PE 7b820000-7b948000 \ kernel32 ELF 7bc00000-7bcb0000 Export ntdll<elf> -PE 7bc10000-7bcb0000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7dd7d000-7dda4000 Deferred netapi32<elf> -PE 7dd80000-7dda4000 \ netapi32 ELF 7de88000-7de9f000 Deferred inetmib1<elf> -PE 7de90000-7de9f000 \ inetmib1 ELF 7de9f000-7def8000 Deferred riched20<elf> -PE 7deb0000-7def8000 \ riched20 ELF 7def8000-7df0c000 Deferred riched32<elf> -PE 7df00000-7df0c000 \ riched32 ELF 7df0c000-7df10000 Deferred libgpg-error.so.0 ELF 7df10000-7df79000 Deferred libgcrypt.so.11 ELF 7df79000-7df8b000 Deferred libtasn1.so.3 ELF 7df8b000-7df94000 Deferred libkrb5support.so.0 ELF 7df94000-7dfb8000 Deferred libk5crypto.so.3 ELF 7dfb8000-7e04a000 Deferred libkrb5.so.3 ELF 7e04a000-7e0e7000 Deferred libgnutls.so.26 ELF 7e0e7000-7e112000 Deferred libgssapi_krb5.so.2 ELF 7e112000-7e149000 Deferred libcups.so.2 ELF 7e1aa000-7e1dd000 Deferred uxtheme<elf> -PE 7e1b0000-7e1dd000 \ uxtheme ELF 7e1dd000-7e1e6000 Deferred libxcursor.so.1 ELF 7e1e6000-7e1eb000 Deferred libxfixes.so.3 ELF 7e1eb000-7e1ef000 Deferred libxcomposite.so.1 ELF 7e1ef000-7e1f7000 Deferred libxrandr.so.2 ELF 7e1f7000-7e201000 Deferred libxrender.so.1 ELF 7e201000-7e207000 Deferred libxxf86vm.so.1 ELF 7e207000-7e228000 Deferred imm32<elf> -PE 7e210000-7e228000 \ imm32 ELF 7e228000-7e22d000 Deferred libxdmcp.so.6 ELF 7e22d000-7e247000 Deferred libxcb.so.1 ELF 7e247000-7e24b000 Deferred libxau.so.6 ELF 7e24b000-7e250000 Deferred libuuid.so.1 ELF 7e250000-7e33f000 Deferred libx11.so.6 ELF 7e33f000-7e34f000 Deferred libxext.so.6 ELF 7e34f000-7e367000 Deferred libice.so.6 ELF 7e367000-7e370000 Deferred libsm.so.6 ELF 7e371000-7e375000 Deferred libkeyutils.so.1 ELF 7e37f000-7e383000 Deferred libcom_err.so.2 ELF 7e383000-7e41f000 Deferred winex11<elf> -PE 7e390000-7e41f000 \ winex11 ELF 7e456000-7e47d000 Deferred libexpat.so.1 ELF 7e47d000-7e4aa000 Deferred libfontconfig.so.1 ELF 7e4aa000-7e4c0000 Deferred libz.so.1 ELF 7e4c0000-7e537000 Deferred libfreetype.so.6 ELF 7e556000-7e56d000 Deferred oleacc<elf> -PE 7e560000-7e56d000 \ oleacc ELF 7e56d000-7e654000 Deferred oleaut32<elf> -PE 7e580000-7e654000 \ oleaut32 ELF 7e654000-7e6c0000 Deferred rpcrt4<elf> -PE 7e660000-7e6c0000 \ rpcrt4 ELF 7e6c0000-7e7bb000 Deferred ole32<elf> -PE 7e6e0000-7e7bb000 \ ole32 ELF 7e7bb000-7e7f1000 Deferred winspool<elf> -PE 7e7c0000-7e7f1000 \ winspool ELF 7e7f1000-7e84f000 Deferred shlwapi<elf> -PE 7e800000-7e84f000 \ shlwapi ELF 7e84f000-7e9d9000 Deferred shell32<elf> -PE 7e860000-7e9d9000 \ shell32 ELF 7e9d9000-7ea8b000 Deferred comdlg32<elf> -PE 7e9e0000-7ea8b000 \ comdlg32 ELF 7ea8b000-7eaa2000 Export snmpapi<elf> -PE 7ea90000-7eaa2000 \ snmpapi ELF 7eaa2000-7eab6000 Deferred lz32<elf> -PE 7eab0000-7eab6000 \ lz32 ELF 7eab6000-7ead1000 Deferred version<elf> -PE 7eac0000-7ead1000 \ version ELF 7ead1000-7eb72000 Deferred gdi32<elf> -PE 7eae0000-7eb72000 \ gdi32 ELF 7eb72000-7ecbd000 Deferred user32<elf> -PE 7eb90000-7ecbd000 \ user32 ELF 7ecbd000-7ed85000 Deferred comctl32<elf> -PE 7ecd0000-7ed85000 \ comctl32 ELF 7ed85000-7eddb000 Deferred advapi32<elf> -PE 7ed90000-7eddb000 \ advapi32 ELF 7eddb000-7edf1000 Deferred libresolv.so.2 ELF 7edf1000-7edf4000 Deferred libxinerama.so.1 ELF 7ee04000-7ee24000 Deferred iphlpapi<elf> -PE 7ee10000-7ee24000 \ iphlpapi ELF 7ee24000-7ee52000 Deferred ws2_32<elf> -PE 7ee30000-7ee52000 \ ws2_32 ELF 7ee52000-7ee6d000 Deferred wsock32<elf> -PE 7ee60000-7ee6d000 \ wsock32 ELF 7ef97000-7efa3000 Deferred libnss_files.so.2 ELF 7efa3000-7efae000 Deferred libnss_nis.so.2 ELF 7efae000-7efc7000 Deferred libnsl.so.1 ELF 7efc7000-7efed000 Deferred libm.so.6 ELF b7c53000-b7c5c000 Deferred libnss_compat.so.2 ELF b7c5e000-b7c62000 Deferred libdl.so.2 ELF b7c62000-b7dc5000 Deferred libc.so.6 ELF b7dc5000-b7dde000 Deferred libpthread.so.0 ELF b7df1000-b7f2c000 Deferred libwine.so.1 ELF b7f2e000-b7f4c000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\tmp\BgInfo\Bginfo.exe 00000009 0 <== 0000000c 00000013 0 00000012 0 0000000e 0 0000000d 0 0000000f 00000015 0 00000014 0 00000011 0 00000010 0 00000016 00000017 0 Backtrace: =>0 0x7b844453 in kernel32 (+0x24453) (0x003245e0) 1 0x7ea9f0a8 in snmpapi (+0xf0a8) (0x00324610) 2 0x7ea9ce68 in snmpapi (+0xce68) (0x003246d4) 3 0x00000000 (0x0032476c) 4 0x7bc6a902 wine_server_call+0xf2() in ntdll (0x0032484c) 5 0x7bc51372 NtClose+0x52() in ntdll (0x003248dc) 6 0x7bc30400 in ntdll (+0x20400) (0x008048ec) 7 0x00000000 (0x00000000) wine: Call from 0x7b844453 to unimplemented function snmpapi.dll.SnmpSvcGetUptime, aborting wine: Call from 0x7b844453 to unimplemented function snmpapi.dll.SnmpSvcGetUptime, aborting myloginz@ubuntu:/tmp/BgInfo$
myloginz@ubuntu:/tmp/BgInfo$ wine --version wine-1.1.22
http://bugs.winehq.org/show_bug.cgi?id=18648
--- Comment #1 from Austin English austinenglish@gmail.com 2009-05-27 11:21:18 --- Created an attachment (id=21361) --> (http://bugs.winehq.org/attachment.cgi?id=21361) stub
Does this help?
http://bugs.winehq.org/show_bug.cgi?id=18648
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.sysinternal | |s.com/Files/BgInfo.zip OS/Version|other |Linux
--- Comment #2 from Ken Sharp kennybobs@o2.co.uk 2009-05-27 11:22:16 --- Did you struggle to understand the DO NOT PASTE LOGS message?
What architecture are you using? Does the program crash or does it continue?
http://bugs.winehq.org/show_bug.cgi?id=18648
--- Comment #3 from Ken Sharp kennybobs@o2.co.uk 2009-05-27 11:37:54 --- Created an attachment (id=21364) --> (http://bugs.winehq.org/attachment.cgi?id=21364) wine-1.1.22-135-g79fcaa7 with patch console output
With patch, a page fault occurs. Different bug or is it caused by the patch?
http://bugs.winehq.org/show_bug.cgi?id=18648
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |NEW Platform|Other |PC Ever Confirmed|0 |1 Severity|minor |normal
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2009-05-27 11:39:28 --- Confirming.
There's no component entry for snmpapi.
http://bugs.winehq.org/show_bug.cgi?id=18648
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #21361|0 |1 is obsolete| |
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2009-12-07 13:53:50 --- Created an attachment (id=25107) --> (http://bugs.winehq.org/attachment.cgi?id=25107) Patch: Add stub for SnmpSvcGetUptime
Does this patch work any better?
http://bugs.winehq.org/show_bug.cgi?id=18648
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2009-12-07 14:01:09 --- (In reply to comment #5)
Does this patch work any better?
Answering my own question: no, it still crashes with an address violation. There's some double freeing going on or something. It might be an app bug we don't handle correctly, or it might be an inetmib1 bug. I'll send the patch in anyway, as it progress the app a little further.
http://bugs.winehq.org/show_bug.cgi?id=18648
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2009-12-07 14:15:50 --- Created an attachment (id=25108) --> (http://bugs.winehq.org/attachment.cgi?id=25108) Hack to avoid crash
I believe this confirms that the bug is in inetmib1 (sorry, no inetmib1 component.) With this applied, it no longer crashes. This is the same hack which fixes bug 18786, although as I argued there, I'm certain it isn't correct. I just don't know what the correct fix is: I don't really understand the problem yet.
http://bugs.winehq.org/show_bug.cgi?id=18648
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25108|0 |1 is obsolete| |
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2009-12-07 15:29:11 --- (From update of attachment 25108) I found the source of the error, and sent patches: http://www.winehq.org/pipermail/wine-patches/2009-December/082383.html http://www.winehq.org/pipermail/wine-patches/2009-December/082384.html
http://bugs.winehq.org/show_bug.cgi?id=18648
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2009-12-08 11:17:15 --- Fixed by commits b7f753a826e6c35086e16867b40918d293e783a5 and 91d62162da316f7a25781ea1a88460aa237a116b.
http://bugs.winehq.org/show_bug.cgi?id=18648
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2009-12-18 13:07:35 --- Closing bugs fixed in 1.1.35.