Bus Error(coredump)

This is a discussion on Bus Error(coredump) within the C Programming forums, part of the General Programming Boards category; version gcc 2.95.3 SunOS 5.6 Hi, what tool can I use to look inside a core file please, tia, $ ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    93

    Bus Error(coredump)

    version gcc 2.95.3
    SunOS 5.6


    Hi,

    what tool can I use to look inside a core file please,


    tia,

    $ file core
    core: ELF 32-bit MSB core file SPARC Version 1, from 'cirp_process'

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Try dbx or gdb (search your man pages)
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    93
    thanks Hammer,

    unfortunately I do not have acces to either of those, although I found a text file on the Forte tool at this location /opt/SUNWspro/prod/READMEs/dbx

    I have sent a mail of to the dba, to see if I can have gdb installed



  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Contact your sysadmin and find out what kind of debugging software is installed on your system. It's hard to help you out if we don't know what you're capable of doing.
    My best code is written with the delete key.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    93
    thank you Sandra, I'll let you know as soon as gdb has been installed

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trying to generate a bus error
    By Tommo in forum C Programming
    Replies: 4
    Last Post: 08-22-2007, 05:37 AM
  2. Bus Error (rand)
    By nacho4d in forum C Programming
    Replies: 4
    Last Post: 06-22-2007, 04:38 AM
  3. sem_init -> bus error
    By g_p in forum C Programming
    Replies: 4
    Last Post: 12-03-2006, 11:14 AM
  4. Initializing array of structures causing bus error
    By Aaron M in forum C Programming
    Replies: 5
    Last Post: 03-05-2006, 12:40 AM
  5. Replies: 72
    Last Post: 11-25-2002, 04:55 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21