Bug #504

Is this a bug in gdb?

Added by wa1ter almost 8 years ago. Updated over 5 years ago.

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

0%

Category:-
Target version:-

Description

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
Continuing.
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.
(gdb)

Anyone understand what's going on here?

History

#1 Updated by wa1ter almost 8 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 almost 8 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.

cheers
simon

#3 Updated by corecode over 5 years ago

nothing we can fix on our side.

Also available in: Atom PDF