List ecs-isp@2rosenthals.com Arkiverade meddelande #1028

Från: "Paul Smedley" <ecs-isp@2rosenthals.com> Meddelandehuvud
Oavkodat meddelande
Ämne: Re: [eCS-ISP] Updating bind
Datum: Sun, 17 Nov 2024 16:59:28 +1030
Till: eCS ISP Mailing List <ecs-isp@2rosenthals.com>


On 17/11/24 16:43, Paul Smedley wrote:
Me again,

On 17/11/24 09:53, Paul Smedley wrote:
Hi guys,

On 23/10/24 11:05, Steven Levine wrote:
In <list-11130186@2rosenthals.com>, on 10/22/24
    at 07:07 PM, "Paul Smedley" <ecs-isp@2rosenthals.com> said:

Hi Paul,

It's crashing here:
https://github.com/isc-projects/bind9/blob/bind-9.18/lib/isc/trampoline.c#L112 Not sure why yet....
<snip>
Since this happens on startup, it might be easier to let the debugger show
you the trapping code.

Well after a few weeks away from anything OS/2 related (I've been setting up a VPS running Ubuntu Server to host my email domain, and migrating services), I finally got around to uploading the current WIP bind 9.18.x sources to github at https://github.com/psmedley/bind-os2/tree/bind-9.18.x-ESV

There are still some patches to migrate from 9.11 and also some hacks to remove (like https://github.com/psmedley/bind-os2/commit/821049d39dbf68505e7d8ca0172ce74c762e481d#diff-ee14189841165d8087a6cec21fcf76374453349c7f90d8011b63942e9f45f99d) but at least the code is easier to manage now :)

OK I figured out the cause of the trampoline trap - isc__initialize(); isn't getting called (which in turn calls isc__trampoline_initialize) - perhaps as I'm building with static linking.

If I hack dig.c to call isc__initialize() then I get further....

https://github.com/psmedley/bind-os2/commit/2f84a6939a2f6ddaff3c887b595d430bdc909289 hacks around this, dig.exe then fails with:

;; Warning: ID mismatch: expected ID 56049, got 0
;; Warning: query response not set
netmgr/netmgr.c:1662: REQUIRE(buf->base == worker->recvbuf) failed.

I know komh has some additional patches for libuv for issues with sendmsg/recvmsg - I may have to try them.

Cheers,

Paul


Prenumerera: Sändning, Uppsamling, Index.
Stoppa prenumeration
Meddelande till ListMaster