Bug#414307: xnest: Crashes with client Tulip

2007-03-11 Thread Brice Goglin
Version: 2:1.2.99.901-1


J.P. Larocque wrote:
> Xnest consistently crashes with the application Tulip (Debian package
> tulip, version 2.0.6-4).  Simply create a new document.
>   

I can reproduce the problem here, even with Xnest currently in
experimental. Here's a backtrace from a debug-enabled Xnest 2:1.2.99.901-1:

Program received signal SIGSEGV, Segmentation fault.
0x081d8b7d in _mesa_update_draw_buffer_bounds (ctx=0x8f9b1b8) at
framebuffer.c:393
393if (buffer->Name) {
(gdb) bt full
#0  0x081d8b7d in _mesa_update_draw_buffer_bounds (ctx=0x8f9b1b8) at
framebuffer.c:393
buffer = (struct gl_framebuffer *) 0xb7684008
#1  0x081d8a7e in _mesa_resize_framebuffer (ctx=0x8f9b1b8,
fb=0xb7652008, width=100, height=30)
at framebuffer.c:332
i = 19
#2  0x08148a43 in xmesa_check_and_update_buffer_size (xmctx=0x8f9b1b8,
drawBuffer=0xb7652008)
at xm_api.c:1890
width = 100
height = 30
#3  0x08148b35 in XMesaMakeCurrent2 (c=0x8f9b1b8, drawBuffer=0xb7652008,
readBuffer=0xb7652008)
at xm_api.c:1940
No locals.
#4  0x081451f8 in __glXMesaContextMakeCurrent (baseContext=0x8f993f8) at
../../../../GL/mesa/X/xf86glx.c:200
context = (__GLXMESAcontext *) 0x8f993f8
drawPriv = (__GLXMESAdrawable *) 0x96675c0
readPriv = (__GLXMESAdrawable *) 0x96675c0
#5  0x08120076 in DoMakeCurrent (cl=0x86e5068, drawId=2099970,
readId=2099970, contextId=2099967, tag=1)
at ../../../GL/glx/glxcmds.c:662
client = (ClientPtr) 0x86e7558
reply = {type = 1 '\001', unused = 0 '\0', sequenceNumber = 0,
length = 2, contextTag = 150354040,
  pad2 = 150353544, pad3 = 3213761352, pad4 = 135071716, pad5 =
139016604, pad6 = 3213761156}
drawPixmap = (__GLXpixmap *) 0x0
readPixmap = (__GLXpixmap *) 0x0
glxc = (__GLXcontext *) 0x8f993f8
prevglxc = (__GLXcontext *) 0x8f993f8
drawPriv = (__GLXdrawable *) 0x96675c0
readPriv = (__GLXdrawable *) 0x96675c0
error = -1081206120
mask = 0
#6  0x0811facf in __glXDisp_MakeCurrent (cl=0x86e5068, pc=0xb7945290
"\221\005\004")
at ../../../GL/glx/glxcmds.c:408
req = (xGLXMakeCurrentReq *) 0xb7945290
#7  0x080ffcab in __glXDispatch (client=0x86e7558) at
../../../GL/glx/glxext.c:551
stuff = (xGLXSingleReq *) 0xb7945290
opcode = 5 '\005'
proc = (__GLXdispatchSingleProcPtr) 0x811fa83
<__glXDisp_MakeCurrent>
cl = (__GLXclientState *) 0x86e5068
retval = -1081206112
#8  0x080d09d4 in XaceCatchExtProc (client=0x86e7558) at
../../Xext/xace.c:299
stuff = (xReq *) 0xb7684008
major = 145
ext = (ExtensionEntry *) 0x84bba68
#9  0x0806ff93 in Dispatch () at ../../dix/dispatch.c:457
clientReady = (int *) 0xbf8e1b70
result = 16
client = (ClientPtr) 0x86e7558
nready = 0
icheck = (HWEventQueuePtr *) 0x84a21c4
start_tick = 4240
#10 0x0808ec5e in main (argc=2, argv=0xbf8e2094, envp=0xbf8e20a0) at
../../dix/main.c:477
i = 1
j = 2
k = 2
error = 138905476
xauthfile = 0xbf8e3fba "/home/bgoglin/.Xauthority"
alwaysCheckForInput = {0, 1}

As a workaround, you might want to try Xephyr (from xserver-xephyr)
which is the recommended replacement for Xnest nowadays. I doesn't crash
under the same circumstances here.

I wonder whether we should stop building Xnest and add a transitional
package to Xephyr. There are multiple Xnest bugs that don't show up in
Xephyr...

Brice



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#414307: xnest: Crashes with client Tulip

2007-03-10 Thread J.P. Larocque
Package: xnest
Version: 2:1.1.1-20
Severity: important

Xnest consistently crashes with the application Tulip (Debian package
tulip, version 2.0.6-4).  Simply create a new document.

Tulip on AMD64 also crashes xserver-xorg-core 2:1.1.1-19 on i386
during the same operation.  Tulip on i386 also crashes the same
version of xserver-xorg-core on i386.  This could be considered a much
more serious problem when it crashes a "real" X server; thankfully it
can be reproduced with Xnest.

A backtrace from the core file left by the Xnest follows.  Please let
me know if there's any particular detailed information I can give that
will help.

Core was generated by `Xnest -geometry 838x1029 -query synthetic-forms'.
Program terminated with signal 11, Segmentation fault.
#0  0x004fde07 in _mesa_shareContext ()
(gdb) bt
#0  0x004fde07 in _mesa_shareContext ()
#1  0x004bc0f4 in GlxInitVisuals ()
#2  0x004bb366 in GlxInitVisuals ()
#3  0x0048e26a in GlxInitVisuals ()
#4  0x0048a524 in XETrapDispatch ()
#5  0x004329e9 in dixDestroyPixmap ()
#6  0x004435fd in NotImplemented ()
#7  0x2ba424d404ca in __libc_start_main () from /lib/libc.so.6
#8  0x0041d84a in ?? ()
#9  0x7fff866c6d98 in ?? ()
#10 0x in ?? ()

Thanks,

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-custom-xen-1
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xnest depends on:
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libx11-62:1.0.3-5X11 client-side library
ii  libxau6 1:1.0.1-2X11 authorisation library
ii  libxdmcp6   1:1.0.1-2X11 Display Manager Control Protoc
ii  libxext61:1.0.1-2X11 miscellaneous extension librar
ii  libxfont1   1:1.2.2-1X11 font rasterisation library

xnest recommends no packages.

-- no debconf information

-- 
J.P. Larocque: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]