Project

General

Profile

Actions

Bug #504

closed

Is this a bug in gdb?

Added by wa1ter almost 18 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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?

Actions #1

Updated by wa1ter almost 18 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)

Actions #2

Updated by corecode almost 18 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

Actions #3

Updated by corecode almost 16 years ago

nothing we can fix on our side.

Actions

Also available in: Atom PDF