From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4891 invoked from network); 3 Jan 2024 17:20:56 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 3 Jan 2024 17:20:56 -0000 Received: (qmail 21829 invoked by uid 550); 3 Jan 2024 17:19:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 21793 invoked from network); 3 Jan 2024 17:19:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704302441; x=1704907241; darn=lists.openwall.com; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZlvVwJKjS1IqsH3B0oxyxkNfO+hewJJDOssR4ARJHUI=; b=GFfRBc+5UHJgryaW1BA38byxDmdPQ3rLoVgXwHzBRWSYNWN8RJxBgjjwGYuDgxuNKe GQDr7Ziw9oHDlWfOb8/lT01UU8z6EYStQaoG4D9ZKnr1EChcJWmiAZKPorZdUrAvaEM0 W0m2oaG8Nq9RESc/UlH92hWm6HUnZbPkXuPilO3/z2Mm99EOlCSR1NAx6UjsGpLueWaY m1uBcnAc4oyp5DP8Ca3u7xG68yAd93KV/zMxCMRU5IyjyViJVJKvXGD/VZB7gyZuB/li NoBTqovI+UZqrzrN2hEuTfkX/uwvPN8c16gE1/fl17VwHRh6k5thfFhK0oyBtTGNede1 8ciA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704302441; x=1704907241; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZlvVwJKjS1IqsH3B0oxyxkNfO+hewJJDOssR4ARJHUI=; b=QGmAYMyCIPXmAevdVg1DROyzLRBHdCbYn7HW0+56Ntx6X0njsW82GF5F378IinNrOK UmVwh4lghAZNApdd9ffzLQChzV53gKoiJJwoajPG+7ZNjf/7iGBfnDdyOzB1t4gZLlHb WS/n0F+Lv9xs1L5Gxfany5ckKItSCwf82fCAvEpqSem/n3QaEK7zIG2vNLH6DsY0+jp/ Y++6mofoaiWZI55tghDJRQnDj10CHTVJogOQ79BUE5gMmS1Q11WaTvB6r5KxdwhuFnV6 CSUWkjPCNtSgolj0tIcMsbRBwuCpsoN9Y/eIaOD4npwEiBuLNkQ2OeAc+yhbMy5F2veO BwwQ== X-Gm-Message-State: AOJu0Ywx1Eq7m8qDNZEs/P4eVCsCL2oWeRBgGT0la8ybfKU2eSxik8WK QuaL2OXWskNrvZEjKs1VeeLvSTCdZwZiq2flfYE= X-Google-Smtp-Source: AGHT+IHD/kZTIxVOJrOLxdbCvd9YOVe3P6AV+T/dnQQ97xJy3J2bhMlig5bnsuVsE93snfPwOkEi6cW+I+ETLLHdGKw= X-Received: by 2002:a0d:e851:0:b0:5d7:1941:3557 with SMTP id r78-20020a0de851000000b005d719413557mr12268958ywe.62.1704302440982; Wed, 03 Jan 2024 09:20:40 -0800 (PST) MIME-Version: 1.0 References: <20231221222513.799557a1@ncopa-desktop.lan> In-Reply-To: From: Cody Wetzel Date: Wed, 3 Jan 2024 11:20:29 -0600 Message-ID: To: Natanael Copa Cc: musl@lists.openwall.com, Markus Wichmann Content-Type: multipart/alternative; boundary="00000000000095aa90060e0dd565" Subject: Re: [musl] Segmentation fault musl 1.2.4 --00000000000095aa90060e0dd565 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello musl team, I tried getting a core dump but I'm not sure if I'm doing something wrong..= . / # cat /proc/sys/kernel/core_pattern/tmp/core-%e-%s-%u-%g-%p-%t/ # apk upgrade busybox --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/main --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/communityfetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/armv7/APKINDEX.tar.gz= fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/armv7/APKINDEX.tar.gzfetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armv7/APKINDEX.tar.gzfetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armv7/APKINDEX.tar.gz= (1/3) Upgrading busybox (1.35.0-r29 -> 1.36.1-r5)Executing busybox-1.36.1-r5.post-upgrade(2/3) Upgrading busybox-binsh (1.35.0-r29 -> 1.36.1-r5)(3/3) Upgrading ssl_client (1.35.0-r29 -> 1.36.1-r5)Executing busybox-1.36.1-r5.triggerOK: 5 MiB in 15 packages/ # apk upgrade musl --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/main --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/community(1/1) Upgrading musl (1.2.3-r5 -> 1.2.4-r2)OK: 5 MiB in 15 packages/ # apk upgrade rust --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/mai= n --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/communitySegment= ation fault/ # apk -hSegmentation fault/ # ls /tmp/core*Segmentation fault/ # cd /tmp/tmp # lsSegmentation fault > > Thanks! Cody On Thu, Dec 21, 2023 at 3:57=E2=80=AFPM Cody Wetzel = wrote: > I am able to run: > > # apk upgrade busybox --repository=3D > https://dl-cdn.alpinelinux.org/alpine/v3.18/main --repository=3D > https://dl-cd > n.alpinelinux.org/alpine/v3.18/community > > and not create a segmentation fault on Alpine 3.17 > > I will be on Christmas vacation for the next week but when I get back I > can try to get additional details. > > Thanks! > > Cody > > On Thu, Dec 21, 2023 at 3:25=E2=80=AFPM Natanael Copa > wrote: > >> On Thu, 21 Dec 2023 12:39:35 -0600 >> Cody Wetzel wrote: >> >> > Markus, >> > >> > No kidding. I've been dealing with issues running Home Assistant for >> quite >> > some time thanks to this page size change. Since I'm not the most wel= l >> > versed in Linux I will need to look into how to get logs. I do have a >> > Github issue you can look at for more details in the meantime. >> > >> > https://github.com/home-assistant/core/issues/86589 >> >> Those issues will keep popping up til we fix them, and to fix them we >> will need to know exactly what to fix, a backtrace may help with that. >> Alternatively we'd need a simple way to reproduce the issue. >> >> I found this following the above issue: >> https://gitlab.alpinelinux.org/alpine/aports/-/issues/15167 >> This issue looks more like a problem in busybox than musl. >> >> -nc >> >> >> > Note that I think there is an issue in rustc also. >> > >> > Thanks! >> > >> > Cody >> > >> > On Thu, Dec 21, 2023 at 1:57*AM Markus Wichmann >> > wrote: >> > >> > > Am Wed, Dec 20, 2023 at 03:53:38PM -0600 schrieb Cody Wetzel: >> > > > Hello, >> > > > >> > > > I am running into a segmentation fault on musl 1.2.4 on my QNAP >> > > > NAS. >> > > QNAP >> > > > updated the pagesize to 32k and I believe musl isn't handling it >> > > > gracefully. musl 1.2.3 does not have this problem. >> > > > >> > > > >> > > >> https://www.qnap.com/da-dk/how-to/faq/article/why-do-the-installed-third= -party-containers-not-run-successfully-on-specific-32-bit-arm-devices >> > > >> > > > >> > > > Please CC me. >> > > > >> > > > -- >> > > > Cody Wetzel >> > > > codyawetzel@gmail.com >> > > > (402)490-9242 >> > > >> > > Gonna try my luck since Rich apparently had none: Please procure >> > > some data from the crash, such as a core dump or a backtrace. >> > > Without any indication of what is going on, there is no telling >> > > whether the issue you are experiencing even is in musl, let alone >> > > where it is. >> > > >> > > BTW, the linked website is a hoot and a half. "We made this change >> > > to improve your user experience, but it may cause your applications >> > > to have less memory and also crash. Your only recourse is to 'Verify >> > > compatibility', i.e. sink or swim." >> > > >> > > Ciao, >> > > Markus >> > > >> > >> > >> >> > > -- > Cody Wetzel > codyawetzel@gmail.com > (402)490-9242 > --=20 Cody Wetzel codyawetzel@gmail.com (402)490-9242 --00000000000095aa90060e0dd565 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello musl team,

