Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > invalid address alignment

Reply
Thread Tools

invalid address alignment

 
 
ADS7328
Guest
Posts: n/a
 
      05-22-2007

Dear ,

My C++ program crashes with the following error:
SIGNAL BUS (invalid addresses aligment)
at random pleaces.



t@1 (l@1) signal BUS (invalid address alignment) in
__rwstd::digit_writer<char,std:streambuf_iterato r
<char,std::char_traits<char> > >:ut_digits at 0xfdf09af0
0xfdf09af0: put_digits+0x0298: ld [%o0], %l5
Current function is Analytic::Schedule (optimized)
4838 str << " " << ":R" << ":::"
<< "01/01/1900" << ":" << DF ;
(dbx) quit

Thanks in advance

bye
Tony

 
Reply With Quote
 
 
 
 
Jon Harrop
Guest
Posts: n/a
 
      05-22-2007
ADS7328 wrote:
> My C++ program crashes with the following error:
> SIGNAL BUS (invalid addresses aligment)
> at random pleaces.


You can completely eliminate memory address problems by using a safe
language, with a virtual machine, garbage collector and so forth. Then
you'll never see problems like this.

--
Dr Jon D Harrop, Flying Frog Consultancy
The F#.NET Journal
http://www.ffconsultancy.com/product...ournal/?usenet
 
Reply With Quote
 
 
 
 
red floyd
Guest
Posts: n/a
 
      05-22-2007
Jon Harrop wrote:

*PLONK*
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
invalid address alignment ADS7328 C++ 3 05-22-2007 02:59 PM
HPUX Invalid Address Alignment when assigning double, casting to same type works? Jay Hamilton C++ 1 08-11-2006 03:32 PM
Re: signal BUS (invalid address alignment) Mike Wahler C++ 2 08-22-2003 02:23 PM
Re: signal BUS (invalid address alignment) Ron Natalie C++ 3 08-21-2003 05:05 PM
Re: signal BUS (invalid address alignment) Artie Gold C++ 0 08-21-2003 03:58 PM



Advertisments