public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed
@ 2011-08-04  5:30 richaw at gmail dot com
  2011-08-04  9:56 ` [Bug gdb/13054] " pedro at codesourcery dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: richaw at gmail dot com @ 2011-08-04  5:30 UTC (permalink / raw)
  To: gdb-prs

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

           Summary: internal-error: handle_inferior_event: Assertion `inf'
                    failed
           Product: gdb
           Version: archer
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: richaw@gmail.com


This is GNU gdb (GDB) 7.3, which I assume might be "archer". I just downloaded
it.
The same problem occurs with GNU gdb (GDB) SUSE (7.2-3.3)
When running my buggy program, which has a Segmentation fault, I get
../../gdb/infrun.c:3036: internal-error: handle_inferior_event: Assertion `inf'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

I presume this happens when the segmentation fault occurs.
This GDB was configured as "i686-pc-linux-gnu".
uname -a
Linux linux-99x6 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100
i686 athlon i386 GNU/Linux

To reproduce:
gdb ./myprogram
set args -mhw:2,0 sea
r
(wait)
The target program was compiled using
g++ (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]

This would be difficult to reproduce elsewhere, so I'm hoping that I can
supply enough information to track down the problem.
The problem goes away if I remove some code that isn't executed, so I
presume there is some address-dependent memory corruption going on.

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
@ 2011-08-04  9:56 ` pedro at codesourcery dot com
  2011-08-04 15:39 ` richaw at gmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-04  9:56 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <pedro at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |pedro at codesourcery dot
                   |                            |com

--- Comment #1 from Pedro Alves <pedro at codesourcery dot com> 2011-08-04 09:56:39 UTC ---
> This is GNU gdb (GDB) 7.3, which I assume might be "archer". I just downloaded it.

It would be best then if you built a pristine FSF gdb.  We can't tell if there
are local changes in that GDB that might be causing the problem.  SUSE's gdb
has local changes as well.

> This would be difficult to reproduce elsewhere, so I'm hoping that I can
> supply enough information to track down the problem.

A gdb backtrace and a "set debug infrun 1" log are essential to debug this.

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
  2011-08-04  9:56 ` [Bug gdb/13054] " pedro at codesourcery dot com
@ 2011-08-04 15:39 ` richaw at gmail dot com
  2011-08-04 15:54 ` richaw at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: richaw at gmail dot com @ 2011-08-04 15:39 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Rich Wilson <richaw at gmail dot com> 2011-08-04 15:38:38 UTC ---
Created attachment 5875
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5875
Result of set debug infrun 1

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
  2011-08-04  9:56 ` [Bug gdb/13054] " pedro at codesourcery dot com
  2011-08-04 15:39 ` richaw at gmail dot com
@ 2011-08-04 15:54 ` richaw at gmail dot com
  2011-08-04 16:08 ` pedro at codesourcery dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: richaw at gmail dot com @ 2011-08-04 15:54 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Rich Wilson <richaw at gmail dot com> 2011-08-04 15:53:29 UTC ---
I forgot to mention that I had compiled gdb from newly downloaded pristine
source yesterday.
The result of "set debug infrun 1" is attached.
Please give me a hint how to do a gdb backtrace. If I do a backtrace of my
program, I get...
...
../../gdb/infrun.c:3036: internal-error: handle_inferior_event: Assertion `inf'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

../../gdb/infrun.c:3036: internal-error: handle_inferior_event: Assertion `inf'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
(gdb) bt
Target is executing.
(gdb)  q
A debugging session is active.

        Inferior 1 [process 8664] will be killed.

Quit anyway? (y or n) y

(although I did the above without infrun, I repeated it with infrun and no
additional information appeared) (I don't know why the stdout from my program
did not appear in the log file, created using tee)

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
                   ` (2 preceding siblings ...)
  2011-08-04 15:54 ` richaw at gmail dot com
@ 2011-08-04 16:08 ` pedro at codesourcery dot com
  2011-08-04 18:46 ` richaw at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pedro at codesourcery dot com @ 2011-08-04 16:08 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from Pedro Alves <pedro at codesourcery dot com> 2011-08-04 16:08:20 UTC ---
