pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4
The following reply was made to PR pkg/60059; it has been noted by GNATS.
From: Ramiro Aceves <ea1abz%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4
Date: Wed, 11 Mar 2026 14:14:50 +0100
El 11/3/26 a las 14:10, Ramiro Aceves escribió:
>
>
> El 11/3/26 a las 11:05, Ramiro Aceves via gnats escribió:
>> The following reply was made to PR pkg/60059; it has been noted by GNATS.
>>
>> From: Ramiro Aceves <ea1abz%gmail.com@localhost>
>> To: gnats-bugs%netbsd.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
>> Â pkgsrc-bugs%netbsd.org@localhost
>> Cc:
>> Subject: Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4
>> Date: Wed, 11 Mar 2026 11:03:20 +0100
>>
>>  El 11/3/26 a las 11:00, Ramiro Aceves via gnats escribió:
>> Â > The following reply was made to PR pkg/60059; it has been noted by GNATS.
>> Â >
>> Â > From: Ramiro Aceves <ea1abz%gmail.com@localhost>
>> Â > To: gnats-bugs%netbsd.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
>> Â >Â Â pkgsrc-bugs%netbsd.org@localhost
>> Â > Cc:
>> Â > Subject: Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4
>> Â > Date: Wed, 11 Mar 2026 10:57:24 +0100
>> Â >
>> Â >Â Â >Â Â Hello Dave,
>> Â >Â Â >
>> Â >Â Â >Â Â Thanks for the information. It compiles fine now!
>> Â >Â Â >
>> Â >Â Â >Â Â => Automatic manual page handling
>> Â >Â Â >Â Â => Generating post-install file lists
>> Â >Â Â >Â Â => Checking file-check results for gnumeric-1.12.60
>> Â >Â Â >Â Â => Creating binary package /usr/pkgsrc/math/gnumeric112/work/.packages/gnumeric-1.12.60.tgz
>> Â >Â Â >Â Â ===> Building binary package for gnumeric-1.12.60
>> Â >Â Â >Â Â => Creating binary package /usr/pkgsrc/packages/All/gnumeric-1.12.60.tgz
>> Â >Â Â >Â Â ===> Installing binary package of gnumeric-1.12.60
>>  >  >        1450,92 real     2217,79 user      433,18 sys
>> Â >Â Â >Â Â netbsd-raspa4#
>> Â >Â Â >
>> Â >Â Â >Â Â But it segfaults the same:
>> Â >Â Â >
>> Â >Â Â >Â Â netbsd-raspa4$ gnumeric
>> Â >Â Â >
>>  >  >  (gnumeric:28722): GVFS-RemoteVolumeMonitor-WARNING **: 22:12:15.345: cannot open directory /usr/pkg/share/gvfs/remote-volume-monitors: Falló al abrir
>>  >  >  la carpeta «/usr/pkg/share/gvfs/remote-volume-monitors»: No such file or directory
>>  >  >  [1]  Segmentation fault     gnumeric
>> Â >Â Â >Â Â netbsd-raspa4$
>> Â >Â Â >
>> Â >Â Â >Â Â In amd64 it works fine.
>> Â >Â Â >
>> Â >Â Â >Â Â Regards.
>> Â >Â Â >Â Â Ramiro.
>> Â >Â Â >
>> Â >
>> Â >Â Â Hi, I have compiled math/gnumeric112 and misc/goffice0.10 with debugging symbols just in case it gives some clues to the programming experts.
>> Â >Â Â Regards.
>> Â >
>> Â >
>> Â >Â Â netbsd-raspa4$ gdb /usr/pkg/bin/gnumeric
>> Â >Â Â GNU gdb (GDB) 11.0.50.20200914-git
>> Â >Â Â Copyright (C) 2020 Free Software Foundation, Inc.
>> Â >Â Â License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>> Â >Â Â This is free software: you are free to change and redistribute it.
>> Â >Â Â There is NO WARRANTY, to the extent permitted by law.
>> Â >Â Â Type "show copying" and "show warranty" for details.
>> Â >Â Â This GDB was configured as "aarch64--netbsd".
>> Â >Â Â Type "show configuration" for configuration details.
>> Â >Â Â For bug reporting instructions, please see:
>> Â >Â Â <https://www.gnu.org/software/gdb/bugs/>.
>> Â >Â Â Find the GDB manual and other documentation resources online at:
>> Â >Â Â Â Â Â Â Â <http://www.gnu.org/software/gdb/documentation/>.
>> Â >
>> Â >Â Â For help, type "help".
>> Â >Â Â Type "apropos word" to search for commands related to "word"...
>> Â >Â Â Reading symbols from /usr/pkg/bin/gnumeric...
>> Â >Â Â (gdb) run
>> Â >Â Â Starting program: /usr/pkg/bin/gnumeric
>> Â >Â Â [New LWP 18863 of process 2372]
>> Â >Â Â [New LWP 12759 of process 2372]
>> Â >Â Â [New LWP 11072 of process 2372]
>> Â >Â Â [New LWP 6829 of process 2372]
>> Â >
>>  >  (gnumeric:2372): GVFS-RemoteVolumeMonitor-WARNING **: 10:49:34.530: cannot open directory /usr/pkg/share/gvfs/remote-volume-monitors: Falló al abrir la carpeta
>>  >  «/usr/pkg/share/gvfs/remote-volume-monitors»: No such file or directory
>> Â >Â Â [New LWP 15933 of process 2372]
>> Â >
>> Â >Â Â Thread 1 "" received signal SIGSEGV, Segmentation fault.
>> Â >Â Â 0x0000f9130f4ca13c in fmt_fp (f=f@entry=0xf913089f6840, y=inf, y@entry=0, w=w@entry=1, p=<optimized out>,
>> Â >Â Â Â Â Â Â Â p@entry=0, fl=fl@entry=536870918, t=t@entry=70) at math/go-dtoa.c:248
>> Â >Â Â 248Â Â Â Â Â Â Â Â Â Â Â *z = y;
>> Â >Â Â (gdb) bt
>> Â >Â Â #0Â 0x0000f9130f4ca13c in fmt_fp (f=f@entry=0xf913089f6840, y=inf, y@entry=0, w=w@entry=1,
>> Â >Â Â Â Â Â Â Â p=<optimized out>, p@entry=0, fl=fl@entry=536870918, t=t@entry=70) at math/go-dtoa.c:248
>> Â >Â Â #1Â 0x0000f9130f4cb420 in fmt_shortest (fltyp=<optimized out>, t=70, fl=536870918, d=0xffffffe3d3f0,
>> Â >Â Â Â Â Â Â Â dst=0xf913089f6840) at math/go-dtoa.c:592
>> Â >Â Â #2Â go_dtoa (dst=0xf913089f6840, fmt=<optimized out>) at math/go-dtoa.c:700
>> Â >Â Â #3Â 0x0000000000000000 in ?? ()
>> Â >Â Â Backtrace stopped: previous frame identical to this frame (corrupt stack?)
>> Â >Â Â (gdb)
>> Â >
>> Â 240Â Â Â Â Â Â Â if (p<0) p=6;
>> Â 241
>> Â 242Â Â Â Â Â Â Â if (y) y *= 0x1p28, e2-=28;
>> Â 243
>> Â 244Â Â Â Â Â Â Â if (e2<0) a=r=z=big;
>> Â (gdb) list
>> Â 245Â Â Â Â Â Â Â else a=r=z=big+sizeof(big)/sizeof(*big) - LDBL_MANT_DIG - 1;
>> Â 246
>> Â 247Â Â Â Â Â Â Â do {
>> Â 248Â Â Â Â Â Â Â Â Â Â Â *z = y;
>> Â 249Â Â Â Â Â Â Â Â Â Â Â y = 1000000000*(y-*z++);
>> Â 250Â Â Â Â Â Â Â } while (y);
>> Â 251
>> Â 252Â Â Â Â Â Â Â while (e2>0) {
>> Â 253Â Â Â Â Â Â Â Â Â Â Â uint32_t carry=0;
>> Â 254Â Â Â Â Â Â Â Â Â Â Â int sh=MIN(29,e2);
>> Â (gdb) list
>> Â 255Â Â Â Â Â Â Â Â Â Â Â for (d=z-1; d>=a; d--) {
>> Â 256Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â uint64_t x = ((uint64_t)*d<<sh)+carry;
>> Â 257Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â *d = x % 1000000000;
>> Â 258Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â carry = x / 1000000000;
>> Â 259Â Â Â Â Â Â Â Â Â Â Â }
>> Â 260Â Â Â Â Â Â Â Â Â Â Â if (carry) *--a = carry;
>> Â 261Â Â Â Â Â Â Â Â Â Â Â while (z>a && !z[-1]) z--;
>> Â 262Â Â Â Â Â Â Â Â Â Â Â e2-=sh;
>> Â 263Â Â Â Â Â Â Â }
>> Â 264Â Â Â Â Â Â Â while (e2<0) {
>> Â (gdb)
>
> Hi,
>
> Changing from "long double" to "double" inside
>
> fmt-fp function in the file
>
>
>
> /usr/pkgsrc/misc/goffice0.10/work/goffice-0.10.60/goffice/math
> fixes de crash.
>
> I do not know how to properly fix it only for aarch64 and if it is a proper fix.
>
> Regards.
>
>
Sorry, the file is /usr/pkgsrc/misc/goffice0.10/work/goffice-0.10.60/goffice/math/go-dtoa.c
> Hi,
>
> Changing from "long double" to "double" inside
>
> fmt-fp function in the file
>
>
>
> /usr/pkgsrc/misc/goffice0.10/work/goffice-0.10.60/goffice/math
> fixes de crash.
>
> I do not know how to properly fix it only for aarch64 and if it is a proper fix.
>
> Regards.
>
>
Home |
Main Index |
Thread Index |
Old Index