From: SourceForge.net <no...@so...> - 2010-02-19 21:40:47
|
Bugs item #2955201, was opened at 2010-02-19 16:40 Message generated for change (Tracker Item Submitted) made by gcrhoads You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Glenn Rhoads (gcrhoads) Assigned to: Nobody/Anonymous (nobody) Summary: "Bad file number" Initial Comment: When trying to execute the file names "patcher.exe" which compiled without errors, I receive the following error message. sh: ./patcher.exe : Bad file number Environment details: I'm running under Windows Vista gcc version 3.4.5 (mingw-vista special r3) Binutils linker version 2.20 Using MSYS 1.0.11 The output from entering "gcc -v" is Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-shared --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw-vista special r3) The output of entering "ld -v" is GNU ld (GNU Binutils) 2.20 Note that my program makes use of the "QD" high-precision library (version 2.3.9) which can be downloaded from http://crd.lbl.gov/~dhbailey/mpdist/ (the file is qd-2.3.9.tar.gz). I successfully installed this package -- it passed all the tests performed by the test programs. Also, I have several other C++ programs which use this package and all of them work correctly. Any idea of what the problem might be and how to fix it? Note that the code for this program, and the other ones that use the QD package, is very complex and is made up of 4 or 5 source files. I haven't been able to reproduce this error on a simpler test case but I will try again later. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 |
From: SourceForge.net <no...@so...> - 2010-02-23 15:35:46
|
Bugs item #2955201, was opened at 2010-02-19 16:40 Message generated for change (Comment added) made by gcrhoads You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None >Priority: 8 Private: No Submitted By: Glenn Rhoads (gcrhoads) Assigned to: Nobody/Anonymous (nobody) Summary: "Bad file number" Initial Comment: When trying to execute the file names "patcher.exe" which compiled without errors, I receive the following error message. sh: ./patcher.exe : Bad file number Environment details: I'm running under Windows Vista gcc version 3.4.5 (mingw-vista special r3) Binutils linker version 2.20 Using MSYS 1.0.11 The output from entering "gcc -v" is Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-shared --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw-vista special r3) The output of entering "ld -v" is GNU ld (GNU Binutils) 2.20 Note that my program makes use of the "QD" high-precision library (version 2.3.9) which can be downloaded from http://crd.lbl.gov/~dhbailey/mpdist/ (the file is qd-2.3.9.tar.gz). I successfully installed this package -- it passed all the tests performed by the test programs. Also, I have several other C++ programs which use this package and all of them work correctly. Any idea of what the problem might be and how to fix it? Note that the code for this program, and the other ones that use the QD package, is very complex and is made up of 4 or 5 source files. I haven't been able to reproduce this error on a simpler test case but I will try again later. ---------------------------------------------------------------------- >Comment By: Glenn Rhoads (gcrhoads) Date: 2010-02-23 10:35 Message: I managed to create a very small "do-nothing" program that has the same problem. I'm attaching this example program. From the example, it is obvious that the problem has nothing to do with my code but is instead a problem with MinGW/mysys/gcc Note that I really need to get this problem fixed in order to finish my research project. After finishing the project, I plan on writing up the results and submitting it to a research journal for publication. -- Dr. Glenn C. Rhoads ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 |
From: SourceForge.net <no...@so...> - 2010-02-23 20:15:43
|
Bugs item #2955201, was opened at 2010-02-19 16:40 Message generated for change (Comment added) made by gcrhoads You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: Glenn Rhoads (gcrhoads) Assigned to: Nobody/Anonymous (nobody) Summary: "Bad file number" Initial Comment: When trying to execute the file names "patcher.exe" which compiled without errors, I receive the following error message. sh: ./patcher.exe : Bad file number Environment details: I'm running under Windows Vista gcc version 3.4.5 (mingw-vista special r3) Binutils linker version 2.20 Using MSYS 1.0.11 The output from entering "gcc -v" is Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-shared --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw-vista special r3) The output of entering "ld -v" is GNU ld (GNU Binutils) 2.20 Note that my program makes use of the "QD" high-precision library (version 2.3.9) which can be downloaded from http://crd.lbl.gov/~dhbailey/mpdist/ (the file is qd-2.3.9.tar.gz). I successfully installed this package -- it passed all the tests performed by the test programs. Also, I have several other C++ programs which use this package and all of them work correctly. Any idea of what the problem might be and how to fix it? Note that the code for this program, and the other ones that use the QD package, is very complex and is made up of 4 or 5 source files. I haven't been able to reproduce this error on a simpler test case but I will try again later. ---------------------------------------------------------------------- >Comment By: Glenn Rhoads (gcrhoads) Date: 2010-02-23 15:15 Message: When I execute the program through the Command Prompt window (cmd.exe), my program works correctly! So I have a workaround solution. ---------------------------------------------------------------------- Comment By: Glenn Rhoads (gcrhoads) Date: 2010-02-23 10:35 Message: I managed to create a very small "do-nothing" program that has the same problem. I'm attaching this example program. From the example, it is obvious that the problem has nothing to do with my code but is instead a problem with MinGW/mysys/gcc Note that I really need to get this problem fixed in order to finish my research project. After finishing the project, I plan on writing up the results and submitting it to a research journal for publication. -- Dr. Glenn C. Rhoads ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 |
From: SourceForge.net <no...@so...> - 2010-02-27 19:49:58
|
Bugs item #2955201, was opened at 2010-02-19 21:40 Message generated for change (Comment added) made by keithmarshall You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None >Group: Known Feature >Status: Closed >Resolution: Invalid >Priority: 5 Private: No Submitted By: Glenn Rhoads (gcrhoads) Assigned to: Nobody/Anonymous (nobody) Summary: "Bad file number" Initial Comment: When trying to execute the file names "patcher.exe" which compiled without errors, I receive the following error message. sh: ./patcher.exe : Bad file number Environment details: I'm running under Windows Vista gcc version 3.4.5 (mingw-vista special r3) Binutils linker version 2.20 Using MSYS 1.0.11 The output from entering "gcc -v" is Reading specs from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-shared --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw-vista special r3) The output of entering "ld -v" is GNU ld (GNU Binutils) 2.20 Note that my program makes use of the "QD" high-precision library (version 2.3.9) which can be downloaded from http://crd.lbl.gov/~dhbailey/mpdist/ (the file is qd-2.3.9.tar.gz). I successfully installed this package -- it passed all the tests performed by the test programs. Also, I have several other C++ programs which use this package and all of them work correctly. Any idea of what the problem might be and how to fix it? Note that the code for this program, and the other ones that use the QD package, is very complex and is made up of 4 or 5 source files. I haven't been able to reproduce this error on a simpler test case but I will try again later. ---------------------------------------------------------------------- >Comment By: Keith Marshall (keithmarshall) Date: 2010-02-27 19:49 Message: As noted in the complementary discussion on the users' list, you seem to have fallen foul of a Vista/Windows-7 quirk, whereby the system refuses to run programs with names such as <anything>setup<anything>.exe <anything>instal<anything>.exe <anything>patch<anything>.exe without privilege escalation. The only possible bug here is that MSYS provides a less than helpful diagnostic message, but presumably the system hasn't set an errno which would let it do better. The solution, for you, is to choose an alternative program name, which doesn't match any heuristically questionable prototype, or to provide a manifest file to placate the system. ---------------------------------------------------------------------- Comment By: Glenn Rhoads (gcrhoads) Date: 2010-02-23 20:15 Message: When I execute the program through the Command Prompt window (cmd.exe), my program works correctly! So I have a workaround solution. ---------------------------------------------------------------------- Comment By: Glenn Rhoads (gcrhoads) Date: 2010-02-23 15:35 Message: I managed to create a very small "do-nothing" program that has the same problem. I'm attaching this example program. From the example, it is obvious that the problem has nothing to do with my code but is instead a problem with MinGW/mysys/gcc Note that I really need to get this problem fixed in order to finish my research project. After finishing the project, I plan on writing up the results and submitting it to a research journal for publication. -- Dr. Glenn C. Rhoads ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2955201&group_id=2435 |