Bug #504

Is this a bug in gdb?

Added by wa1ter over 9 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


I'm trying to debug the recent problem with firefox, but I'm
having trouble running it with gdb (on HEAD):

(gdb) run
Starting program: /usr/pkg/lib/firefox/firefox-bin

Breakpoint 1, main (argc=1, argv=0xbfbff900) at nsBrowserApp.cpp:60
60 {
(gdb) c
gdb in realloc(): error: irealloc: pointer to wrong pageAbort trap
$ <and then I'm back at the shell prompt>

On the other hand, if I don't set any breakpoints, I see this:

(gdb) run
Starting program: /usr/pkg/lib/firefox/firefox-bin

Program exited with code 01.

Anyone understand what's going on here?


#1 Updated by wa1ter over 9 years ago

On Mon, 1 Jan 2007, Simon 'corecode' Schubert wrote:

Heh. AFAICT you are the (not-yet-quite-insane) person who updated gdb
nine months ago (last year!). Are you up for another round of crazy,
or are you hinting that some other nutcase should try it first? ;o)

#2 Updated by corecode over 9 years ago

yea, i had that as well. while trying to find out what is happening in gdb i almost lost my mind. something is fishy in gdb and maybe an update will fix it? our gdb also has issues with 64 bit integers.


#3 Updated by corecode over 7 years ago

nothing we can fix on our side.

Also available in: Atom PDF