Sponsored Content
Top Forums Programming Solaris - BUS error with optimize mode Post 302944797 by fpmurphy on Friday 22nd of May 2015 04:07:30 AM
Old 05-22-2015
Quote:
Originally Posted by achenle
The problem comes from using a structure in such a way that a member that has a strict alignment is offset from the beginning of the structure by an amount that causes the alignment to be wrong.

It's pretty much the archetype of how to get a SIGBUS error on SPARC.
Code:
struct _a
{
	int _a1;
	uint64_t _a2;
}

Please explain how you come to the conclusion that the 2nd member of the structure require strict alignment. I do not see that requirement.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bus Error

This may belong in the C Programming forum, but here goes anyway... What would cause a bus error? I searched google for a cause, but came up with some conflicting reports... Could it be caused by disk space? A lot of the pages I found mentioned linking with the incorrect versions of the... (4 Replies)
Discussion started by: LivinFree
4 Replies

2. UNIX for Dummies Questions & Answers

bus error on solaris

Hi there I am running soalris 9 on a sun fire 480r and all of a sudden (today) whenever the users run the command `top` we get the following message `bus error` does anybody have any information on what this is all about and whether there is a routine i can perform to gather more... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

3. Programming

BUS error

Hi! I've got a program which runs fine under Linux, but I have compiled it to run under SunOS 5.8 in a Sparc computer, and now it sometimes fails with "bus error". Ussing gdb I surfed to the error line, which is *pointer = some_vector; where some_vector is a 16 byte struct (4 integers)... (1 Reply)
Discussion started by: shesatmine
1 Replies

4. Solaris

split bus mode

Hi there, I have two SunBlade 2000s that I want to connect to a single D1000. I am told that I need to do a split bus mode. I don't really understand what that means. Does that mean that half of the storage disks will be assigned to one host and the others to the other host? How do I get... (18 Replies)
Discussion started by: Arkayev
18 Replies

5. UNIX for Dummies Questions & Answers

bus error (coredump)

Hi all, I am getting bus error problem in SunOS. Can you please help me out in this regard. Actually, my entire code till the last line has been executed. But after tht i am getting a bus error. Please help me. Thanks in advance. Charu. (4 Replies)
Discussion started by: charu
4 Replies

6. HP-UX

Bus Error

I am getting bus error when i include "#!/bin/ksh". If i remove interpreter then script is working. Can anyone explain this and how can i avoid this error? Operating System is HP-UX B.11.23 U 9000/800 1091834454 (2 Replies)
Discussion started by: anbu23
2 Replies

7. Programming

Bus error

Hi everyone, I have a GUI project and when I run it and left in idle state for a long time(there is nothing done, just opened GUI, no more actions),I get bus error after trying to do anything with it. I've tried to build it in debug mode and use gdb, but I don't get any error in debug mode.It... (3 Replies)
Discussion started by: sisi
3 Replies

8. Programming

Bus Error: 10...Help please!

Hi all, I am writing a phonebook program to store names and number using a list. Here is the code for the function which allows the user to enter the name and number (where the error occurs). //THIS FUNCTION ADDS A NEW ENTRY TO THE phonebook_list void insert(void){ //variables int... (5 Replies)
Discussion started by: kdejan
5 Replies

9. Solaris

Howto solve this disk error in Solaris in single user mode

Hi all, OS is Solaros 10 Sparc While doing Netbackup upgradation to 7.5 , the server was asked to reboot. But then it came up in single user mode, and after I typed format command it showed some disk error. bash-3.00# format Searching for disks...WARNING:... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
madwimax(8)															       madwimax(8)

NAME
madwimax - driver for mobile WiMAX equipment based on Samsung CMC-730 SYNOPSIS
madwimax [OPTIONS] DESCRIPTION
madwimax is an experimental reverse-engineered linux driver for mobile WiMAX (802.16e) devices based on Samsung CMC-730 chip. These devices are currently supported: o Samsung SWC-U200 o Samsung SWC-E100 o Samsung SWM-S10R (it is built in Samsung NC-10 netbook) The driver is completely user-space. It requires libusb-1.0 and TUN/TAP driver to work. OPTIONS
-d, --daemonize Daemonize after startup. --device=VID:PID Specify the USB device by VID:PID combination. -e FILE, --event-script=FILE Specify path to the event script. --exact-device=BUS/DEVICE Specify the exact USB BUS/DEVICE (use with care!). -f, --detach-dvd Detach pseudo-DVD kernel driver on startup. -h, --help Display help. -l FILE, --log-file=FILE Write log to the specified FILE instead of the other methods. -o, --diode-off Turn off the diode (diode is turned on by default). -q, --quiet Switch off logging. -V, --version Print the program version number. -v, --verbose Increase the log level. --ssid=SSID Specify service set identifier, or SSID, which is a friendly name that identifies a particular 802.16e wireless network. EXIT STATUS
0 Success 1 Failure (syntax or usage error; hardware error; underlying software error; unexpected error). BUGS
See the madwimax issue tracker: <http://code.google.com/p/madwimax/issues/list> AUTHOR
Written by Alexander Gordeev, <mailto:lasaine@lvk.cs.msu.su> RESOURCES
Main web site: <http://code.google.com/p/madwimax/> COPYING
Copyright (C) 2008-2009 Alexander Gordeev. Free use of this software is granted under the terms of the GNU General Public License (GPL). 27 September 2009 madwimax(8)
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy