Displaying 7 results from an estimated 7 matches for "initdisplaylist".
2019 Apr 25
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...too tired today. Why did that take me so long?
>
>The culprit seems to be
>
>R_ProcessEvents((void*) NULL)
>
>in newX11DeviceDriver
>
>This gets called *before* this stuff at the end of Rf_addX11Device
>
> dd = GEcreateDevDesc(dev);
> addDevice((DevDesc*) dd);
> initDisplayList((DevDesc*) dd);
>
>and it is that "dd" that gets called by Rf_playDisplayList. Removing
>the offending line stops the segfaulting, seemingly with no ill
>effects.
>
>I'm not really sure what the use of that line ever was; it might be
>necessary to make the call so...
2019 Apr 30
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...gt;>
>>> R_ProcessEvents((void*) NULL)
>>>
>>> in newX11DeviceDriver
>>>
>>> This gets called *before* this stuff at the end of Rf_addX11Device
>>>
>>> dd = GEcreateDevDesc(dev);
>>> addDevice((DevDesc*) dd);
>>> initDisplayList((DevDesc*) dd);
>>>
>>> and it is that "dd" that gets called by Rf_playDisplayList. Removing
>>> the offending line stops the segfaulting, seemingly with no ill
>>> effects.
>>>
>>> I'm not really sure what the use of that line eve...
2019 Apr 24
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
I don't recall exactly what I did 18 years ago eiher and I likely don't have the time to dig into the archives and reconstruct.
I can imagine that the issue had to do with the protocol around creating and mapping windows. Presumably the segfault comes from looking for events on a window that hasn't been created yet, or has already been destroyed, leading to a NULL reference somewhere.
2019 Apr 24
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...------------>>
.....
Gah. I've been too tired today. Why did that take me so long?
The culprit seems to be
R_ProcessEvents((void*) NULL)
in newX11DeviceDriver
This gets called *before* this stuff at the end of Rf_addX11Device
dd = GEcreateDevDesc(dev);
addDevice((DevDesc*) dd);
initDisplayList((DevDesc*) dd);
and it is that "dd" that gets called by Rf_playDisplayList. Removing
the offending line stops the segfaulting, seemingly with no ill
effects.
I'm not really sure what the use of that line ever was; it might be
necessary to make the call somewhere later, but it appea...
2019 May 02
1
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...gt;>
>>>>> in newX11DeviceDriver
>>>>>
>>>>> This gets called *before* this stuff at the end of Rf_addX11Device
>>>>>
>>>>> dd = GEcreateDevDesc(dev);
>>>>> addDevice((DevDesc*) dd);
>>>>> initDisplayList((DevDesc*) dd);
>>>>>
>>>>> and it is that "dd" that gets called by Rf_playDisplayList. Removing
>>>>> the offending line stops the segfaulting, seemingly with no ill
>>>>> effects.
>>>>>
>>>>> I'...
2019 Apr 27
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...t;> The culprit seems to be
>>
>> R_ProcessEvents((void*) NULL)
>>
>> in newX11DeviceDriver
>>
>> This gets called *before* this stuff at the end of Rf_addX11Device
>>
>> dd = GEcreateDevDesc(dev);
>> addDevice((DevDesc*) dd);
>> initDisplayList((DevDesc*) dd);
>>
>> and it is that "dd" that gets called by Rf_playDisplayList. Removing
>> the offending line stops the segfaulting, seemingly with no ill
>> effects.
>>
>> I'm not really sure what the use of that line ever was; it might be
>...
2019 May 02
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...s((void*) NULL)
>>>>
>>>> in newX11DeviceDriver
>>>>
>>>> This gets called *before* this stuff at the end of Rf_addX11Device
>>>>
>>>> dd = GEcreateDevDesc(dev);
>>>> addDevice((DevDesc*) dd);
>>>> initDisplayList((DevDesc*) dd);
>>>>
>>>> and it is that "dd" that gets called by Rf_playDisplayList. Removing
>>>> the offending line stops the segfaulting, seemingly with no ill
>>>> effects.
>>>>
>>>> I'm not really sure wha...