| 24 Nov 2023 |
yannis | I hope so, we are working on it at least | 11:22:32 |
l-88 | cool let me know. Thank you. :-) | 11:23:05 |
yannis | Yureka (she/her): can you try gdb firefox, run, bt? | 11:24:31 |
@yuka:yuka.dev |
[yuka@m1:~]$ firefox --safe-mode
Segmentation fault (core dumped)
[yuka@m1:~]$ firefox --ProfileManager
Segmentation fault (core dumped)
[yuka@m1:~]$
| 11:26:22 |
@yuka:yuka.dev | [yuka@m1:~]$ gdb /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/bin/.firefox-wrapped
GNU gdb (GDB) 13.2
Copyright (C) 2023 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-unknown-linux-gnu".
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 /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/bin/.firefox-wrapped...
(No debugging symbols found in /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/bin/.firefox-wrapped)
(gdb) run
Starting program: /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/bin/.firefox-wrapped
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/cv8mfy5wdfwfw4iwhdlkl4ddy8apl667-glibc-2.38-27/lib/libthread_db.so.1".
[New Thread 0xfffff77ff140 (LWP 129058)]
[Thread 0xfffff77ff140 (LWP 129058) exited]
[Detaching after fork from child process 129059]
[New Thread 0xfffff77ff140 (LWP 129072)]
[New Thread 0xffffeabff140 (LWP 129073)]
[New Thread 0xffffea3ef140 (LWP 129074)]
[New Thread 0xffffe9bdf140 (LWP 129075)]
[New Thread 0xffffe93cf140 (LWP 129076)]
[Detaching after vfork from child process 129077]
[New Thread 0xffffe91bf140 (LWP 129078)]
[New Thread 0xffffe49ff140 (LWP 129079)]
[New Thread 0xffffe49af140 (LWP 129080)]
[New Thread 0xffffe495f140 (LWP 129081)]
[New Thread 0xffffe490f140 (LWP 129082)]
[New Thread 0xffffe48bf140 (LWP 129083)]
[New Thread 0xffffe486f140 (LWP 129084)]
Thread 1 ".firefox-wrappe" received signal SIGSEGV, Segmentation fault.
0x0000aaaaaaad0398 in SetPHCState ()
(gdb) bt
#0 0x0000aaaaaaad0398 in SetPHCState ()
#1 0x0000ffffef48db5c in mozilla::InitPHCState() () from /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/lib/firefox/libxul.so
#2 0x0000ffffef534ecc in NS_InitXPCOM () from /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/lib/firefox/libxul.so
#3 0x0000fffff2910cbc in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) ()
from /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/lib/firefox/libxul.so
#4 0x0000fffff2911ab0 in XRE_main(int, char**, mozilla::BootstrapConfig const&) ()
from /nix/store/w8sb6xnnxsav7gdfzn2ay7wlw11z1aax-firefox-120.0/lib/firefox/libxul.so
#5 0x0000aaaaaaac9bfc in main ()
(gdb)
| 11:26:26 |
yannis | Thanks, this one is a different issue indeed, I'll report to the person working on PHC | 11:27:48 |
@yuka:yuka.dev | thanks! | 11:27:59 |
yannis | It looks similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1866025 , are you using a custom page file size maybe? | 11:29:31 |
yannis | * It looks similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1866025 , are you using a custom page size maybe? | 11:29:38 |
@yuka:yuka.dev | my host kernel has a 16K page size | 11:29:47 |
yannis | OK so it's this bug indeed | 11:29:56 |
nbp | As far as I know, this: nix run nixpkgs/8f1180704ac3#firefox should be the version that is reporting errors. | 11:30:48 |
nbp | * As far as I know, this: nix run nixpkgs/8f1180704ac3#firefox should be the version that is reporting errors. (or one of the versions) | 11:31:07 |
yannis | This one should get fixed soon in 120.0.1 Yureka (she/her) | 11:31:35 |
yannis | * This bug is already fixed in tree and should reach users soon with 120.0.1 Yureka (she/her) | 11:32:20 |
yannis | * This bug is already fixed in tree and the fix should reach users soon with 120.0.1 Yureka (she/her) | 11:32:44 |
yannis | * This bug (the one about 16K page size) is already fixed in tree and the fix should reach users soon with 120.0.1 Yureka (she/her) | 11:35:05 |
l-88 | what is the wrapped firefox version ? | 11:41:15 |
| 9hp71n joined the room. | 11:55:42 |
nbp | https://github.com/NixOS/nixpkgs/commit/8f1180704ac3 <-- the matching commit, not sure this is the revision which introduced the issue. | 12:04:19 |
nbp | * https://github.com/NixOS/nixpkgs/commit/8f1180704ac3 <-- the matching commit, not sure this is the revision which introduced the issue. (This is likely to be unrelated) | 12:05:26 |
nbp | As a temporary work-around firefox-bin does not have the problem, only firefox | 12:10:05 |
l-88 | yeah. I was wondering if it wouldn't be better to use this package eventually. Is there any advantage to using firefox instead firefox-bin ? | 12:27:18 |
yannis | If someone knows well what decides how NixOS links with libstdc++ please read https://github.com/NixOS/nixpkgs/issues/269571#issuecomment-1825621198 | 12:43:34 |
yannis | * If someone knows well what decides how NixOS builds link with libstdc++ please read https://github.com/NixOS/nixpkgs/issues/269571#issuecomment-1825621198 | 12:43:48 |
hexa | l-88: what nixos version are you on btw? | 12:56:24 |
hexa | ah yeah, seems to be limited to 23.05 | 12:58:13 |
hexa | hm | 12:58:14 |
l-88 | yes 23.05 | 13:00:54 |
hexa | In reply to @yannis:mozilla.org If someone knows well what decides how NixOS builds link with libstdc++ please read https://github.com/NixOS/nixpkgs/issues/269571#issuecomment-1825621198 reposted to #stdenv:nixos.org | 13:06:47 |