!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

171 Members
A room about a number of weird animals (also known as Mozilla products): Firefox, Thunderbird, Spidermonkey, NSS, cacert. Also a little bit of fun times, small amounts of extreme, when building weird animals. But for bugs please file GitHub issues. | Release Schedule: https://whattrainisitnow.com | Crash-Stats: https://crash-stats.mozilla.org/search/?distribution_id=%3Dnixos&product=Firefox&product=Thunderbird51 Servers

Load older messages


SenderMessageTime
19 Sep 2023
@k900:0upti.meK900 ⚡️Even before the crash handler is set up14:05:05
@nbp:mozilla.orgnbpstrace says anything?14:05:07
@k900:0upti.meK900 ⚡️mprotect(0x7f389129c000, 4096, PROT_READ) = 0 mprotect(0x7f389129c000, 4096, PROT_READ|PROT_WRITE) = 0 mprotect(0x7f389129c000, 4096, PROT_READ) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1ed40} ---14:05:14
@k900:0upti.meK900 ⚡️Looks sus but nothing immediate14:05:20
@nbp:mozilla.orgnbpI know there is a process which checks for GPU support which has been broken since 2/3 releases …14:05:38
@k900:0upti.meK900 ⚡️
#0  0x000000000001ed40 in ?? ()
#1  0x00007f16c2763fae in call_init (env=0x7f16c2023400, argv=0x7ffcba590ae8, argc=1, l=<optimized out>) at dl-init.c:70
#2  call_init (l=<optimized out>, argc=1, argv=0x7ffcba590ae8, env=0x7f16c2023400) at dl-init.c:26
#3  0x00007f16c276409c in _dl_init (main_map=0x7f16c2034e00, argc=1, argv=0x7ffcba590ae8, env=0x7f16c2023400) at dl-init.c:117
#4  0x00007f16c276056e in __GI__dl_catch_exception (exception=exception@entry=0x0, operate=operate@entry=0x7f16c276a810 <call_dl_init>, 
    args=args@entry=0x7ffcba58c450) at dl-catch.c:211
#5  0x00007f16c276a7b6 in dl_open_worker (a=a@entry=0x7ffcba58c5f0) at dl-open.c:808
#6  0x00007f16c27604e1 in __GI__dl_catch_exception (exception=exception@entry=0x7ffcba58c5d0, operate=operate@entry=0x7f16c276a720 <dl_open_worker>, 
    args=args@entry=0x7ffcba58c5f0) at dl-catch.c:237
#7  0x00007f16c276ab4c in _dl_open (
    file=0x7ffcba58d930 "/nix/store/ymhkgr4r99gjy3c3g5z5ylb6qmr2ka63-firefox-bin-119.0a1/usr/lib/firefox-bin-119.0a1/libnspr4.so", 
    mode=<optimized out>, caller_dlopen=0x564423812b84 <InitXPCOMGlue(mozilla::LibLoadingStrategy)+1860>, nsid=<optimized out>, argc=1, 
    argv=0x7ffcba590ae8, env=0x7f16c2023400) at dl-open.c:884
#8  0x00007f16c229bf0c in dlopen_doit (a=a@entry=0x7ffcba58c860) at dlopen.c:56
#9  0x00007f16c27604e1 in __GI__dl_catch_exception (exception=exception@entry=0x7ffcba58c7c0, operate=0x7f16c229beb0 <dlopen_doit>, 
    args=0x7ffcba58c860) at dl-catch.c:237
#10 0x00007f16c2760603 in _dl_catch_error (objname=0x7ffcba58c818, errstring=0x7ffcba58c820, mallocedp=0x7ffcba58c817, operate=<optimized out>, 
    args=<optimized out>) at dl-catch.c:256
#11 0x00007f16c229b9df in _dlerror_run (operate=operate@entry=0x7f16c229beb0 <dlopen_doit>, args=args@entry=0x7ffcba58c860) at dlerror.c:138
#12 0x00007f16c229bfc1 in dlopen_implementation (dl_caller=<optimized out>, mode=<optimized out>, file=<optimized out>) at dlopen.c:71
#13 ___dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:81
#14 0x0000564423812b84 in InitXPCOMGlue(mozilla::LibLoadingStrategy) ()
#15 0x0000564423812191 in main ()
14:06:06
@k900:0upti.meK900 ⚡️That's a spooky backtrace14:06:11
@nbp:mozilla.orgnbpwait what? It fails to open libnspr ? This is supposed to ship with Firefox itself.14:06:49
@k900:0upti.meK900 ⚡️It doesn't fail to open nspr14:07:06
@k900:0upti.meK900 ⚡️ It fails to run the constructor for nspr 14:07:11
@nbp:mozilla.orgnbpgood point.14:07:24
@k900:0upti.meK900 ⚡️nspr itself looks like a normal ELF14:08:38
@k900:0upti.meK900 ⚡️Ish14:08:40
@vcunat:matrix.orgvcunatDon't we pull our nspr into the binaries?14:08:46
@k900:0upti.meK900 ⚡️That's Nightly so we shouldn't14:08:53
@vcunat:matrix.orgvcunat(I'm not really familiar with that flake.)14:09:26
@vcunat:matrix.orgvcunat * (OK, I'm not really familiar with that flake.)14:09:29
@nbp:mozilla.orgnbpif the flake is done like nixpkgs-mozilla, it just replace the source of firefox-bin.14:10:45
@vcunat:matrix.orgvcunat firefox-bin in nixpkgs takes lots of libs including nspr and stuffs it into RPATH. 14:11:57
@vcunat:matrix.orgvcunat * firefox-bin in nixpkgs takes lots of libs including nspr and stuffs them into RPATH. 14:12:11
@vcunat:matrix.orgvcunat * firefox-bin in nixpkgs takes lots of libs including nspr and patchelfs them into RPATH. 14:12:37
@k900:0upti.meK900 ⚡️ @nbp so uh 14:23:28
@k900:0upti.meK900 ⚡️Any idea what "relrhack" is14:23:34
@k900:0upti.meK900 ⚡️https://hg.mozilla.org/mozilla-central/rev/032b87ff55061bcbdc7a85d9e18fde814797073a14:23:35
@k900:0upti.meK900 ⚡️That's the only sus commit I've found14:23:51
@nbp:mozilla.orgnbpelfhack used to be a mechanism to re-order the symbol of the binary such that they appear in the order in which the CPU would read them.14:50:02
@nbp:mozilla.orgnbpIt is possible that patchelf does not like patching binaries produced by elfhack.14:50:59
@nbp:mozilla.orgnbpI do not know what relrhack is.14:51:43
@k900:0upti.meK900 ⚡️And relrhack, seemingly, is a ... reimplementation of elfhack? Maybe?14:51:49
@nbp:mozilla.orgnbp * It is possible that patchelf does not like patching binaries produced by relrhack.14:51:52

Show newer messages


Back to Room ListRoom Version: 9