* initialized c++ object is misaligned.
@ 1999-03-08 20:36 Uncle George
0 siblings, 0 replies; only message in thread
From: Uncle George @ 1999-03-08 20:36 UTC (permalink / raw)
To: axp-list, rth
I turned on the GIVE ME A SIGBUS error on an alignment fault.
I was trying to catch some error in the java/audio driver.
Apparently i caught some other alignment error is caused by the
initialization of a static object.
What is some of the majic in loading up a shared c++/c opbect ?????
What can i do to get is aligned
gat
using:
Linux 2.2.1/ egcs 1.1.1
====================================================================
Waiting for 9.0s
(920905575s662ms)handleExpose x=0,y=0, w=460, h=21
Waiting for 9.0s
(920905575s918ms)handleExpose x=0,y=0, w=460, h=21
Waiting for 9.0s
(920905576s424ms)handleExpose x=0,y=0, w=460, h=21
Waiting for 9.0s
(920905576s680ms)handleExpose x=0,y=0, w=460, h=21
Program received signal SIGBUS, Bus error.
JncGlobalRef::JncGlobalRef (this=0x2000600ec64)
at ../../../../src/share/native/sun/audio/JncGlobalRef.cpp:25
25 m_jobj = NULL;
1: x/i $pc 0x20005efdc54 <__12JncGlobalRef+20>: stq
zero,0(t0)
(gdb) info reg t0
t0 0x2000600ec64 2199123979364
(gdb) where 9
#0 JncGlobalRef::JncGlobalRef (this=0x2000600ec64)
at ../../../../src/share/native/sun/audio/JncGlobalRef.cpp:25
#1 0x20005eeb484 in global constructors keyed to
Java_sun_audio_HaeThread_runNative () at
../../../../src/share/native/sun/audio/HaeThread_Impl.cpp:54
#2 0x20005f08080 in __do_global_ctors_aux ()
at ../../gcc/config/alpha/crtend.asm:88
#3 0x20005ebd644 in _init ()
#4 0x2000058eeac in _dl_open (
file=0x120781f10
"/usr/JAVA/d/jsrc12a/build/genunix/lib/alpha/libaudio_g.so", mode=2) at
dl-open.c:176
#5 0x200003cf1cc in doit () at dlopen.c:31
#6 0x200000093e0 in _dl_catch_error (errstring=0x200004d0338,
operate=0x200059519c0) at dl-error.c:105
#7 0x200003cf738 in _dlerror_run (operate=0x200059519c0) at
dlerror.c:69
#8 0x200003cf268 in dlopen (
file=0x120781f10
"/usr/JAVA/d/jsrc12a/build/genunix/lib/alpha/libaudio_g.so", mode=2) at
dlopen.c:34
(More stack frames follow...)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-03-08 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-08 20:36 initialized c++ object is misaligned Uncle George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox