This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I can't uses unbuffer.dll on MSYS2 test machine. $ ldd * killall: ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffdf1500000) KERNEL32.DLL => /c/windows/system32/KERNEL32.DLL (0x7ffdf0ac0000) KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7ffdee990000) process_start: ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffdf1500000) KERNEL32.DLL => /c/windows/system32/KERNEL32.DLL (0x7ffdf0ac0000) KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7ffdee990000) pty: ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffdf1500000) KERNEL32.DLL => /c/windows/system32/KERNEL32.DLL (0x7ffdf0ac0000) KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7ffdee990000) pty_open: ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffdf1500000) KERNEL32.DLL => /c/windows/system32/KERNEL32.DLL (0x7ffdf0ac0000) KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7ffdee990000) sigqueue: ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffdf1500000) KERNEL32.DLL => /c/windows/system32/KERNEL32.DLL (0x7ffdf0ac0000) KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7ffdee990000) unbuffer.dll: ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x7ffdf1500000) KERNEL32.DLL => /c/windows/system32/KERNEL32.DLL (0x7ffdf0ac0000) KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7ffdee990000) ??? => ??? (0x48b5b0000) Scenario: - Create Quote project - Build project - Call context menu on cpu.cc file in Projects tab - Select "Create Test|New C++ Simple Test ..." menu item - Select "GetType()" and press Next button - Press Finish button - Wait test appeared - Call context menu on "Test Files" logical folder - Select Test ==> 6 [main] make 154992 C:\msys64\usr\bin\make.exe: *** fatal error - error while loading shared libraries: /C/hudson/workspace/cnd-test-win8-mingw/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll: cannot open shared object file: No such file or directory 1780 [main] make 154992 cygwin_exception::open_stackdumpfile: Dumping stack trace to make.exe.stackdump
Note: ldd called from MSYS2 and from Cygwin shows different results -----------------8<---------------- $ cat file.c int main() {} ----------------------------------- ldd ./file.exe -------------- MSYS2 -------------- ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffa55110000) KERNEL32.DLL => /c/Windows/system32/KERNEL32.DLL (0x7ffa53490000) KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x7ffa51c60000) ----------------------------------- ------------- Cygwin -------------- ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffa55110000) KERNEL32.DLL => /cygdrive/c/Windows/system32/KERNEL32.DLL (0x7ffa53490000) KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll (0x7ffa51c60000) cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) -----------------------------------
Valera, could you, please, try the attached unbuffer.dll for x86_64? For me it fails with message: 0 [main] make 4200 C:\msys64\usr\bin\make.exe: *** fatal error - error while loading shared libraries: /E/release82/nbbuild/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll: cannot open shared object file: Exec format error 4108 [main] make 4200 cygwin_exception::open_stackdumpfile: Dumping stack trace to make.exe.stackdump
Created attachment 163993 [details] library
Library should be replaced here: nbbuild/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll
Yes. I see: 19 [main] make 14184 C:\msys64\usr\bin\make.exe: *** fatal error - error while loading shared libraries: /C/hudson/workspace/cnd-test-win8-mingw/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll: cannot open shared object file: Exec format error 4790 [main] make 14184 cygwin_exception::open_stackdumpfile: Dumping stack trace to make.exe.stackdump
Created attachment 164024 [details] This binary works perfectly with 32bit systems.
Created attachment 164025 [details] Stripped library for 32-bit systems
Created attachment 164026 [details] Stripped library for 64-bit systems (not tested yet)
(In reply to ilia from comment #8) > Created attachment 164026 [details] > Stripped library for 64-bit systems (not tested yet) I replaced my original unbuffer.dll library with this one and my unit testing framework works now unlike before. I am running Netbeans 8.2 on a Windows 10 system.