Re: dosemu-1.4.0-11.2053svn on Fedora 15 x86 won't start

Bart Oldeman
2011-10-04T02:12:21Z

On 3 October 2011 21:36, Frantisek Hanzlik wrote:
> Bart Oldeman wrote:
>> Lars Bjørndal wrote:
>>> It's not created. Nor is there any output in the .dosemu/run directory.
>>
>> I think I fixed the problem in SVN 2058. It's up to Justin Zygmont now
>> to produce new RPMFusion binaries.
>>
>> Bart
>
> SVN 2058 works for me. But, maybe it is curious, as I wrote before,
> self-compiled svn 2055 and 2053 are working for me too. And when I
> was now installed dosemu-1.4.0-11.2053svn.fc15.i686.rpm from rpmfusion,
> it hangs as Lars was describing.

This is normal: dosemu uses some attribute((constructor)) functions
that get called before main. The order isn't known (for newer GCCs you
can set priorities but they are not used). Somehow the RPMFusion build
ended up with an order that triggered the bug (that has, in principle
been present in dosemu for many years), a linked-list where an element
referenced itself, and so walking it caused the hang.

Bart