Skip to contentSkip to conversation

New: segfault in r300_dri.so

Bug 25892 [email protected] 1 participant 7 messages Jan 4, 2010 – Jan 12, 2010

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=25892

Summary: segfault in r300_dri.so
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

xserver crashes immediately after kde4 login. login to fluxbox is working but a glxinfo gives me:

name of display: :0.0
Speicherzugriffsfehler

And dmesg:

    glxinfo[7533]: segfault at 10 ip b714add7 sp bfa71350 error 4 in

r300_dri.so[b7104000+273000]

Xorg.Olog.old states:

    Backtrace:
    0: /usr/bin/X(xorg_backtrace+0x3b) [0x81314cb]
    1: /usr/bin/X(xf86SigHandler+0x51) [0x80c1df1]
    2: [0xb772e400]

Fatal server error:
Caught signal 11. Server aborting

Asus Laptop
x2300 video

kernel 2.6.32.2 from kernel.org (radeon kms enabled) loading radeon module via /etc/modules /etc/modprobe.d/radeon.conf : options radeon modeset=1 agpmode=-1

xserver: Debain Sid (1.6.5)
no xorg.conf

from git (latest pull 01-03-2010):

  macros
  dri2proto
  drm    (--enable-radeon-experimental-api)
  xf86-video-ati
  mesa   (--with-dri-drivers=radeon --disable-gallium)

Thank you for considering this bug report.
I'd be glad to provide any further information if needed.

Heinrich Fu Jin Wang

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#1 lore raw

[Bug 25892] segfault in r300_dri.so

http://bugs.freedesktop.org/show_bug.cgi?id=25892

--- Comment #1 from Heinrich Fu Jin Wang <[email protected]> 2010-01-04 09:15:45 PST --- Created an attachment (id=32438)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32438)
Xorg.0.log.old

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#2 lore raw

[Bug 25892] segfault in r300_dri.so

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=25892

--- Comment #2 from Heinrich Fu Jin Wang <[email protected]> 2010-01-04 09:19:36 PST --- Created an attachment (id=32439)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32439)
dmesg output

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#3 lore raw

[Bug 25892] segfault in r300_dri.so

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=25892

--- Comment #3 from Alex Deucher <[email protected]> 2010-01-04 10:21:33 PST --- Any chance you could get a real backtrace with gdb?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#4 lore raw

[Bug 25892] segfault in r300_dri.so

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=25892

--- Comment #4 from Heinrich Fu Jin Wang <[email protected]> 2010-01-06 04:59:39 PST --- I tried to receive a backtrace from gdb but obviously my computer skills are not sufficient.

After reading a couple of howtos on debugging with gdb in the internet I installed xserver-xorg-core-dbg, recompiled drm, ddx and mesa with CFLAGS="-march=native -O2 -ggdb" (and aditionally configured mesa with --enable-debug running ./autogen.sh).

However on calling glxinfo within gdb I still get:

"Reading symbols from /usr/bin/glxinfo...(no debugging symbols found)...done."

Sorry, it seems as though I cannot contribute anything useful at the moment.

Best regards,
Heinrich

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#5 lore raw

[Bug 25892] segfault in r300_dri.so

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=25892

--- Comment #5 from Michel Dänzer <[email protected]> 2010-01-06 05:11:02 PST --- (In reply to comment #4)

Quoted 3 lines

However on calling glxinfo within gdb I still get:

"Reading symbols from /usr/bin/glxinfo...(no debugging symbols found)...done."

That should be okay, so long as it can get debugging symbols for r300_dri.so.

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#6 lore raw

[Bug 25892] segfault in r300_dri.so

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=25892

Heinrich Fu Jin Wang <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #6 from Heinrich Fu Jin Wang <[email protected]> 2010-01-12 11:08:25 PST --- No bug but a user mistake.

I had not configured the respective mesa code with --with-dri-drivers=radeon,r200,r300,r600 as proposed in radeonBuildHowTo but had assumed that configure option --with-dri-drivers=radeon was ok for my r500.

So an older version of r300_dri.so was in my /usr/lib/dri/ which probably caused the segfault.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--