Firefox to launch
Crashes instantly with "Speicherzugriffsfehler" (segfault)
Launch firefox
https://gist.github.com/Anachron/cd8c7a05b2eaa1a36cc866f15e46a958
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.
Most helpful comment
Firefox has a runtime check if the
sqlitelibrary 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-replicationwas a different version thansqlitetherefore the check failed and firefox calledMOZ_CRASH