Void-packages: Firefox 72 segfaults

Created on 10 Jan 2020  路  20Comments  路  Source: void-linux/void-packages

System

  • xuname:
    Void 5.4.10_1 x86_64 GenuineIntel notuptodate rrrmDFFFFF
  • package:
    firefox-72.0.1_1

Expected behavior

Firefox to launch

Actual behavior

Crashes instantly with "Speicherzugriffsfehler" (segfault)

Steps to reproduce the behavior

Launch firefox

STRACE

https://gist.github.com/Anachron/cd8c7a05b2eaa1a36cc866f15e46a958

Most helpful comment

Firefox has a runtime check if the sqlite library that is in use is the exact same version as the one it was compiled against. ( https://hg.mozilla.org/mozilla-central/file/tip/storage/mozStorageService.cpp#l209 ). sqlite-replication was a different version than sqlite therefore the check failed and firefox called MOZ_CRASH

All 20 comments

No output other than "Speicherzugriffsfehler".

I had the same issue but it went away after updating the rest of the system. I don't know the underlying cause, unfortunately.

This is also happening for me.

Any ideas? This is super annoying. Mine has not gone away after updating.

No one provided any useful logs or backtraces with firefox-dbg.

You both have sqlite-replication installed?

@Johnnynator

$ sudo xbps-query -Rs sqlite-replication
[*] sqlite-replication-3.29.0_2             Replication Enabled SQL Database Engine in a C Library

@Duncaen Sorry I haven't heard of firefox-dbg and I don't see it in the repos.

Should be "fixed" with 74e013276dad78b4870ddec031aa843fff8e6b0e

@xtraeme Thanks, but its just habit

As a user I xbps-install much more often than I xbps-query, sudo and xbps is just kind of muscle memory for me.

Firefox has a runtime check if the sqlite library that is in use is the exact same version as the one it was compiled against. ( https://hg.mozilla.org/mozilla-central/file/tip/storage/mozStorageService.cpp#l209 ). sqlite-replication was a different version than sqlite therefore the check failed and firefox called MOZ_CRASH

Firefox works again after updating to the newest sqlite thank you for being a hero. @Johnnynator

Please make make a note to always update sqllite with firefox.

Please make sure to supply backtraces whenever you report an issue from now on.

I've rephrased my sentence.

You don't understand the issue, even if you rephrase it more politely its wrong.

The issue here was a missing backtrace as not everybody was able to reproduce it and now Johnny found the issue meanwhile because I have no clue how to make a backtrace or use the mozilla debugger and had no time yet to get into it.

The issue here was a missing backtrace as not everybody was able to reproduce it and now Johnny found the issue meanwhile because I have no clue how to make a backtrace or use the mozilla debugger and had no time yet to get into it.

Smth like this can be done to get a backtrace, output will be in bt.log. The issue was quite obvious after looking at the backtrace for this, since it pointed to MOZ_CRASH("SQLite Version Error");, it would have been faster if someone had provided a backtrace before me.

# xbps-install -S void-repo-debug
# xbps-install -S firefox-dbg gdb
$ gdb firefox
(gdb) run
(gdb) set logging file bt.log
(gdb) set logging on
(gdb) bt full
(gdb) quit

Did not know about the debug repo, thanks for sharing.

This is fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emacsomancer picture emacsomancer  路  5Comments

RandomUnknown picture RandomUnknown  路  4Comments

Vaelatern picture Vaelatern  路  6Comments

luzpaz picture luzpaz  路  3Comments

sburris0 picture sburris0  路  4Comments