This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/13054] internal-error: handle_inferior_event: Assertion `inf' failed


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]