[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#257329: marked as done (xlibmesa-gl-dev: Segfaults on Radeon 7500 QW when linked in a special way)



Your message dated Sat, 03 Jul 2004 02:19:44 +0200
with message-id <40E5FBA0.6040508@uni-hd.de>
and subject line Ahhhrg!!!!
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Jul 2004 19:38:23 +0000
>From dennis@fsmath.zbt.uni-heidelberg.de Fri Jul 02 12:38:23 2004
Return-path: <dennis@fsmath.zbt.uni-heidelberg.de>
Received: from relay.uni-heidelberg.de [129.206.100.212] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BgTrb-0008Gs-00; Fri, 02 Jul 2004 12:38:23 -0700
Received: from ix.urz.uni-heidelberg.de (popix.urz.uni-heidelberg.de [129.206.119.235])
	by relay.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i62JcLIY003163
	for <submit@bugs.debian.org>; Fri, 2 Jul 2004 21:38:21 +0200 (MET DST)
Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140])
	by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with SMTP id VAA7184478
	for <submit@bugs.debian.org>; Fri, 2 Jul 2004 21:38:20 +0200
Received: (qmail 14305 invoked by uid 0); 2 Jul 2004 19:38:19 -0000
Received: from ?217.85.219.248? (HELO localhost) (dbrakhan@217.85.219.248)
  by extmail.urz.uni-heidelberg.de with SMTP; 2 Jul 2004 19:38:19 -0000
Received: by localhost (Postfix, from userid 1000)
	id B2D44A331; Fri,  2 Jul 2004 21:38:13 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dennis Brakhane <dennis@fsmath.zbt.uni-heidelberg.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xlibmesa-gl-dev: Segfaults on Radeon 7500 QW when linked in a special way
X-Mailer: reportbug 2.62
Date: Fri, 02 Jul 2004 21:38:13 +0200
Message-Id: <[🔎] 20040702193813.B2D44A331@localhost>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: xlibmesa-gl-dev
Version: 4.3.0.dfsg.1-5
Severity: important

I'm not entirely sure if this is a SDL or GL bug, but the following
let's me suspect that something is wrong with GL.

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20020611 AGP 1x x86/MMX/3DNow!/SSE TCL
OpenGL version string: 1.2 Mesa 4.0.4
...

$ cat aa.c
#include "SDL.h"

int main()
{
    SDL_Init(SDL_INIT_VIDEO);
    SDL_SetVideoMode(640,480,24,SDL_OPENGL);
    SDL_Quit();
}
$ gcc aa.c -lGL -lGLU `sdl-config --cflags --libs` && ./a.out
[runs ok]
$ gcc aa.c -lGLU -lGL `sdl-config --cflags --libs` && ./a.out
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

As soon as -lGL is linked in after -lGLU, the program
crashes when using direct rendering (LIBGL_ALWAYS_INDIRECT not set);
without accel (LGL_A_I set), it works fine.

Setting LIBGL_DEBUG for the first program results in no output, the
crashing second program outputs:
GL User Error: calling glGetString(0x1f03); without a current context

The program crashes in the strstr-function, unfortunately, the stack
is corrupted, and I didn't managed to obtain a more helpful
backtrace. 

The installed xlibmesa-dri version is 4.3.0.dfsg.1-5

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-2-k7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE (ignored: LC_ALL set to de_DE)

Versions of packages xlibmesa-gl-dev depends on:
ii  libc6-dev [libc-dev]      2.3.2.ds1-13   GNU C Library: Development Librari
ii  libx11-dev                4.3.0.dfsg.1-5 X Window System protocol client li
ii  libxext-dev               4.3.0.dfsg.1-5 X Window System miscellaneous exte
ii  x-dev                     4.3.0.dfsg.1-5 X protocol development files
ii  xlibmesa-gl               4.3.0.dfsg.1-5 Mesa 3D graphics library [XFree86]

-- no debconf information

---------------------------------------
Received: (at 257329-close) by bugs.debian.org; 3 Jul 2004 00:32:16 +0000
>From dennis@uni-hd.de Fri Jul 02 17:32:16 2004
Return-path: <dennis@uni-hd.de>
Received: from relay2.uni-heidelberg.de [129.206.210.211] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BgYRz-000613-00; Fri, 02 Jul 2004 17:32:15 -0700
Received: from ix.urz.uni-heidelberg.de (popix.urz.uni-heidelberg.de [129.206.119.235])
	by relay2.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id i630WDBp003354
	for <257329-close@bugs.debian.org>; Sat, 3 Jul 2004 02:32:14 +0200 (MET DST)
Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140])
	by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with SMTP id CAA2302060
	for <257329-close@bugs.debian.org>; Sat, 3 Jul 2004 02:19:50 +0200
Received: (qmail 15524 invoked by uid 0); 3 Jul 2004 00:19:49 -0000
Received: from ?217.85.219.248? (dbrakhan@217.85.219.248)
  by extmail.urz.uni-heidelberg.de with RC4-MD5 encrypted SMTP; 3 Jul 2004 00:19:49 -0000
Message-ID: <40E5FBA0.6040508@uni-hd.de>
Date: Sat, 03 Jul 2004 02:19:44 +0200
From: Dennis Brakhane <dennis@uni-hd.de>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040605)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 257329-close@bugs.debian.org
Subject: Ahhhrg!!!!
X-Enigmail-Version: 0.83.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: 257329-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.4 required=4.0 tests=BAYES_00,PLING_PLING 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Damn!

The old xlibmesa-gl1-dri-trunk package forget to remove the 
dpkg-diversions, resulting in incompatible SOs. >-(

It all works fine now!



Reply to: