Bug 9629

Summary: x11setupdrv crash
Product: Sisyphus Reporter: at <at>
Component: x11setupdrvAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

Description at@altlinux.org 2006-05-29 14:33:09 MSD
Date: Mon, 29 May 2006 14:15:25 +0400
From: Alexey Tourbin <at@altlinux>
Subject: Re: x11setupdrv crash
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux>
Message-ID: <20060529101525.GE31707@localhost.localdomain>

On Mon, May 29, 2006 at 02:01:39PM +0400, Sergey V Turchin wrote:
> On Saturday 27 May 2006 14:12, Anton Komarevtsev wrote:
> 
> [...]
> > x11setupdrv при запуске вылетает с Segmentation Fault
> Запустите вместо него
> /usr/libexec/X11/drv.d/nvidia -v

И кажется причину сегфолта я когда-то расковырял -- strdup по нулю.

        const char *filename;
        if (!(filename = strdup (xf86openConfigFile (CONFPATH, cmdline, NULL))))
                error (1, errno, "%s: unable to open config file", cmdline);
Comment 1 Valery Inozemtsev 2006-05-30 10:31:26 MSD
исправлено в 0.4.1