[Help] SIGSEGV on 'g_ascii_table' ; can't resolve symbol 'g_type_init' ; Bus Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm working on porting 'jamvm+classpath+gtk+directfb'.
(HOST : mipsel-linux, BUILD : i386-linux)

The gtk-demo seems to work well for now.
But when I run the gnu.classpath.examples.awt.Demo,
I am running into some troubles.

The access to 'g_ascii_table' causes SIGSEGV.
The g_ascii_table is a global pointer from Glib.
But it doesn't make any trouble on the gtk-demo.

I forced the awt Demo to proceed without the access to that variable.
And I got 'Bus Error'. It's from the Java math class. (Math.exp, Math.log)
The class is used to make the colour space conversion matrix.
Anyway, the Bus Error also occurred on the simple test program, which uses just
the Math class and System.out.format(). And when I run the awt Demo
without unzipping
examples.zip, I see the Bus Error. I heard that it's because my target
doesn't have
enough memory. Is that right? My target can malloc around 88MB at the maximum.
I tried to adjust -Xms/mx/ss options of Jamvm by rule of thumb.
I tried the ecj and javac-1.7.0-icedtea.
And various configure options of Jamvm & Classpath.
But results didn't differ.
I am using --disable-zip configure option on Jamvm.

Again I forced the Demo to flow with blocking the signal no. 10 (Bus Error).

And I got this message.
###########################################################
locking: gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, 217
gtkgenericpeer, thread: Thread[main,5,main]
locked: gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, 217
gtkgenericpeer, thread: Thread[main,5,main]
unlocking: gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, 221
gtkgenericpeer, thread: Thread[main,5,main]
unlocked: gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, 221
gtkgenericpeer, thread: Thread[main,5,main]
jamvm: can't resolve symbol 'g_type_init' in lib
'/opt/local/lib/libpangoft2-1.0.so.0'.
###########################################################
<<no more progress>>  <-- my comment

Actually, at the initial part of the program, the g_type_init was
normally referenced once.
So I just suspect the thread.
And the gtk-demo works well without the error.
I tried '-Ldir' and 'rpath' options. But no gain.

Now no progress.. Help me please..
Thanks..
donald


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux