From: SF/projects/mingw n. l. <min...@li...> - 2012-10-25 19:49:26
|
Bugs item #997517, was opened at 2004-07-25 06:02 Message generated for change (Settings changed) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=997517&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: gcc Group: Unreproducible >Status: Closed >Resolution: Out of Date Priority: 2 Private: No Submitted By: nlite (nlite) Assigned to: Danny Smith (dannysmith) Summary: Segmentation fault if using gcj with -Xassembler Initial Comment: Hi! If I create a file named for example 'aaa' with only a newline ('echo. > aaa') and run gcj on it as follows: gcj aaa -Xassembler --help it crashes with a segmentation fault: Die Anweisung in "0x77f645cc" verweist auf Speicher in "0x6c626d65". Der Vorgang "written" konnte nicht auf dem Speicher durchgeferden. (The command at "0x77f645cc" couldn't write to memory in "0x6c626d65"). Output of ld -v: GNU ld version 2.15.90 20040222 Output of gcc -v: Reading specs from D:/MinGW/bin/../lib/gcc/mingw32/3.4. 0/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --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 Thread model: win32 gcc version 3.4.0 (mingw special) I'm using Windows XP Professional and following packages: gcc-core-3.4.0-20040501-1.tar.gz gcc-java-3.4.0-20040501-1.tar.gz binutils-2.15.90-20040222-1.tar.gz mingw-runtime-3.3.tar.gz ---------------------------------------------------------------------- Comment By: nlite (nlite) Date: 2004-07-30 01:57 Message: Logged In: YES user_id=1069458 gcj nul.java -Xassembler --help -v crashes without any output, trying to write to memory at 0. Same when I add spaces around nul.java. Same when I use a file named 'aaa'. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-07-29 14:42 Message: Logged In: YES user_id=11494 What does this command show gcj nul.java -Xassembler --help -v ---------------------------------------------------------------------- Comment By: nlite (nlite) Date: 2004-07-29 06:17 Message: Logged In: YES user_id=1069458 gcj.exe is segfaulting. Remember i'm calling gcj -Xassembler --help. If i use gcc -Xassembler --help, it doesn't generate a segfault. It also doesn't generate one if I use Mohan's 3.5 build (http://www.thisiscool.com/gcc_mingw.htm, gcc version 3.5.0 20040629 (experimental)). So this might be already fixed? ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-07-28 16:55 Message: Logged In: YES user_id=11494 Hi, I can't reproduce this. What program is segfaulting? I assumed it was ld because without a suffix on the file and no - xlang switch, gcc just passes it on to ld. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=997517&group_id=2435 |