Thanks.

> infrun: prepare_to_wait
> infrun: target_wait (-1, status) =
> infrun:   -1 [process -1],
> infrun:   status->kind = spurious
>  ../../gdb/infrun.c:3036: internal-error: handle_inferior_event: Assertion `inf' failed.
> A problem internal to GDB has been detected,

I think there's another bug report about this one. 
Ah yes, see PR12203 and PR11692.  Is your program changing a thread's affinity
or scheduling?

> Please give me a hint how to do a gdb backtrace.

Just run gdb on itself :-)  

$ gdb --args /path/to/gdb/that/crashes/bin/gdb myprogram -my_foo_options...

Run the innermost gdb until it crashes.  The outermost gdb will catch the
SIGSEGV, at which point you do `bt' as usual.

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
                   ` (3 preceding siblings ...)
  2011-08-04 16:08 ` pedro at codesourcery dot com
@ 2011-08-04 18:46 ` richaw at gmail dot com
  2012-09-26 20:48 ` chilabot at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: richaw at gmail dot com @ 2011-08-04 18:46 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #5 from Rich Wilson <richaw at gmail dot com> 2011-08-04 18:46:20 UTC ---
Although my program does use threads, I don't think it had gotten there
by the time the problem occurs. Doesn't gdb print a message when a new
thread appears? Therefore, I ignored the bugs I saw that mentioned threads.

Here is my attempt at a backtrace. I hit CTRL/C when it got to the 
complaint about internal-error.

rw@linux-99x6:/lin64/home/rw/development/artisan/sound> gdb --args
~/Downloads/gdb-7.3/build/gdb/gdb ./se_free
GNU gdb (GDB) SUSE (7.2-3.3)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/rw/Downloads/gdb-7.3/build/gdb/gdb...done.
(gdb) r
Starting program: /home/rw/Downloads/gdb-7.3/build/gdb/gdb ./se_free
Missing separate debuginfo for /lib/libncurses.so.5
Try: zypper install -C
"debuginfo(build-id)=19c7d4937af52ea6233200ba6d3eabd8f79553dd"
Detaching after fork from child process 13999.
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /lin64/home/rw/development/artisan/sound/se_free...done.
(gdb) set args -mhw:2,0 sea
(gdb) r
Starting program: /lin64/home/rw/development/artisan/sound/se_free -mhw:2,0 sea
Detaching after fork from child process 14006.
Detaching after fork from child process 14007.
[Thread debugging using libthread_db enabled]
Artisan se_free: Compiled Aug  3 2011
Sample rate 44100
Frame size is 32
Buffer size req 384
Buffer size is  384
../../gdb/infrun.c:3036: internal-error: handle_inferior_event: Assertion `inf'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) ^C
Program received signal SIGINT, Interrupt.
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7ea6073 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:82
#2  0xb7e4d993 in _IO_new_file_underflow (fp=0xb7f4c420) at fileops.c:598
#3  0xb7e4eb79 in _IO_default_uflow (fp=0xb7f4c420) at genops.c:440
#4  0xb7e4e976 in __uflow (fp=0xb7f4c420) at genops.c:394
#5  0xb7e4929b in _IO_getc (fp=0xb7f4c420) at getc.c:41
#6  0x08058421 in defaulted_query (ctlstr=<value optimized out>, defchar=0
'\000', args=<value optimized out>)
    at ../../gdb/utils.c:1771
#7  0x08058593 in query (ctlstr=0x82c1a30 "%s\nQuit this debugging session? ")
at ../../gdb/utils.c:1886
#8  0x080587a0 in internal_vproblem (problem=0x83b3864, file=<value optimized
out>, line=<value optimized out>, 
    fmt=0x82bed22 "%s: Assertion `%s' failed.", ap=0xbfffe92c
"\340\356/\bʤ,\b\024") at ../../gdb/utils.c:1180
#9  0x080588f3 in internal_verror (file=0x82fbbde "../../gdb/infrun.c",
line=3036, 
    fmt=0x82bed22 "%s: Assertion `%s' failed.", ap=0xbfffe92c