I tried getting a core= dump but I'm not sure if I'm doing something wrong...
/ # cat /proc/sys/kernel/core_pattern
/tmp/core-%e=
-%s-%u-%g-%p-%t
/ # apk upgr=
ade busybox --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/main --reposit=
ory=3Dhttps://dl-cdn.alpinel=
inux.org/alp
ine/v3.18/co=
mmunity
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/armv7/APKINDEX=
.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armv7/APKINDEX=
.tar.gz
(1/3) Upgrad=
ing busybox (1.35.0-r29 -> 1.36.1-r5)
Executing b=
usybox-1.36.1-r5.post-upgrade
(2/3) Upgra=
ding busybox-binsh (1.35.0-r29 -> 1.36.1-r5)
(3/3) Upgra=
ding ssl_client (1.35.0-r29 -> 1.36.1-r5)
Executing b=
usybox-1.36.1-r5.trigger
OK: 5 MiB i=
n 15 packages
/ # apk upg=
rade musl --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/main --repositor=
y=3Dhttps://dl-cdn.alpine=
linux.org/alpine
/v3.18/comm=
unity
(1/1) Upgra=
ding musl (1.2.3-r5 -> 1.2.4-r2)
OK: 5 MiB i=
n 15 packages
/ # apk upg=
rade rust --repository=3Dhttps://dl-cdn.alpinelinux.org/alpine/v3.18/main --repositor=
y=3Dhttps://dl-cdn.alpine=
linux.org/alpine
/v3.18/comm=
unity
Segmentatio=
n fault
/ # apk -h<=
/span>
Segmentatio=
n fault
/ # ls /tmp=
/core*
Segmentatio=
n fault
/ # cd /tmp=

