On Thu, Mar 04, 2010 at 07:52:02AM -0600, Pat Kane wrote:
>   Ross Boylan <r...@biostat.ucsf.edu> wrote:
>    > Program received signal SIGSEGV, Segmentation fault.
>    > 0x0000000000000000 in ?? ()
>    > (gdb) where
>    > #0  0x0000000000000000 in ?? ()
>    > #1  0x000000000051a72a in DoConfigure ()
>    > at ../../../../hw/xfree86/common/xf86Configure.c:832
> 
> The traceback says that someone branched to zero at
> line 832 of hw/xfree86/common/xf86Configure.c, that
> section of code (from git master) looks like this:
> 
>       ConfiguredMonitor = NULL;
> 
>       xf86EnableAccess(xf86Screens[dev2screen[j]]);
>       if ((*xf86Screens[dev2screen[j]]->PreInit)(xf86Screens[dev2screen[j]],
> 832:                                           PROBE_DETECT) &&
>           ConfiguredMonitor) {
>           MonitorPtr = configureDDCMonitorSection(j);
>       } else {
>           MonitorPtr = configureMonitorSection(j);
>       }
> 
> So it appears that the expression:
>     (*xf86Screens[dev2screen[j]]->PreInit)
> is NULL;  it would be a good idea for that code to check
> if PreInit has been filled in before jumping through it.
> 
> Can you recompile the X server with a test for NULL?

Er, if pScrn->PreInit is NULL, then something's gone quite seriously
wrong and we're screwed anyway.

Cheers,
Daniel

Attachment: pgpVW1K0hDoUZ.pgp
Description: PGP signature

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to