public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/47456] New: internal compiler error: Segmentation fault while using jna
@ 2011-01-25 11:20 steve.reinke at iws dot fraunhofer.de
  2011-01-25 11:21 ` [Bug java/47456] " steve.reinke at iws dot fraunhofer.de
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-01-25 11:20 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

           Summary: internal compiler error: Segmentation fault while
                    using jna
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: steve.reinke@iws.fraunhofer.de


i tried to use the java native compiler 1.1.1 application for compiling java
code to native code. i use gcj for compiling for windows.
in the application i use jna. in the line where i try to load the dmx4all.dll
the compiler breaks with the following error:

creating "Main.exe" for Windows
- processing 3D_Viewer_NEW.jar
    de/fraunhofer/iws/dmxcontrol/DMXControl.java:29: internal compiler error:
        Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.

failed...

that's why I'm reporting this bug. can you help me or fix this bug so that i
can compile my project?

the version of the compiler is "gcc-122233-win.zip". i got it from your
homepage.

regards

steve reinke


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
@ 2011-01-25 11:21 ` steve.reinke at iws dot fraunhofer.de
  2011-01-26  0:20 ` pinskia at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-01-25 11:21 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

steve.reinke at iws dot fraunhofer.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
  2011-01-25 11:21 ` [Bug java/47456] " steve.reinke at iws dot fraunhofer.de
@ 2011-01-26  0:20 ` pinskia at gcc dot gnu.org
  2011-01-26  6:32 ` steve.reinke at iws dot fraunhofer.de
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-01-26  0:20 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.01.26 00:20:46
     Ever Confirmed|0                           |1
           Severity|blocker                     |normal

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-26 00:20:46 UTC ---
Can you provide the exact output of "gcc -v"?  And also attach the jar file
which you are trying to compile with the exact command line?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
  2011-01-25 11:21 ` [Bug java/47456] " steve.reinke at iws dot fraunhofer.de
  2011-01-26  0:20 ` pinskia at gcc dot gnu.org
@ 2011-01-26  6:32 ` steve.reinke at iws dot fraunhofer.de
  2011-01-26  6:57 ` steve.reinke at iws dot fraunhofer.de
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-01-26  6:32 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #2 from steve.reinke at iws dot fraunhofer.de 2011-01-26 06:32:43 UTC ---
the out put of "gcj -v" is the following:

C:\Dokumente und
Einstellungen\reinke\Desktop\JavaNativeCompiler-1.1.1\libs\win\
gcc-122233-win\bin>gcj -v
Using built-in specs.
Reading specs from c:/dokumente und
einstellungen/reinke/desktop/javanativecompi
ler-1.1.1/libs/win/gcc-122233-win/bin/../lib/gcc/i686-pc-mingw32/4.3.0/../../../
libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: i686-pc-mingw32
Configured with: /usr/local/src/gcc/configure
--prefix=/home/Marco/Desktop/compi
le-win-win/gcc-XYZXYZ-win
--with-sysroot=/home/Marco/Desktop/compile-win-win/gcc
-XYZXYZ-win/sys-root --build=i686-pc-linux-gnu --host=i686-pc-mingw32
--target=i
686-pc-mingw32 --enable-languages=c,c++,java --enable-libgcj --disable-shared
--
with-gnu-as --with-gnu-ld --disable-nls --disable-debug --disable-checking
--ena
ble-threads=win32 --disable-win32-registry --enable-java-gc=boehm
--enable-java-
maintainer-mode --with-gmp=/home/Marco/Desktop/compile-win-win/gmp-out
--with-mp
fr=/home/Marco/Desktop/compile-win-win/mpfr-out --enable-sjlj-exceptions
--with-
build-sysroot=/home/Marco/Desktop/compile-win-win/gcc-XYZXYZ-win/sys-root
--with
-gcj=i686-pc-mingw32-gcj
Thread model: win32
gcc version 4.3.0 20070222 (experimental)


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (2 preceding siblings ...)
  2011-01-26  6:32 ` steve.reinke at iws dot fraunhofer.de
@ 2011-01-26  6:57 ` steve.reinke at iws dot fraunhofer.de
  2011-01-27 11:31 ` steve.reinke at iws dot fraunhofer.de
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-01-26  6:57 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #3 from steve.reinke at iws dot fraunhofer.de 2011-01-26 06:57:14 UTC ---
i can't attach the jar file but i can add the line where the error occurs.

line 29:

DMXLibrary INSTANCE = (DMXLibrary) Native.loadLibrary("DMX4ALL",
                DMXLibrary.class);


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (3 preceding siblings ...)
  2011-01-26  6:57 ` steve.reinke at iws dot fraunhofer.de
@ 2011-01-27 11:31 ` steve.reinke at iws dot fraunhofer.de
  2011-01-27 12:05 ` mikpe at it dot uu.se
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-01-27 11:31 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #4 from steve.reinke at iws dot fraunhofer.de 2011-01-27 11:31:50 UTC ---
is anybody there who can help me?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (4 preceding siblings ...)
  2011-01-27 11:31 ` steve.reinke at iws dot fraunhofer.de
@ 2011-01-27 12:05 ` mikpe at it dot uu.se
  2011-02-01  7:52 ` steve.reinke at iws dot fraunhofer.de
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mikpe at it dot uu.se @ 2011-01-27 12:05 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2011-01-27 12:05:32 UTC ---
(In reply to comment #4)
> is anybody there who can help me?

You need to supply a test case.  If not the original application then something
similar that triggers the same error.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (5 preceding siblings ...)
  2011-01-27 12:05 ` mikpe at it dot uu.se
