public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gdb/2054: can't start X server under gdb
@ 2005-12-20 0:18 Daniel Jacobowitz
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2005-12-20 0:18 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: Adam Jackson <ajackson@redhat.com>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Mon, 19 Dec 2005 19:12:24 -0500
On Mon, Dec 19, 2005 at 06:59:13PM -0500, Adam Jackson wrote:
>
> On Dec 19, 2005, at 5:05 PM, Daniel Jacobowitz wrote:
>
> >Huh - that (0x4057f) is SIGTRAP | (PTRACE_EVENT_EXEC << 16). GDB
> >shouldn't
> >be receiving PTRACE_EVENT_EXEC notification. Is this an unmodified
> >kernel.org kernel? Did X exec?
>
> Yes, totally stock kernel. X does exec xkbcomp(1) as part of startup,
> and in fact that's where this is failing (bt after the internal-error):
>
> (gdb) bt
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0xb7e01aa6 in __libc_fork () at fork.c:127
> #2 0x081affdf in Popen (
> command=0x8218370 "\"/opt/debrix/bin/xkbcomp\" -w 1
> \"-R/opt/debrix/share/X11/xkb\" -xkm \"-\" -em1 \"The XKEYBOARD keymap
> compiler (xkbcomp) reports:\" -emp \"> \" -eml \"Errors from xkbcomp
> are not fatal to the X server\" \"/opt/d"..., type=0x81be16f "w") at
> utils.c:1766
> #3 0x08191b2d in XkbDDXCompileKeymapByNames (xkb=0x78,
> names=0xb7a36980,
> want=120, need=120, nameRtrn=0xbf8a3d40 "T=\212?|=\212??\001",
> nameRtrnLen=4096) at ddxLoad.c:379
> ...
>
> maybe a bad glibc?
We're in __libc_fork. We've, presumably, just forked. Your kernel has
somehow reported event 4, when it ought to have reported event 1
(fork).
I don't have the faintest idea how this could happen. It's possible
the event is somehow coming from the forked child; could you please
strace gdb for me? That'll show more clearly what processes we're
tracing.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdb/2054: can't start X server under gdb
@ 2006-01-04 16:48 Daniel Jacobowitz
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2006-01-04 16:48 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: Adam Jackson <ajackson@redhat.com>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Wed, 4 Jan 2006 11:46:09 -0500
On Wed, Jan 04, 2006 at 11:28:24AM -0500, Adam Jackson wrote:
>
> On Dec 20, 2005, at 11:34 AM, Daniel Jacobowitz wrote:
> >
> >Oh sorry - you have to not use strace -f with gdb, because only one
> >process can ptrace a target at a time. We want a trace of GDB, but not
> >of the X server.
>
> Right, forgot about that bit. Updated trace is at:
>
> http://people.freedesktop.org/~ajax/gdb-bug-2054/strace-of-gdb-2.txt
So here's what happened - your strace unfortunately doesn't show some
details, but I can guess them pretty confidently:
ptrace(PTRACE_CONT, 31602, 0, SIG_0) = 0
waitpid(-1, [WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP], 0) = 31602
We continue the parent, and it stops. At this point it is reporting a
fork.
ptrace(0x4201 /* PTRACE_??? */, 31602, 0, 0xbff15d38) = 0
We fatch the PID of the forked child.
waitpid(31661, [WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP], 0) = 31661
We wait for the forked child to stop. Waitasec! It didn't stop! Not
only didn't it stop, it reported an EXEC event (which we did request,
contrary to what I said earlier in this bug report).
So we should have seen a SIGSTOP from the newly forked child, but
didn't.
The code that is supposed to guarantee this is in kernel/fork.c, and
seems to be intact in the latest kernel that I checked. I'm stumped.
Might want to make sure that's triggering. Or, when GDB prints the
error message, check /proc for the child process - does it have a
pending SIGSTOP still?
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdb/2054: can't start X server under gdb
@ 2006-01-04 16:38 Adam Jackson
0 siblings, 0 replies; 8+ messages in thread
From: Adam Jackson @ 2006-01-04 16:38 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Adam Jackson <ajackson@redhat.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Wed, 4 Jan 2006 11:28:24 -0500
On Dec 20, 2005, at 11:34 AM, Daniel Jacobowitz wrote:
>
> Oh sorry - you have to not use strace -f with gdb, because only one
> process can ptrace a target at a time. We want a trace of GDB, but not
> of the X server.
Right, forgot about that bit. Updated trace is at:
http://people.freedesktop.org/~ajax/gdb-bug-2054/strace-of-gdb-2.txt
- ajax
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdb/2054: can't start X server under gdb
@ 2005-12-20 16:38 Daniel Jacobowitz
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2005-12-20 16:38 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: Adam Jackson <ajackson@redhat.com>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Tue, 20 Dec 2005 11:34:00 -0500
On Mon, Dec 19, 2005 at 07:26:02PM -0500, Adam Jackson wrote:
> That turned into about 50M of log data. The truncated version is at:
>
> http://people.freedesktop.org/~ajax/gdb-bug-2054/strace-of-gdb.txt
>
> The rt_sigaction at the end repeated forever until i sigkilled strace
> (4.5.1). I never got to the internal-error message from gdb.
Oh sorry - you have to not use strace -f with gdb, because only one
process can ptrace a target at a time. We want a trace of GDB, but not
of the X server.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdb/2054: can't start X server under gdb
@ 2005-12-20 0:28 Adam Jackson
0 siblings, 0 replies; 8+ messages in thread
From: Adam Jackson @ 2005-12-20 0:28 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Adam Jackson <ajackson@redhat.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Mon, 19 Dec 2005 19:26:02 -0500
On Dec 19, 2005, at 7:12 PM, Daniel Jacobowitz wrote:
> On Mon, Dec 19, 2005 at 06:59:13PM -0500, Adam Jackson wrote:
>>
>> On Dec 19, 2005, at 5:05 PM, Daniel Jacobowitz wrote:
>>
>>> Huh - that (0x4057f) is SIGTRAP | (PTRACE_EVENT_EXEC << 16). GDB
>>> shouldn't
>>> be receiving PTRACE_EVENT_EXEC notification. Is this an unmodified
>>> kernel.org kernel? Did X exec?
>>
>> Yes, totally stock kernel. X does exec xkbcomp(1) as part of startup,
>> and in fact that's where this is failing (bt after the
>> internal-error):
>>
>> (gdb) bt
>> #0 0xffffe410 in __kernel_vsyscall ()
>> #1 0xb7e01aa6 in __libc_fork () at fork.c:127
>> #2 0x081affdf in Popen (
>> command=0x8218370 "\"/opt/debrix/bin/xkbcomp\" -w 1
>> \"-R/opt/debrix/share/X11/xkb\" -xkm \"-\" -em1 \"The XKEYBOARD keymap
>> compiler (xkbcomp) reports:\" -emp \"> \" -eml \"Errors from xkbcomp
>> are not fatal to the X server\" \"/opt/d"..., type=0x81be16f "w") at
>> utils.c:1766
>> #3 0x08191b2d in XkbDDXCompileKeymapByNames (xkb=0x78,
>> names=0xb7a36980,
>> want=120, need=120, nameRtrn=0xbf8a3d40 "T=\212?|=\212??\001",
>> nameRtrnLen=4096) at ddxLoad.c:379
>> ...
>>
>> maybe a bad glibc?
>
> We're in __libc_fork. We've, presumably, just forked. Your kernel has
> somehow reported event 4, when it ought to have reported event 1
> (fork).
>
> I don't have the faintest idea how this could happen. It's possible
> the event is somehow coming from the forked child; could you please
> strace gdb for me? That'll show more clearly what processes we're
> tracing.
That turned into about 50M of log data. The truncated version is at:
http://people.freedesktop.org/~ajax/gdb-bug-2054/strace-of-gdb.txt
The rt_sigaction at the end repeated forever until i sigkilled strace
(4.5.1). I never got to the internal-error message from gdb.
- ajax
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdb/2054: can't start X server under gdb
@ 2005-12-20 0:08 Adam Jackson
0 siblings, 0 replies; 8+ messages in thread
From: Adam Jackson @ 2005-12-20 0:08 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Adam Jackson <ajackson@redhat.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Mon, 19 Dec 2005 18:59:13 -0500
On Dec 19, 2005, at 5:05 PM, Daniel Jacobowitz wrote:
> Huh - that (0x4057f) is SIGTRAP | (PTRACE_EVENT_EXEC << 16). GDB
> shouldn't
> be receiving PTRACE_EVENT_EXEC notification. Is this an unmodified
> kernel.org kernel? Did X exec?
Yes, totally stock kernel. X does exec xkbcomp(1) as part of startup,
and in fact that's where this is failing (bt after the internal-error):
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e01aa6 in __libc_fork () at fork.c:127
#2 0x081affdf in Popen (
command=0x8218370 "\"/opt/debrix/bin/xkbcomp\" -w 1
\"-R/opt/debrix/share/X11/xkb\" -xkm \"-\" -em1 \"The XKEYBOARD keymap
compiler (xkbcomp) reports:\" -emp \"> \" -eml \"Errors from xkbcomp
are not fatal to the X server\" \"/opt/d"..., type=0x81be16f "w") at
utils.c:1766
#3 0x08191b2d in XkbDDXCompileKeymapByNames (xkb=0x78,
names=0xb7a36980,
want=120, need=120, nameRtrn=0xbf8a3d40 "T=\212?|=\212??\001",
nameRtrnLen=4096) at ddxLoad.c:379
...
maybe a bad glibc?
> Attaching the output of GDB if you "set debug lin-lwp 1" before "run"
> might shed some light on it.
(gdb) set debug lin-lwp 1
(gdb) run -ac -verbose -noreset :0
Starting program: /opt/debrix/bin/X -ac -verbose -noreset :0
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8310 received Unknown signal 0 (terminated)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/dexedrine:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation CVS repository.
See http://wiki.x.org/wiki/CvsPage for CVS access instructions.
X Window System Version 6.99.99.904 (7.0.0 RC 4)
Release Date: 14 December 2005
X Protocol Version 11, Revision 0, Release 6.99.99.904
Build Operating System:Linux 2.6.13.4 i686
Current Operating System: Linux dexedrine 2.6.13.4 #1 SMP Sat Oct 22
19:01:00 EDT 2005 i686
Build Date: 14 December 2005
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/opt/debrix/var/log/Xorg.0.log", Time: Mon Dec 19
18:55:50 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "Dell"
(**) | |-->Device "Primary"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/local/share/fonts").
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts").
(WW) The directory "/usr/X11R6/lib/X11/fonts/local" does not exist.
Entry deleted from font path.
(**) FontPath set to
"/usr/share/fonts/misc,/usr/share/fonts/75dpi:unscaled,/usr/share/
fonts/100dpi:unscaled,/usr/share/fonts,/usr/share/fonts/artwiz,/usr/
share/fonts/baekmuk,/usr/share/fonts/cyrillic,/usr/share/fonts/local,/
usr/share/fonts/Speedo,/usr/share/fonts/ttf,/usr/share/fonts/TTF,/usr/
share/fonts/Type1,/usr/share/fonts/ukr,/usr/share/fonts/ttf/korean,/
usr/share/fonts/ttf/zh_CN,/usr/share/fonts/ttf/zh_TW,/usr/share/fonts/
corefonts,/usr/share/fonts/freefont,/usr/share/fonts/sgi-fonts,/usr/
share/fonts/sharefonts,/usr/share/fonts/terminus,/usr/share/fonts/ttf-
bitstream-vera,/usr/share/fonts/unifont,/usr/X11R6/lib/X11/fonts/
cyrillic,/usr/X11R6/lib/X11/fonts/misc"
(==) RgbPath set to "/opt/debrix/share/X11/rgb"
(==) ModulePath set to "/opt/debrix/lib/xorg/modules"
(**) Extension "Composite" is enabled
(II) Loading /opt/debrix/lib/xorg/modules/fonts/libbitmap.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/libpcidata.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(--) using VT number 8
(--) PCI:*(1:0:0) Matrox Graphics, Inc. G400/G450 rev 4, Mem @
0xf6000000/25, 0xfe7fc000/14, 0xfd800000/23, BIOS @ 0xfe7e0000/16
(II) Loading /opt/debrix/lib/xorg/modules/extensions/libdbe.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/fonts/libfreetype.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.99.99.904, module version = 2.1.0
(II) Loading /opt/debrix/lib/xorg/modules/extensions/libextmod.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/extensions/libdri.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module dri: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/linux/libdrm.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/extensions/libglx.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/extensions/libGLcore.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/libvgahw.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 0.1.0
(II) Loading /opt/debrix/lib/xorg/modules/drivers/mga_drv.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module mga: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.2.1
(II) Loading /opt/debrix/lib/xorg/modules/input/evdev_drv.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module evdev: vendor="X.Org Foundation"
compiled for 0.0.0, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/input/kbd_drv.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module kbd: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.1
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI,
mgag400,
mgag550
(--) Assigning device section with no busID to primary device
(--) Chipset mgag400 found
(--) MGA(0): Chipset: "mgag400" (G400)
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(==) MGA(0): Using AGP 1x mode
(**) MGA(0): Overclocking memory
(--) MGA(0): Linear framebuffer at 0xF6000000
(--) MGA(0): MMIO registers at 0xFE7FC000
(--) MGA(0): Pseudo-DMA transfer window at 0xFD800000
(--) MGA(0): BIOS at 0xFE7E0000
(--) MGA(0): Video BIOS info block at offset 0x07A80
(--) MGA(0): VideoRAM: 32768 kByte
(II) Loading /opt/debrix/lib/xorg/modules/libddc.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module ddc: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.1.0
(II) Loading /opt/debrix/lib/xorg/modules/libi2c.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module i2c: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.2.0
(II) MGA(0): I2C bus "DDC P1" initialized.
(II) MGA(0): I2C device "DDC P1:ddc2" registered at address 0xA0.
(II) MGA(0): I2C device "DDC P1:ddc2" removed.
stereo: 0, sync: 1, misc: 1, stereo_1: 0
(II) MGA(0): I2C Monitor info: 0x8216248
(II) MGA(0): Manufacturer: DEL Model: e008 Serial#: 892549452
(II) MGA(0): Year: 2005 Week: 16
(II) MGA(0): EDID Version: 1.3
(II) MGA(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V
(II) MGA(0): Sync: Separate Composite SyncOnGreen
(II) MGA(0): Max H-Image Size [cm]: horiz.: 43 vert.: 27
(II) MGA(0): Gamma: 2.20
(II) MGA(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) MGA(0): First detailed timing is preferred mode
(II) MGA(0): redX: 0.637 redY: 0.340 greenX: 0.297 greenY: 0.610
(II) MGA(0): blueX: 0.146 blueY: 0.071 whiteX: 0.313 whiteY: 0.329
(II) MGA(0): Supported VESA Video Modes:
(II) MGA(0): 720x400@70Hz
(II) MGA(0): 640x480@60Hz
(II) MGA(0): 640x480@75Hz
(II) MGA(0): 800x600@60Hz
(II) MGA(0): 800x600@75Hz
(II) MGA(0): 1024x768@60Hz
(II) MGA(0): 1024x768@75Hz
(II) MGA(0): 1280x1024@75Hz
(II) MGA(0): Manufacturer's mask: 0
(II) MGA(0): Supported Future Video Modes:
(II) MGA(0): #0: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
(II) MGA(0): #1: hsize: 1152 vsize 864 refresh: 75 vid: 20337
(II) MGA(0): Supported additional Video Mode:
(II) MGA(0): clock: 146.2 MHz Image Size: 434 x 270 mm
(II) MGA(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end
2240 h_border: 0
(II) MGA(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking:
1089 v_border: 0
(II) MGA(0): Serial No: T613054K539L
(II) MGA(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz,
PixClock max 150 MHz
(II) MGA(0): Monitor name: DELL 2005FPW
(II) MGA(0): end of I2C Monitor info
(==) MGA(0): Using gamma correction (1.0, 1.0, 1.0)
(==) MGA(0): Min pixel clock is 12 MHz
(--) MGA(0): Max pixel clock is 360 MHz
(II) MGA(0): Dell: Using hsync range of 30.00-83.00 kHz
(II) MGA(0): Dell: Using vrefresh range of 56.00-75.00 Hz
(II) MGA(0): Clock range: 12.00 to 360.00 MHz
(II) MGA(0): Not using default mode "640x350" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x175" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x200" (vrefresh out of range)
(II) MGA(0): Not using default mode "720x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "360x200" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x480" (vrefresh out of range)
(II) MGA(0): Not using default mode "320x240" (vrefresh out of range)
(II) MGA(0): Not using default mode "800x600" (vrefresh out of range)
(II) MGA(0): Not using default mode "400x300" (vrefresh out of range)
(II) MGA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "512x384" (vrefresh out of range)
(II) MGA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "512x384" (vrefresh out of range)
(II) MGA(0): Not using default mode "1280x960" (hsync out of range)
(II) MGA(0): Not using default mode "640x480" (hsync out of range)
(WW) (1280x1024,Dell) mode clock 157.5MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1280x1024" (hsync out of range)
(II) MGA(0): Not using default mode "640x512" (hsync out of range)
(WW) (1600x1200,Dell) mode clock 162MHz exceeds DDC maximum 150MHz
(WW) (1600x1200,Dell) mode clock 175.5MHz exceeds DDC maximum 150MHz
(WW) (1600x1200,Dell) mode clock 189MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(WW) (1600x1200,Dell) mode clock 202.5MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(WW) (1600x1200,Dell) mode clock 229.5MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(WW) (1792x1344,Dell) mode clock 204.8MHz exceeds DDC maximum 150MHz
(WW) (1792x1344,Dell) mode clock 261MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
(II) MGA(0): Not using default mode "896x672" (hsync out of range)
(WW) (1856x1392,Dell) mode clock 218.3MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
(WW) (1856x1392,Dell) mode clock 288MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
(WW) (1920x1440,Dell) mode clock 234MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(WW) (1920x1440,Dell) mode clock 297MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(II) MGA(0): Not using default mode "1152x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "576x384" (vrefresh out of range)
(WW) (1400x1050,Dell) mode clock 155.8MHz exceeds DDC maximum 150MHz
(WW) (1920x1440,Dell) mode clock 341.35MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(WW) (960x720,Dell) mode clock 170.675MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(WW) (2048x1536,Dell) mode clock 266.95MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "2048x1536" (hsync out of range)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(WW) (2048x1536,Dell) mode clock 340.48MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "2048x1536" (hsync out of range)
(WW) (1024x768,Dell) mode clock 170.24MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "2048x1536" (bad mode
clock/interlace/doublescan)
(WW) (1024x768,Dell) mode clock 194.02MHz exceeds DDC maximum 150MHz
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "1792x1344" (width too large for
virtual size)
(II) MGA(0): Not using default mode "1600x1200" (height too large for
virtual size)
(II) MGA(0): Not using default mode "1600x1200" (height too large for
virtual size)
(--) MGA(0): Virtual size is 1680x1050 (pitch 1696)
(**) MGA(0): *Mode "1680x1050": 146.2 MHz, 65.3 kHz, 59.9 Hz
(**) MGA(0): *Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(**) MGA(0): *Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) MGA(0): *Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(**) MGA(0): *Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(**) MGA(0): Default mode "1400x1050": 155.8 MHz, 81.5 kHz, 74.8 Hz
(**) MGA(0): Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(**) MGA(0): Mode "1280x1024_60": 108.9 MHz, 63.6 kHz, 60.0 Hz
(**) MGA(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) MGA(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(**) MGA(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) MGA(0): Mode "1152x864_75": 104.8 MHz, 67.5 kHz, 74.9 Hz
(**) MGA(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) MGA(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) MGA(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(**) MGA(0): Default mode "896x672": 102.4 MHz, 83.7 kHz, 60.0 Hz (D)
(**) MGA(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(**) MGA(0): Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(**) MGA(0): Default mode "800x600": 87.8 MHz, 81.2 kHz, 65.0 Hz (D)
(**) MGA(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) MGA(0): Default mode "800x600": 81.0 MHz, 75.0 kHz, 60.0 Hz (D)
(**) MGA(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) MGA(0): Default mode "700x525": 77.9 MHz, 81.5 kHz, 74.8 Hz (D)
(**) MGA(0): Default mode "700x525": 61.0 MHz, 64.9 kHz, 60.0 Hz (D)
(**) MGA(0): Default mode "640x512": 67.5 MHz, 80.0 kHz, 75.0 Hz (D)
(**) MGA(0): Default mode "640x512": 54.0 MHz, 64.0 kHz, 60.0 Hz (D)
(**) MGA(0): Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(**) MGA(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) MGA(0): Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(**) MGA(0): Default mode "576x432": 54.0 MHz, 67.5 kHz, 75.0 Hz (D)
(**) MGA(0): Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) MGA(0): Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) MGA(0): Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(**) MGA(0): Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(**) MGA(0): Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(**) MGA(0): Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) MGA(0): Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) MGA(0): Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(**) MGA(0): Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(**) MGA(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(--) MGA(0): Display dimensions: (430, 270) mm
(--) MGA(0): DPI set to (99, 98)
(II) Loading /opt/debrix/lib/xorg/modules/libfb.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module fb: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.0.0
(II) Loading /opt/debrix/lib/xorg/modules/libxaa.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module xaa: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 1.2.0
(II) Loading /opt/debrix/lib/xorg/modules/libramdac.so
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 6.99.99.904, module version = 0.1.0
(--) Depth 24 pixmap format is 32 bpp
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 32 depth: 24
(II) MGA(0): [drm] Sarea 2200+664: 2864
(II) MGA(0): [drm] DRM interface version 1.2
(II) MGA(0): [drm] created "mga" driver at busid "pci:0000:01:00.0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xe08c2000
(II) MGA(0): [drm] mapped SAREA 0xe08c2000 to 0xb5187000
(II) MGA(0): [drm] framebuffer handle = 0xf6000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x7190; Card
0x102b/0x0525]
(II) MGA(0): [agp] 12288 kB allocated with handle 0x00000001
(II) MGA(0): [agp] WARP microcode handle = 0xfa000000
(II) MGA(0): [agp] Primary DMA handle = 0xfa008000
(II) MGA(0): [agp] DMA buffers handle = 0xfa108000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [agp] agpTexture handle = 0xfa908000
(II) MGA(0): [agp] agpTexture size: 2816 kb
(II) MGA(0): [drm] Registers handle = 0xfe7fc000
(II) MGA(0): [drm] Status handle = 0xe08f5000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1696,2100)
(II) MGA(0): Largest offscreen area available: 1696 x 1050
(II) MGA(0): Reserved back buffer at offset 0xd98000
(II) MGA(0): Reserved depth buffer at offset 0x1464000
(II) MGA(0): Reserved 4928 kb for textures at offset 0x1b30000
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Driver provided FillMono8x8PatternRects replacement
Setting up tile and stipple cache:
32 128x128 slots
18 256x256 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(II) MGA(0): X context handle = 0x1
(II) MGA(0): [drm] installed DRM signal handler
(II) MGA(0): [DRI] installation complete
(II) MGA(0): [drm] Mapped 128 DMA buffers
(II) MGA(0): [drm] dma control initialized, using IRQ 19
(II) MGA(0): Direct rendering enabled
(==) RandR enabled
(**) Mouse1: Core Pointer
(**) Mouse1: Device: "/dev/input/event0"
(II) Mouse1: Found x and y relative axes
(II) Mouse1: Found mouse buttons
(II) Mouse1: Configuring as mouse
(**) Keyboard1: Core Keyboard
(**) Keyboard1: Protocol: standard
(**) Keyboard1: XkbRules: "xorg"
(**) Keyboard1: XkbModel: "pc104"
(**) Keyboard1: XkbLayout: "us"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
CW: waitpid 8308 received Trace/breakpoint trap (stopped)
linux-nat.c:512: internal-error: wait returned unexpected status 0x4057f
- ajax
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdb/2054: can't start X server under gdb
@ 2005-12-19 22:08 Daniel Jacobowitz
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2005-12-19 22:08 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2054; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: ajackson@redhat.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2054: can't start X server under gdb
Date: Mon, 19 Dec 2005 17:05:36 -0500
On Mon, Dec 19, 2005 at 09:53:34PM -0000, ajackson@redhat.com wrote:
> Attempting to run X (6.9RC4, but happens with earlier versions too) makes gdb flip out:
>
> (gdb) run -ac -verbose -noreset :0
> ...
> (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
> (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
> linux-nat.c:512: internal-error: wait returned unexpected status 0x4057f
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n)
Huh - that (0x4057f) is SIGTRAP | (PTRACE_EVENT_EXEC << 16). GDB shouldn't
be receiving PTRACE_EVENT_EXEC notification. Is this an unmodified
kernel.org kernel? Did X exec?
Attaching the output of GDB if you "set debug lin-lwp 1" before "run"
might shed some light on it.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 8+ messages in thread
* gdb/2054: can't start X server under gdb
@ 2005-12-19 21:58 ajackson
0 siblings, 0 replies; 8+ messages in thread
From: ajackson @ 2005-12-19 21:58 UTC (permalink / raw)
To: gdb-gnats
>Number: 2054
>Category: gdb
>Synopsis: can't start X server under gdb
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 19 21:58:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: ajackson@redhat.com
>Release: GNU gdb 6.4
>Organization:
>Environment:
Linux dexedrine 2.6.13.4 #1 SMP Sat Oct 22 19:01:00 EDT 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
>Description:
Attempting to run X (6.9RC4, but happens with earlier versions too) makes gdb flip out:
(gdb) run -ac -verbose -noreset :0
...
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
linux-nat.c:512: internal-error: wait returned unexpected status 0x4057f
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
Disabling the smart scheduler and silken mouse (which historically have confused gdb) has no effect.
>How-To-Repeat:
see above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-01-04 16:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20 0:18 gdb/2054: can't start X server under gdb Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2006-01-04 16:48 Daniel Jacobowitz
2006-01-04 16:38 Adam Jackson
2005-12-20 16:38 Daniel Jacobowitz
2005-12-20 0:28 Adam Jackson
2005-12-20 0:08 Adam Jackson
2005-12-19 22:08 Daniel Jacobowitz
2005-12-19 21:58 ajackson
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).