From: "Paul Smedley" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 11217502 for ecs-isp@2rosenthals.com; Sun, 17 Nov 2024 01:29:49 -0500 Received: from [192.168.200.201] (port=55335 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1tCYmy-000000002UU-17Mf for ecs-isp@2rosenthals.com; Sun, 17 Nov 2024 01:29:40 -0500 Received: from vps.smedley.id.au ([142.171.106.2]:48792) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1tCYmq-000000000NC-09k2 for ecs-isp@2rosenthals.com; Sun, 17 Nov 2024 01:29:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=smedley.id.au; s=default; t=1731824971; bh=yuT0Mzs9ywpsM95oapS1a6IsWWhZjo7TrsUwZ8wSRS8=; h=Date:Subject:From:To:References:In-Reply-To:From; b=lbNlBh8VFSwHCPz9kOyTEy86SLvJVrP+DtPcZP0k5x/NgYhWCO0wcqtturQSsjV7q EaJt/H/3SHOMQ0J780I1InhIRojWzyIwwyH06dT2zXLihP/uye6XeGk493bceDeugj PF+JElnDz3l6yTC2wvA2/NuXWwIYgtIeZL+11JeYu7n7a1UA0XxN19MUeEaQwheyOz cA8AQrnR6gT/OydzB5anDJ6R/0YlWBX1wLZ+BuNgl6zZgmkXAM7swfuF3gdYyv/RcI FFAZQCkR/pXQdMO+VDnRhtPxfKM1zdp+BrHWbLB5eYnBRc40RjAlV7YYcp2GpC/l2L tkXIdG7C51A/g== Received: from [IPV6:2400:a848:4041:0:cfb3:264:5bc0:8d7] (unknown [IPv6:2400:a848:4041:0:cfb3:264:5bc0:8d7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by vps.smedley.id.au (Postfix) with ESMTPSA id 03C7F202A2 for ; Sun, 17 Nov 2024 16:59:30 +1030 (ACDT) Message-ID: <3db14ab2-f7db-43e8-af67-3911f93eab60@smedley.id.au> Date: Sun, 17 Nov 2024 16:59:28 +1030 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [eCS-ISP] Updating bind To: eCS ISP Mailing List References: <873befb3-adc4-4fac-97f4-ec81c7f46c74@smedley.id.au> Content-Language: en-US In-Reply-To: <873befb3-adc4-4fac-97f4-ec81c7f46c74@smedley.id.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 , on 10/22/24 >>>     at 07:07 PM, "Paul Smedley" 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.... >> >>> 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