@ 2011-02-01  7:52 ` steve.reinke at iws dot fraunhofer.de
  2011-02-01  9:40 ` mikpe at it dot uu.se
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-02-01  7:52 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #9 from steve.reinke at iws dot fraunhofer.de 2011-02-01 07:52:46 UTC ---
i added a testcase...
i hope anybody can help me now, please...


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (6 preceding siblings ...)
  2011-02-01  7:52 ` steve.reinke at iws dot fraunhofer.de
@ 2011-02-01  9:40 ` mikpe at it dot uu.se
  2011-02-01 13:14 ` steve.reinke at iws dot fraunhofer.de
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mikpe at it dot uu.se @ 2011-02-01  9:40 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #10 from Mikael Pettersson <mikpe at it dot uu.se> 2011-02-01 09:40:18 UTC ---
Your test case requires using binaries without sources on Win32.

You can:

1. Try a newer gcc, preferably 4.5.2.  Your pre-4.3.0 development snapshot is
ancient and likely to contain bugs which have since been fixed.

2. Supply a test case in source form.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (7 preceding siblings ...)
  2011-02-01  9:40 ` mikpe at it dot uu.se
@ 2011-02-01 13:14 ` steve.reinke at iws dot fraunhofer.de
  2011-02-01 14:12 ` mikpe at it dot uu.se
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: steve.reinke at iws dot fraunhofer.de @ 2011-02-01 13:14 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #11 from steve.reinke at iws dot fraunhofer.de 2011-02-01 13:14:23 UTC ---
Hi, 

I din't found a gcj version 4.5 build for windows.
That's why I tried to use this version.

Do you know where I can get anywhere such a windows build?

Regards

Steve Reinke

-----Ursprüngliche Nachricht-----
Von: mikpe at it dot uu.se [mailto:gcc-bugzilla@gcc.gnu.org] 
Gesendet: Dienstag, 1. Februar 2011 10:40
An: Reinke, Steve
Betreff: [Bug java/47456] internal compiler error: Segmentation fault while
using jna

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #10 from Mikael Pettersson <mikpe at it dot uu.se> 2011-02-01
09:40:18 UTC --- Your test case requires using binaries without sources on
Win32.

You can:

1. Try a newer gcc, preferably 4.5.2.  Your pre-4.3.0 development snapshot is
ancient and likely to contain bugs which have since been fixed.

2. Supply a test case in source form.

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: ------- You reported the bug.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (8 preceding siblings ...)
  2011-02-01 13:14 ` steve.reinke at iws dot fraunhofer.de
@ 2011-02-01 14:12 ` mikpe at it dot uu.se
  2011-12-13  9:14 ` ktietz at gcc dot gnu.org
  2012-01-10 16:58 ` ktietz at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: mikpe at it dot uu.se @ 2011-02-01 14:12 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

--- Comment #12 from Mikael Pettersson <mikpe at it dot uu.se> 2011-02-01 14:12:12 UTC ---
(In reply to comment #11)
> Hi, 
> 
> I din't found a gcj version 4.5 build for windows.
> That's why I tried to use this version.
> 
> Do you know where I can get anywhere such a windows build?

(please don't top-post)

Looks like mingw supplies prebuilt binaries, including java:
http://www.mingw.org/wiki/Getting_Started


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (9 preceding siblings ...)
  2011-02-01 14:12 ` mikpe at it dot uu.se
@ 2011-12-13  9:14 ` ktietz at gcc dot gnu.org
  2012-01-10 16:58 ` ktietz at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-12-13  9:14 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #14 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-12-13 09:13:38 UTC ---
The gcc 4.3.x series has reached end of support. Does this failure happens
still with newer gcj version?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug java/47456] internal compiler error: Segmentation fault while using jna
  2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
                   ` (10 preceding siblings ...)
  2011-12-13  9:14 ` ktietz at gcc dot gnu.org
@ 2012-01-10 16:58 ` ktietz at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-01-10 16:58 UTC (permalink / raw)
  To: java-prs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47456

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-01-10 16:57:02 UTC ---
Hmm, neither an new report about this, nor confirmation that issue still
happens. We waited long enough.  Closing it.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-01-10 16:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 11:20 [Bug java/47456] New: internal compiler error: Segmentation fault while using jna steve.reinke at iws dot fraunhofer.de
2011-01-25 11:21 ` [Bug java/47456] " steve.reinke at iws dot fraunhofer.de
2011-01-26  0:20 ` pinskia at gcc dot gnu.org
2011-01-26  6:32 ` steve.reinke at iws dot fraunhofer.de
2011-01-26  6:57 ` steve.reinke at iws dot fraunhofer.de
2011-01-27 11:31 ` steve.reinke at iws dot fraunhofer.de
2011-01-27 12:05 ` mikpe at it dot uu.se
2011-02-01  7:52 ` steve.reinke at iws dot fraunhofer.de
2011-02-01  9:40 ` mikpe at it dot uu.se
2011-02-01 13:14 ` steve.reinke at iws dot fraunhofer.de
2011-02-01 14:12 ` mikpe at it dot uu.se
2011-12-13  9:14 ` ktietz at gcc dot gnu.org
2012-01-10 16:58 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).