Bug 4976

Summary: radeontool segfaults
Product: Mageia Reporter: Herbert Poetzl <herbert>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: critical    
Priority: Normal CC: herbert, marja11, pterjan, thierry.vignaud
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: radeontool-1.6.2-1.mga1.src.rpm CVE:
Status comment:

Description Herbert Poetzl 2012-03-16 07:40:30 CET
Description of problem:
radeontool segfaults with Radeon HD 5450

Version-Release number of selected component (if applicable):
radeontool-1.6.2-1.mga1

How reproducible:
always

Steps to Reproduce:
1. radeontool
2.
3.


# gdb radeontool
GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-mageia-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/radeontool...Reading symbols from /usr/lib/debug/usr/sbin/radeontool.debug...done.
done.
(gdb) r
Starting program: /usr/sbin/radeontool 

Program received signal SIGSEGV, Segmentation fault.
strchrnul () at ../sysdeps/x86_64/strchrnul.S:34
34		movdqa	(%rdi), %xmm0
(gdb) where
#0  strchrnul () at ../sysdeps/x86_64/strchrnul.S:34
#1  0x00007ffff788ddaa in __find_specmb (
    format=0x2573 <Address 0x2573 out of bounds>) at printf-parse.h:99
#2  _IO_vfprintf_internal (s=0x7fffffffd760, 
    format=0x2573 <Address 0x2573 out of bounds>, ap=0x7fffffffdf18)
    at vfprintf.c:1307
#3  0x00007ffff7892cd4 in buffered_vfprintf (s=0x7ffff7bd06e0, 
    format=<optimized out>, args=<optimized out>) at vfprintf.c:2239
#4  0x00007ffff788df0e in _IO_vfprintf_internal (s=0x7ffff7bd06e0, 
    format=0x2573 <Address 0x2573 out of bounds>, ap=0x7fffffffdf18)
    at vfprintf.c:1288
#5  0x00007ffff79382db in ___fprintf_chk (fp=0x7ffff7bd06e0, flag=1, 
    format=<optimized out>) at fprintf_chk.c:37
#6  0x0000000000400e7f in fprintf (
    __fmt=0x2573 <Address 0x2573 out of bounds>, __stream=<optimized out>)
    at /usr/include/bits/stdio2.h:98
#7  fatal (why=<optimized out>) at radeontool.c:42
#8  0x0000000000401128 in map_radeon_cntl_mem () at radeontool.c:958
#9  0x00000000004068a2 in main (argc=1, argv=<optimized out>)
    at radeontool.c:2880
(gdb)
Manuel Hiebel 2012-03-16 19:05:32 CET

CC: (none) => pterjan, thierry.vignaud

Comment 1 Herbert Poetzl 2012-03-24 13:58:17 CET
just verified, still valid on recent cauldron

Starting program: /usr/sbin/radeontool 

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff78d056a in strchrnul () from /lib64/libc.so.6
(gdb) where
#0  0x00007ffff78d056a in strchrnul () from /lib64/libc.so.6
#1  0x00007ffff788ddaa in vfprintf () from /lib64/libc.so.6
#2  0x00007ffff7892cd4 in buffered_vfprintf () from /lib64/libc.so.6
#3  0x00007ffff788df0e in vfprintf () from /lib64/libc.so.6
#4  0x00007ffff79382db in __fprintf_chk () from /lib64/libc.so.6
#5  0x0000000000400e7f in fprintf (__fmt=0x2573 <Address 0x2573 out of bounds>, __stream=<optimized out>)
    at /usr/include/bits/stdio2.h:98
#6  fatal (why=<optimized out>) at radeontool.c:42
#7  0x00000000004010da in map_radeon_cntl_mem () at radeontool.c:970
#8  0x00000000004068a2 in main (argc=1, argv=<optimized out>) at radeontool.c:2880

CC: (none) => herbert

Comment 2 Marja Van Waes 2012-05-26 13:02:27 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 3 Marja Van Waes 2012-08-03 20:58:42 CEST
2 months later, no reply, closing as old

Feel free to reopen if needed and tell in which fully updated Mageia version(s) you still have this issue

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => OLD