From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4423 invoked from network); 8 Mar 1999 20:46:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Mar 1999 20:46:05 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id PAA17142 for ; Mon, 8 Mar 1999 15:40:03 -0500 Received: (qmail 1498 invoked from network); 8 Mar 1999 20:39:53 -0000 Received: from rotary913-pri.voicenet.com (HELO voicenet.com) (209.71.52.13) by mail12.voicenet.com with SMTP; 8 Mar 1999 20:39:53 -0000 Sender: gat@mail.redhat.com Message-ID: <36E434BC.4E188072@voicenet.com> Date: Mon, 08 Mar 1999 15:36:12 -0500 From: Uncle George Organization: big-endian X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com, rth@cygnus.com Subject: initialized c++ object is misaligned. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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...)