"\340\356/\bʤ,\b\024") at ../../gdb/utils.c:1236
#10 0x08058926 in internal_error (file=0x82fbbde "../../gdb/infrun.c",
line=3036, 
    string=0x82bed22 "%s: Assertion `%s' failed.") at ../../gdb/utils.c:1246
#11 0x08144fc9 in handle_inferior_event (ecs=0xbfffeba8) at
../../gdb/infrun.c:3036
#12 0x08145f9e in wait_for_inferior (treat_exec_as_sigtrap=0) at
../../gdb/infrun.c:2610
#13 0x081462ec in proceed (addr=3078682704, siggnal=TARGET_SIGNAL_0,
step=<value optimized out>)
    at ../../gdb/infrun.c:2136
#14 0x08139cd0 in run_command_1 (args=0x0, from_tty=<value optimized out>,
tbreak_at_main=<value optimized out>)
    at ../../gdb/infcmd.c:600
#15 0x08055aec in execute_command (p=0x83d6fb9 "", from_tty=1) at
../../gdb/top.c:428
#16 0x0815739c in command_handler (command=0x83d6fb8 "") at
../../gdb/event-top.c:499
#17 0x08157e02 in command_line_handler (rl=0x842a418 "p\263B\b(\244B\b") at
../../gdb/event-top.c:704
#18 0x0822bc44 in rl_callback_read_char () at ../../readline/callback.c:205
#19 0x0815740b in rl_callback_read_char_wrapper (client_data=0x0) at
../../gdb/event-top.c:177
#20 0x0815653b in handle_file_event (data=...) at ../../gdb/event-loop.c:831
#21 0x081562ab in process_event () at ../../gdb/event-loop.c:402
#22 0x08156ba4 in gdb_do_one_event (data=0x0) at ../../gdb/event-loop.c:467
#23 0x08151713 in catch_errors (func=0x8156960 <gdb_do_one_event>,
func_args=0x0, errstring=0x82cc686 "", mask=6)
    at ../../gdb/exceptions.c:521
#24 0x080d2b14 in tui_command_loop (data=0x0) at ../../gdb/tui/tui-interp.c:172
#25 0x08151d13 in current_interp_command_loop () at ../../gdb/interps.c:291
#26 0x0804dccb in captured_command_loop (data=0x0) at ../../gdb/main.c:228
#27 0x08151713 in catch_errors (func=0x804dcc0 <captured_command_loop>,
func_args=0x0, errstring=0x82cc686 "", 
    mask=6) at ../../gdb/exceptions.c:521
#28 0x0804d6e4 in captured_main (data=0xbffff0c0) at ../../gdb/main.c:936
---Type <return> to continue, or q <return> to quit---
#29 0x08151713 in catch_errors (func=0x804cbf0 <captured_main>,
func_args=0xbffff0c0, errstring=0x82cc686 "", 
    mask=6) at ../../gdb/exceptions.c:521
#30 0x0804dd32 in gdb_main (args=0xbffff0c0) at ../../gdb/main.c:945
#31 0x0804c9d3 in main (argc=2, argv=0xbffff174) at ../../gdb/gdb.c:35
(gdb)

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
                   ` (4 preceding siblings ...)
  2011-08-04 18:46 ` richaw at gmail dot com
@ 2012-09-26 20:48 ` chilabot at gmail dot com
  2012-09-27 17:48 ` palves at redhat dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: chilabot at gmail dot com @ 2012-09-26 20:48 UTC (permalink / raw)
  To: gdb-prs


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

--- Comment #6 from Roberto Giménez <chilabot at gmail dot com> 2012-09-26 20:48:17 UTC ---
Created attachment 6653
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6653
GDB log file

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
                   ` (5 preceding siblings ...)
  2012-09-26 20:48 ` chilabot at gmail dot com
