From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 65327] New: running gnubik produces a segfault Date: Tue, 04 Jun 2013 05:58:14 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1739680063==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3CEAFE5C02 for ; Mon, 3 Jun 2013 22:58:15 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1739680063== Content-Type: multipart/alternative; boundary="1370325495.76B84cC0.3452"; charset="us-ascii" --1370325495.76B84cC0.3452 Date: Tue, 4 Jun 2013 05:58:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=65327 Priority: medium Bug ID: 65327 Assignee: dri-devel@lists.freedesktop.org Summary: running gnubik produces a segfault Severity: normal Classification: Unclassified OS: Linux (All) Reporter: pinode@gmail.com Hardware: x86 (IA32) Status: NEW Version: unspecified Component: DRM/Radeon Product: DRI Created attachment 80263 --> https://bugs.freedesktop.org/attachment.cgi?id=80263&action=edit bt full X.Org X Server 1.13.3 Fedora release 18 (Spherical Cow) bash-4.2$ lspci -v|grep ATI 02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV350 AP [Radeon 9600] (prog-if 00 [VGA controller]) 02:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV350 AP [Radeon 9600] (Secondary) When I run gnubik (a game), the program segfaults immediately: bash-4.2$ gnubik Segmentation fault (core dumped) bash-4.2$ dmesg|tail -n 1 [ 5769.578454] gnubik[7155]: segfault at 0 ip (null) sp bfafcbbc error 4 in gnubik[8048000+16000] bash-4.2$ rpm -q gnubik gnubik-2.4-5.fc18.i686 bash-4.2$ gnubik -v|head -n 1 2.4 #0 0x00000000 in ?? () #1 0xb217e6f4 in generic_run () from /usr/lib/dri/r300_dri.so #2 0xb214ae9c in draw_pt_fetch_run_linear () from /usr/lib/dri/r300_dri.so it segfaults on line 646 (gdb) l translate/translate_generic.c:646 641 copy_size = tg->attrib[attr].copy_size; 642 if(likely(copy_size >= 0)) 643 memcpy(dst, src, copy_size); 644 else 645 { 646 tg->attrib[attr].fetch( data, src, 0, 0 ); 647 648 if (0) 649 debug_printf("Fetch linear attr %d from %p stride %d index %d: " 650 " %f, %f, %f, %f \n", (gdb) the bugtrace is attached Should any additional info be required, I may provide it. -- You are receiving this mail because: You are the assignee for the bug. --1370325495.76B84cC0.3452 Date: Tue, 4 Jun 2013 05:58:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 65327
Assignee dri-devel@lists.freedesktop.org
Summary running gnubik produces a segfault
Severity normal
Classification Unclassified
OS Linux (All)
Reporter pinode@gmail.com
Hardware x86 (IA32)
Status NEW
Version unspecified
Component DRM/Radeon
Product DRI

Created attachment 80263 [details]
bt full

X.Org X Server 1.13.3
Fedora release 18 (Spherical Cow)

bash-4.2$ lspci -v|grep ATI
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV350
AP [Radeon 9600] (prog-if 00 [VGA controller])
02:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV350 AP
[Radeon 9600] (Secondary)


When I run gnubik (a game), the program segfaults immediately:
bash-4.2$ gnubik 
Segmentation fault (core dumped)

bash-4.2$ dmesg|tail -n 1
[ 5769.578454] gnubik[7155]: segfault at 0 ip   (null) sp bfafcbbc
error 4 in gnubik[8048000+16000] 
bash-4.2$ rpm -q gnubik
gnubik-2.4-5.fc18.i686

bash-4.2$ gnubik -v|head -n 1
2.4

#0  0x00000000 in ?? ()
#1  0xb217e6f4 in generic_run () from /usr/lib/dri/r300_dri.so
#2  0xb214ae9c in draw_pt_fetch_run_linear ()
from /usr/lib/dri/r300_dri.so

it segfaults on line 646

(gdb) l translate/translate_generic.c:646
641             copy_size = tg->attrib[attr].copy_size;
642             if(likely(copy_size >= 0))
643                memcpy(dst, src, copy_size);
644             else
645             {
646                tg->attrib[attr].fetch( data, src, 0, 0 );
647    
648                if (0)
649                   debug_printf("Fetch linear attr %d  from %p
stride %d  index %d: " 650                             " %f, %f,
%f, %f \n", (gdb) 

the bugtrace is attached
Should any additional info be required, I may provide it.


You are receiving this mail because:
  • You are the assignee for the bug.
--1370325495.76B84cC0.3452-- --===============1739680063== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1739680063==--