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.