Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 72 segfaults #18179

Closed
Anachron opened this issue Jan 10, 2020 · 23 comments
Closed

Firefox 72 segfaults #18179

Anachron opened this issue Jan 10, 2020 · 23 comments

Comments

@Anachron
Copy link
Contributor

Anachron commented Jan 10, 2020

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

@Anachron
Copy link
Contributor Author

No output other than "Speicherzugriffsfehler".

@niklasnisbeth
Copy link

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

@qcc-na
Copy link

qcc-na commented Jan 13, 2020

This is also happening for me.

@qcc-na
Copy link

qcc-na commented Jan 14, 2020

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

@Duncaen
Copy link
Member

Duncaen commented Jan 14, 2020

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

@Johnnynator
Copy link
Member

You both have sqlite-replication installed?

@qcc-na
Copy link

qcc-na commented Jan 14, 2020

@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.

@Johnnynator
Copy link
Member

Should be "fixed" with 74e0132

@qcc-na
Copy link

qcc-na commented Jan 14, 2020

@xtraeme Thanks, but its just habit

@qcc-na
Copy link

qcc-na commented Jan 14, 2020

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

@Johnnynator
Copy link
Member

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

@qcc-na
Copy link

qcc-na commented Jan 14, 2020

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

@Anachron
Copy link
Contributor Author

Anachron commented Jan 14, 2020

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

@Duncaen
Copy link
Member

Duncaen commented Jan 14, 2020

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

@Anachron
Copy link
Contributor Author

I've rephrased my sentence.

@Duncaen
Copy link
Member

Duncaen commented Jan 14, 2020

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

@Anachron
Copy link
Contributor Author

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.

@Johnnynator
Copy link
Member

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

@qcc-na
Copy link

qcc-na commented Jan 14, 2020

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

@Anachron
Copy link
Contributor Author

This is fixed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@Anachron @Duncaen @niklasnisbeth @Johnnynator @qcc-na and others