Bug 9629 - x11setupdrv crash
Summary: x11setupdrv crash
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: x11setupdrv (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 14:33 MSD by at@altlinux.org
Modified: 2006-10-17 11:32 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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