NetBSD and xserver and core dump and no drivers

Jeremy C. Reed reed at reedmedia.net
Thu May 25 15:26:21 PDT 2006


> #7  0x080af313 in fixup_video_driver_list (drivers=0x0) at 
> xf86Config.c:461
> #8  0x080af499 in GenerateDriverlist (dirname=0x818721f "drivers", 
>     drivernames=0x81a87c8 "") at xf86Config.c:514

May I commit the following? With this Xorg closes cleanly and the logs 
have: "Missing output drivers.  Configuration failed."

--- ./hw/xfree86/common/xf86Config.c    7 Apr 2006 01:41:00 -0000       1.28
+++ ./hw/xfree86/common/xf86Config.c    25 May 2006 22:13:29 -0000
@@ -510,7 +510,7 @@
     ret = LoaderListDirs(subdirs, patlist);
     
     /* fix up the probe order for video drivers */
-    if (strstr(dirname, "drivers"))
+    if (strstr(dirname, "drivers") && ret != NULL)
         fixup_video_driver_list(ret);
 
     return ret;



 Jeremy C. Reed

echo '9,J8HD,fDGG8B@?:536FC5=8 at I;C5?@H5B0D at 5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'



More information about the xorg mailing list