@ 2012-09-27 17:48 ` palves at redhat dot com
  2013-06-05 20:20 ` gunnlaugur at gmail dot com
  2013-06-05 20:49 ` palves at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: palves at redhat dot com @ 2012-09-27 17:48 UTC (permalink / raw)
  To: gdb-prs


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

--- Comment #7 from Pedro Alves <palves at redhat dot com> 2012-09-27 17:48:52 UTC ---
Please don't leave out the important details.

The originally reported issue was fixed for GNU/Linux on mainline by:

2012-07-20  Pedro Alves  <palves@redhat.com>

        PR threads/11692
        PR gdb/12203

        * infrun.c (handle_inferior_event) <new thread>: Don't special
        case minus_one_ptid.
        <TARGET_WAITKIND_SPURIOUS>: Ditto.
        * linux-thread-db.c (thread_get_info_callback): Don't return early
        if the thread is zombie.
        (thread_from_lwp): Change return type to void.  Rewrite stale
        comment.
        (attach_thread): Don't return early if the thread is zombie,
        instead set its "dying" flag.
        (thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore.
        (find_new_threads_callback): Don't return early if the thread is
        zombie.

It looks like your log is for hpux?

Please attach a log with "set debug infrun 1".

-- 
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] 10+ messages in thread

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
                   ` (6 preceding siblings ...)
  2012-09-27 17:48 ` palves at redhat dot com
@ 2013-06-05 20:20 ` gunnlaugur at gmail dot com
  2013-06-05 20:49 ` palves at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: gunnlaugur at gmail dot com @ 2013-06-05 20:20 UTC (permalink / raw)
  To: gdb-prs

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

Gunnlaugur Þór Briem <gunnlaugur at gmail dot com> changed:

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

--- Comment #8 from Gunnlaugur Þór Briem <gunnlaugur at gmail dot com> ---
I am getting what appears to be the same bug on Mac OS X (uname -a: “Darwin
toodee.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013;
root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64”), running a debug build of uWSGI
(current tip, 26710694af812c29c6f0b46ad3a1ac7ca4db787e) with Python 2.7.5.
Here's the invocation and full output:

$ ggdb --args uwsgi -M -s :1234
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin12.3.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /Users/gthb/pyenv/DJANGO13/bin/uwsgi...done.
(gdb) set debug infrun 1
(gdb) run
Starting program: /Users/gthb/pyenv/DJANGO13/bin/uwsgi -M -s :1234
infrun: proceed (addr=0x7fff5fc01028, signal=0, step=0)
infrun: resume (step=0, signal=0), trap_expected=0, current thread [Thread
0x1603 of process 65168] at 0x7fff5fc01028
infrun: wait_for_inferior ()
infrun: target_wait (-1, status) =
infrun:   65168 [Thread 0x1603 of process 65168],
infrun:   status->kind = stopped, signal = SIGTRAP
infrun: infwait_normal_state
infrun: TARGET_WAITKIND_STOPPED
infrun: stop_pc = 0x7fff5fc0d6e5
warning: Could not open OSO archive file
"/opt/local/var/macports/build/_opt_mports_dports_lang_python27/python27/work/Python-2.7.5/libpython2.7.a"
infrun: BPSTAT_WHAT_SINGLE
infrun: no stepping, continue
infrun: resume (step=1, signal=0), trap_expected=1, current thread [Thread
0x1603 of process 65168] at 0x7fff5fc0d6e5
infrun: prepare_to_wait
infrun: target_wait (-1, status) =
infrun:   65168 [Thread 0x1603 of process 65168],
infrun:   status->kind = stopped, signal = SIGTRAP
infrun: infwait_normal_state
infrun: TARGET_WAITKIND_STOPPED
infrun: stop_pc = 0x7fff5fc0d6e6
infrun: no stepping, continue
infrun: resume (step=0, signal=0), trap_expected=0, current thread [Thread
0x1603 of process 65168] at 0x7fff5fc0d6e6
infrun: prepare_to_wait
[uwsgi-logger] registered "python"
[uwsgi-logger] registered "syslog"
[uwsgi-logger] registered "rsyslog"
[uwsgi-logger] registered "socket"
[uwsgi-logger] registered "redislog"
[uwsgi-logger] registered "mongodblog"
[uwsgi-logger] registered "file"
[uwsgi-cheaper-algo] registered "busyness"
executable name: /Users/gthb/pyenv/DJANGO13/bin/uwsgi
optind:4 argc:4
[uwsgi-cheaper-algo] registered "spare"
[uwsgi-cheaper-algo] registered "backlog"
*** Starting uWSGI 1.9.12 (64bit) on [Wed Jun  5 20:10:55 2013] ***
***
*** You are running a DEBUG version of uWSGI, please disable debug in your
build profile and recompile it ***
***
compiled with version: 4.2.1 Compatible Apple Clang 4.1
((tags/Apple/clang-421.11.66)) on 05 June 2013 20:00:50
os: Darwin-12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013;
root:xnu-2050.22.13~1/RELEASE_X86_64
nodename: toodee.local
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /Users/gthb/svn/datamarket/elam/src
detected binary path: /Users/gthb/pyenv/DJANGO13/bin/uwsgi
your processes number limit is 709
your memory page size is 4096 bytes
detected max file descriptor number: 256
cores allocated...
lock engine: OSX spinlocks
uwsgi socket 0 bound to TCP address :1234 fd 11
Python version: 2.7.5 (default, May 19 2013, 13:26:46)  [GCC 4.2.1 Compatible
Apple Clang 4.1 ((tags/Apple/clang-421.11.66))]
*** Python threads support is disabled. You can enable it with --enable-threads
***
Python main interpreter initialized at 0x100908f60
[uWSGI DEBUG] uwsgi socket 256 SO_RCVBUF size: 131072
[uWSGI DEBUG] uwsgi socket 256 SO_SNDBUF size: 131072
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145424 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 65168)
spawned uWSGI worker 1 (pid: 65177, cores: 1)
adding 14 to signal poll
darwin_wait: ill-formatted message (id=961)
infrun: target_wait (-1, status) =
infrun:   -1 [process -1],
infrun:   status->kind = spurious
infrun.c:3198: internal-error: void handle_inferior_event(struct
execution_control_state *): Assertion `inf' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
infrun.c:3198: internal-error: void handle_inferior_event(struct
execution_control_state *): Assertion `inf' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Abort trap: 6

I selected to create a core file, but I don't find any core file created; I
suppose that “Abort trap: 6” at the end has something to do with that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-13783-listarch-gdb-prs=sources.redhat.com@sourceware.org Wed Jun 05 20:48:37 2013
Return-Path: <gdb-prs-return-13783-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 6379 invoked by alias); 5 Jun 2013 20:48:37 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 6353 invoked by uid 48); 5 Jun 2013 20:48:36 -0000
From: "palves at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/13054] internal-error: handle_inferior_event: Assertion
 `inf' failed
