* Gdb 7.2 segfaulting @ 2011-05-22 22:20 Siddhartha Jain [not found] ` <e15dbf82-185b-4b9a-b6cb-96838f5a0aae@VA3EHSMHS008.ehs.local> 0 siblings, 1 reply; 2+ messages in thread From: Siddhartha Jain @ 2011-05-22 22:20 UTC (permalink / raw) To: gdb Hi, I installed gdb 7.2 via macports on osx 10.6. However when I run it, I get unable to read unknown load command 0x1a Segmentation fault I also tried compiling it manually but I still get the same error. Any help would be greatly appreciated, Thanks, --Sid ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <e15dbf82-185b-4b9a-b6cb-96838f5a0aae@VA3EHSMHS008.ehs.local>]
* Re: Gdb 7.2 segfaulting [not found] ` <e15dbf82-185b-4b9a-b6cb-96838f5a0aae@VA3EHSMHS008.ehs.local> @ 2011-05-24 23:43 ` Siddhartha Jain 0 siblings, 0 replies; 2+ messages in thread From: Siddhartha Jain @ 2011-05-24 23:43 UTC (permalink / raw) To: gdb ran the gdb 7.2 in gdb 6.3.5 I get the the following error Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffff8 The stacktrace is below. Note that the call to decode_frame_entry is repeated 52364 times #52364 0x000000010015305a in decode_frame_entry () #52365 0x00000001001534d3 in dwarf2_build_frame_info () #52366 0x000000010001c2cf in macho_symfile_read () #52367 0x00000001000d1b89 in syms_from_objfile () #52368 0x00000001000d1e35 in symbol_file_add_with_addrs_or_offsets () #52369 0x00000001000170b8 in solib_read_symbols () #52370 0x00000001000186bb in solib_add () #52371 0x00000001000965e8 in bpstat_what () #52372 0x00000001000e4cf1 in handle_inferior_event () #52373 0x00000001000e7af2 in wait_for_inferior () #52374 0x00000001000e7e88 in proceed () #52375 0x00000001000de1df in run_command_1 () #52376 0x000000010019b259 in execute_command () #52377 0x00000001000fa26a in command_handler () #52378 0x00000001000fad47 in command_line_handler () #52379 0x00000001001d4269 in rl_callback_read_char () #52380 0x00000001000fa2d9 in rl_callback_read_char_wrapper () #52381 0x00000001000f8f9f in process_event () #52382 0x00000001000f9af6 in gdb_do_one_event () #52383 0x00000001000f29b9 in catch_errors () #52384 0x000000010005ae86 in tui_command_loop () #52385 0x00000001000f4ff9 in captured_command_loop () #52386 0x00000001000f29b9 in catch_errors () #52387 0x00000001000f476a in captured_main () #52388 0x00000001000f29b9 in catch_errors () #52389 0x00000001000f3b5b in gdb_main () #52390 0x000000010000141d in main () Thanks --Sid On May 23, 2011, at 12:41 AM, Nagaraju Mekala wrote: > > Try option gdb --args and debug you gdb. > > http://gcc.gnu.org/wiki/DebuggingGCC > > Follow the link and instead of givng cc1 invoke your gdb. > > Ex: gdb--args yourgdb executable > > > -----Original Message----- > From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On > Behalf Of Siddhartha Jain > Sent: Monday, May 23, 2011 3:51 AM > To: gdb@sourceware.org > Subject: Gdb 7.2 segfaulting > > Hi, > > I installed gdb 7.2 via macports on osx 10.6. However when I run it, I > get > > unable to read unknown load command 0x1a > Segmentation fault > > I also tried compiling it manually but I still get the same error. > > Any help would be greatly appreciated, > Thanks, > --Sid > > > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-24 23:43 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-22 22:20 Gdb 7.2 segfaulting Siddhartha Jain [not found] ` <e15dbf82-185b-4b9a-b6cb-96838f5a0aae@VA3EHSMHS008.ehs.local> 2011-05-24 23:43 ` Siddhartha Jain
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).