Bug 34756 - xserver 1.10.0 Fatal server error XNFvasprintf failed
Summary: xserver 1.10.0 Fatal server error XNFvasprintf failed
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 04:08 UTC by Jos van Wolput
Modified: 2011-02-26 11:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (18.48 KB, text/plain)
2011-02-26 04:08 UTC, Jos van Wolput
no flags Details

Description Jos van Wolput 2011-02-26 04:08:34 UTC
Created attachment 43852 [details]
Xorg.0.log

xserver 1.10.0 shows a fatal server error.
Xorg.0.log:
[    37.202] XNFvasprintf: Invalid argument
Fatal server error:
[    37.202] XNFvasprintf failed
Comment 1 Michel Dänzer 2011-02-26 06:32:19 UTC
Should be fixed by the commit below, please reopen if not.

commit e55520c0e582f2a500b3b01c2cb78750e15256ca
Author: Michel Dänzer <daenzer@vmware.com>
Date:   Sat Feb 26 15:27:59 2011 +0100

    Revert "kms: Fix warning XNFprintf is deprecated"
    
    This reverts commit cb4dc7ab66016d0c980800f8dbf71bbe993889d3.
    
    Looks like this caused https://bugs.freedesktop.org/attachment.cgi?id=43852 ,
    but even if it didn't, the following needs to be addressed first:
    
    cc1: warnings being treated as errors
    ../../src/radeon_kms.c: In function ‘radeon_open_drm_master’:
    ../../src/radeon_kms.c:413: error: passing argument 1 of ‘XNFasprintf’ from incompatible pointer type
    /usr/local/include/xorg/Xprintf.h:57: note: expected ‘char **’ but argument is of type ‘char *’
    ../../src/radeon_kms.c:413: error: passing argument 2 of ‘XNFasprintf’ makes pointer from integer without a cast
    /usr/local/include/xorg/Xprintf.h:57: note: expected ‘const char * restrict’ but argument is of type ‘uint16_t’
    ../../src/radeon_kms.c:413: error: assignment makes pointer from integer without a cast
    make[2]: *** [radeon_kms.lo] Error 1
Comment 2 Jos van Wolput 2011-02-26 11:00:31 UTC
(In reply to comment #1)
> Should be fixed by the commit below, please reopen if not.
> 
> commit e55520c0e582f2a500b3b01c2cb78750e15256ca
> Author: Michel Dänzer <daenzer@vmware.com>
> Date:   Sat Feb 26 15:27:59 2011 +0100
> 

I compiled your xf86-video-ati commit. 
No more xserver error, fixed.
Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.