public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12255] New: gdb hangs when trying to load a corefile.
@ 2010-11-23  5:25 dumrat at gmail dot com
  2010-11-23  7:05 ` [Bug c++/12255] " dumrat at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dumrat at gmail dot com @ 2010-11-23  5:25 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

           Summary: gdb hangs when trying to load a corefile.
           Product: gdb
           Version: 6.8
            Status: NEW
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dumrat@gmail.com


GNU gdb (GDB; SUSE Linux Enterprise 11) 6.8.50.20081120-cvs

strace: 

read(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
lseek(7, 61132800, SEEK_SET)            = 61132800
read(7,
"\0204\211\0\0\0\0\0\3\0\0\0\2\0\0\0\200C-\4\0\0\0\0!\0\0\0\0\0\0\0"..., 4096)
= 4096
lseek(7, 188538880, SEEK_SET)           = 188538880
read(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
lseek(7, 61132800, SEEK_SET)            = 61132800
read(7,
"\0204\211\0\0\0\0\0\3\0\0\0\2\0\0\0\200C-\4\0\0\0\0!\0\0\0\0\0\0\0"..., 4096)
= 4096
lseek(7, 188538880, SEEK_SET)           = 188538880
read(7, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
lseek(7, 61132800, SEEK_SET)            = 61132800

As far as I know the core file in not corrupt. 'file corefile' says its a gdb
corefile. The corefile is about 230MB

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12255] gdb hangs when trying to load a corefile.
  2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
@ 2010-11-23  7:05 ` dumrat at gmail dot com
  2010-11-23  7:24 ` dumrat at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dumrat at gmail dot com @ 2010-11-23  7:05 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

Duminda Rathnayaka <dumrat at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dumrat at gmail dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12255] gdb hangs when trying to load a corefile.
  2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
  2010-11-23  7:05 ` [Bug c++/12255] " dumrat at gmail dot com
@ 2010-11-23  7:24 ` dumrat at gmail dot com
  2010-11-23 10:54 ` dumrat at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dumrat at gmail dot com @ 2010-11-23  7:24 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

--- Comment #1 from Duminda Rathnayaka <dumrat at gmail dot com> 2010-11-23 07:04:51 UTC ---
stack trace of gdb when loading corefile (And in infinite(?) loop):

#0  0x00007f1eb2d4c140 in lseek64 () from /lib64/libc.so.6
#1  0x00007f1eb2ce9534 in _IO_file_seekoff () from /lib64/libc.so.6
#2  0x00007f1eb2ce6eb6 in fseeko64 () from /lib64/libc.so.6
#3  0x00000000005fe8c6 in bfd_seek ()
#4  0x00000000006039a1 in _bfd_generic_get_section_contents ()
#5  0x000000000044f67b in xfer_memory ()
#6  0x0000000000465f8d in ?? ()
#7  0x0000000000561a4f in ?? ()
#8  0x0000000000562030 in target_read ()
#9  0x00000000005624ce in target_read_memory ()
#10 0x0000000000453599 in read_memory ()
#11 0x0000000000464e43 in ?? ()
#12 0x0000000000463231 in ?? ()
#13 0x00000000004635ed in solib_add ()
#14 0x0000000000533a22 in post_create_inferior ()
#15 0x00000000004669bb in ?? ()
#16 0x000000000045568a in execute_command ()
#17 0x000000000054aba7 in ?? ()
#18 0x000000000054b88c in ?? ()
#19 0x00007f1eb3e750fe in rl_callback_read_char () from /lib64/libreadline.so.5
#20 0x000000000054acf9 in ?? ()
#21 0x0000000000549578 in ?? ()
#22 0x000000000054a82b in gdb_do_one_event ()
#23 0x0000000000544804 in catch_errors ()
#24 0x00000000004dfe80 in ?? ()
#25 0x000000000044dc69 in ?? ()
#26 0x0000000000544804 in catch_errors ()
#27 0x000000000044e766 in ?? ()
#28 0x0000000000544804 in catch_errors ()
#29 0x000000000044dc54 in gdb_main ()
#30 0x000000000044dc26 in main ()

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12255] gdb hangs when trying to load a corefile.
  2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
  2010-11-23  7:05 ` [Bug c++/12255] " dumrat at gmail dot com
  2010-11-23  7:24 ` dumrat at gmail dot com
@ 2010-11-23 10:54 ` dumrat at gmail dot com
  2010-11-28 18:53 ` ppluzhnikov at google dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dumrat at gmail dot com @ 2010-11-23 10:54 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

Duminda Rathnayaka <dumrat at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12255] gdb hangs when trying to load a corefile.
  2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
                   ` (2 preceding siblings ...)
  2010-11-23 10:54 ` dumrat at gmail dot com
@ 2010-11-28 18:53 ` ppluzhnikov at google dot com
  2011-08-19 15:50 ` tromey at redhat dot com
  2011-08-23  9:51 ` ppluzhnikov at google dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ppluzhnikov at google dot com @ 2010-11-28 18:53 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot
                   |                            |com

--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2010-11-28 01:41:11 UTC ---
You might want to follow the advice you've got here:
http://stackoverflow.com/questions/4252942/gdb-hangs-when-loading-a-corefile/4264016#4264016

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12255] gdb hangs when trying to load a corefile.
  2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
                   ` (3 preceding siblings ...)
  2010-11-28 18:53 ` ppluzhnikov at google dot com
@ 2011-08-19 15:50 ` tromey at redhat dot com
  2011-08-23  9:51 ` ppluzhnikov at google dot com
  5 siblings, 0 replies; 7+ messages in thread
From: tromey at redhat dot com @ 2011-08-19 15:50 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2011-08-19 15:47:41 UTC ---
(In reply to comment #2)
> You might want to follow the advice you've got here:
> http://stackoverflow.com/questions/4252942/gdb-hangs-when-loading-a-corefile/4264016#4264016

I can't see that advice, the question was removed.
Do you recall what it was?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/12255] gdb hangs when trying to load a corefile.
  2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
                   ` (4 preceding siblings ...)
  2011-08-19 15:50 ` tromey at redhat dot com
@ 2011-08-23  9:51 ` ppluzhnikov at google dot com
  5 siblings, 0 replies; 7+ messages in thread
From: ppluzhnikov at google dot com @ 2011-08-23  9:51 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12255

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #4 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2011-08-19 16:53:12 UTC ---
(In reply to comment #3)

> I can't see that advice, the question was removed.

So it was.

> Do you recall what it was?

IIRC, it was to:

1) confirm that the problem still exists in latest GDB releases and
2) to build GDB with symbols and see where it is looping (and with what
parameters).

As is, this bug report appears pretty useless. Marking it as "waiting for
additional info".

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-08-19 16:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-23  5:25 [Bug c++/12255] New: gdb hangs when trying to load a corefile dumrat at gmail dot com
2010-11-23  7:05 ` [Bug c++/12255] " dumrat at gmail dot com
2010-11-23  7:24 ` dumrat at gmail dot com
2010-11-23 10:54 ` dumrat at gmail dot com
2010-11-28 18:53 ` ppluzhnikov at google dot com
2011-08-19 15:50 ` tromey at redhat dot com
2011-08-23  9:51 ` ppluzhnikov at google dot com

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).