01-29-2004
Hi,
There're many reasons for a "bus error". It may be because the program ( top ) is trying to do some I/O operation to a device that has no permissions or does not exist... confirm that that only happens with top... is there any core dump ? It can be caused by bad programming too... or some OS issue...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
aix 5.3 ML1
system was functioing well, when suddenly telnet session hung and then I got the following message "Bus error(coredump)"
would appreciate if anyone would assist as to what to do next. (3 Replies)
Discussion started by: Student37
3 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am using HP-UX.
While i try to run the Sqlplus command using the shel script in encounter the following error:
<shell script name>: some number Bus Error(coredump)
What may be the reason behind this.
I read few previous threads in this forum where i found some similar case. There it was... (2 Replies)
Discussion started by: Jayesh
2 Replies
4. Programming
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
5. UNIX for Dummies Questions & Answers
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
Hi all,
I am quite weak in C but I need to get some work done. Hope someone can help me out. I keep getting this error when i try to run my C application in my HP-UX 10.20 machine.
Some code snippet:
Month(DBTime) =====This is a function which will return variable "CutOffTime" to be use... (5 Replies)
Discussion started by: Vision©
5 Replies
7. HP-UX
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
8. Programming
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
9. Programming
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
10. Programming
Hi,
I'm facing BUS (invalid address alignment) issue.
Application works correctly with binaries compiled without optimization.
When "-O3" (or -O2, O1) is in use, application abort with - BUS (invalid address alignment).
The problem appears in following situation:
struct _a
{
int... (15 Replies)
Discussion started by: revolta25
15 Replies
LEARN ABOUT DEBIAN
net::dbus::glib
Net::DBus::GLib(3pm) User Contributed Perl Documentation Net::DBus::GLib(3pm)
NAME
Net::DBus::GLib - Perl extension for the DBus GLib bindings
SYNOPSIS
####### Attaching to the bus ###########
use Net::DBus::GLib;
# Find the most appropriate bus
my $bus = Net::DBus::GLib->find;
# ... or explicitly go for the session bus
my $bus = Net::DBus::GLib->session;
# .... or explicitly go for the system bus
my $bus = Net::DBus::GLib->system
DESCRIPTION
Net::DBus::GLib provides an extension to the Net::DBus module allowing integration with the GLib mainloop. To integrate with the main loop,
simply get a connection to the bus via the methods in Net::DBus::GLib rather than the usual Net::DBus module. That's it - every other API
remains the same.
EXAMPLE
As an example service using the GLib main loop, assuming that SomeObject inherits from Net::DBus::Service
my $bus = Net::DBus::GLib->session();
my $service = $bus->export_service("org.designfu.SampleService");
my $object = SomeObject->new($service);
Glib::MainLoop->new()->run();
And as an example client
my $bus = Net::DBus::GLib->session();
my $service = $bus->get_service("org.designfu.SampleService");
my $object = $service->get_object("/SomeObject");
my $list = $object->HelloWorld("Hello from example-client.pl!");
METHODS
my $bus = Net::DBus::GLib->find(%params);
Search for the most appropriate bus to connect to and return a connection to it. For details of the heuristics used, consult the method
of the same name in "Net::DBus". The %params hash may contain an additional entry with a name of "context". This can be a reference to
an instance of the "Glib::MainContext" object; if omitted, the default GLib context will be used.
my $bus = Net::DBus::GLib->system(%params);
Return a handle for the system message bus. For further details on this method, consult to the method of the same name in Net::DBus.
The %params hash may contain an additional entry with a name of "context". This can be a reference to an instance of the
"Glib::MainContext" object; if omitted, the default GLib context will be used.
my $bus = Net::DBus::GLib->session(%params);
Return a handle for the session message bus. For further details on this method, consult to the method of the same name in Net::DBus.
The %params hash may contain an additional entry with a name of "context". This can be a reference to an instance of the
"Glib::MainContext" object; if omitted, the default GLib context will be used.
SEE ALSO
Net::DBus, Glib, Glib::MainLoop "http://dbus.freedesktop.org", "http://gtk.org"
AUTHOR
Daniel Berrange <dan@berrange.com>
COPYRIGHT
Copyright 2006-2008 by Daniel Berrange
perl v5.14.2 2008-01-08 Net::DBus::GLib(3pm)