/tmp # ls
Segmentatio=
n fault

Thanks!

=
Cody=C2=A0

On Thu, Dec 21, 2023 at 3:57=E2=80=AFPM Cody Wet= zel <codyawetzel@gmail.com&= gt; wrote:
I am able to run:


and n= ot create a segmentation fault on Alpine 3.17

I will be on=C2=A0Christmas=C2=A0vacation for the next week but when I ge= t back I can try to get additional details.=C2=A0=C2=A0

Thanks!

Cody

On Thu, Dec 21, 2023 at 3:= 25=E2=80=AFPM Natanael Copa <ncopa@alpinelinux.org> wrote:
On Thu, 21 Dec 2023 12:39:35 -0600
Cody Wetzel <= codyawetzel@gmail.com> wrote:

> Markus,
>
> No kidding.=C2=A0 I've been dealing with issues running Home Assis= tant for quite
> some time thanks to this page size change.=C2=A0 Since I'm not the= most well
> versed in Linux I will need to look into how to get logs.=C2=A0 I do h= ave a
> Github issue you can look at for more details in the meantime.
>
> https://github.com/home-assistant/core/issue= s/86589

Those issues will keep popping up til we fix them, and to fix them we
will need to know exactly what to fix, a backtrace may help with that.
Alternatively we'd need a simple way to reproduce the issue.

I found this following the above issue:
https://gitlab.alpinelinux.org/alpine/apo= rts/-/issues/15167
This issue looks more like a problem in busybox than musl.

-nc


> Note that I think there is an issue in rustc also.
>
> Thanks!
>
> Cody
>
> On Thu, Dec 21, 2023 at 1:57*AM Markus Wichmann <nullplan@gmx.net>
> wrote:
>
> > Am Wed, Dec 20, 2023 at 03:53:38PM -0600 schrieb Cody Wetzel:=C2= =A0
> > > Hello,
> > >
> > > I am running into a segmentation fault on musl 1.2.4 on my Q= NAP
> > > NAS.=C2=A0
> > QNAP=C2=A0
> > > updated the pagesize to 32k and I believe musl isn't han= dling it
> > > gracefully.=C2=A0 musl 1.2.3 does not have this problem.
> > >
> > >=C2=A0
> > https://www.qnap.com/da-= dk/how-to/faq/article/why-do-the-installed-third-party-containers-not-run-s= uccessfully-on-specific-32-bit-arm-devices
> >=C2=A0
> > >
> > > Please CC me.
> > >
> > > --
> > > Cody Wetzel
> > > c= odyawetzel@gmail.com
> > > (402)490-9242=C2=A0
> >
> > Gonna try my luck since Rich apparently had none: Please procure<= br> > > some data from the crash, such as a core dump or a backtrace.
> > Without any indication of what is going on, there is no telling > > whether the issue you are experiencing even is in musl, let alone=
> > where it is.
> >
> > BTW, the linked website is a hoot and a half. "We made this = change
> > to improve your user experience, but it may cause your applicatio= ns
> > to have less memory and also crash. Your only recourse is to '= ;Verify
> > compatibility', i.e. sink or swim."
> >
> > Ciao,
> > Markus
> >=C2=A0
>
>



--
Co= dy Wetzel
cod= yawetzel@gmail.com
(402)490-9242


--
Co= dy Wetzel
cod= yawetzel@gmail.com
(402)490-9242
--00000000000095aa90060e0dd565--