Date: Wed, 05 Jun 2013 20:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: gdb
X-Bugzilla-Version: archer
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: palves at redhat dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-13054-4717-4rAe5cgBd0@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-13054-4717@http.sourceware.org/bugzilla/>
References: <bug-13054-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-q2/txt/msg00372.txt.bz2
Content-length: 685

http://sourceware.org/bugzilla/show_bug.cgi?id\x13054

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Pedro Alves <palves at redhat dot com> ---
I original report was for GNU/Linux.  The bug on that target has been fixed
already, so I'm closing this.  Please open new bugs for other targets, as
they'll each need their own fixes.  Thanks.

--
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed
  2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
                   ` (7 preceding siblings ...)
  2013-06-05 20:20 ` gunnlaugur at gmail dot com
@ 2013-06-05 20:49 ` palves at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: palves at redhat dot com @ 2013-06-05 20:49 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i686-pc-linux-gnu
               Host|                            |i686-pc-linux-gnu

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2013-06-05 20:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04  5:30 [Bug gdb/13054] New: internal-error: handle_inferior_event: Assertion `inf' failed richaw at gmail dot com
2011-08-04  9:56 ` [Bug gdb/13054] " pedro at codesourcery dot com
2011-08-04 15:39 ` richaw at gmail dot com
2011-08-04 15:54 ` richaw at gmail dot com
2011-08-04 16:08 ` pedro at codesourcery dot com
2011-08-04 18:46 ` richaw at gmail dot com
2012-09-26 20:48 ` chilabot at gmail dot com
2012-09-27 17:48 ` palves at redhat dot com
2013-06-05 20:20 ` gunnlaugur at gmail dot com
2013-06-05 20:49 ` palves at redhat 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).