On Sun, Feb 09, 2020 at 07:49:33AM -0500, Jon Fineman wrote:
> Solene Rapenne <[email protected]> wrote:
> 
> > On Sun, Feb 09, 2020 at 07:02:15AM -0500, Jon Fineman wrote:
> > > Jon Fineman <[email protected]> wrote:
> > > > 
> > > > pkg_info output is:
> > > > firefox-72.0.2      Mozilla web browser
> > > 
> > > I ran firefox with gdb and the back trace is:
> > > 
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0x00001b0b2e5b14c4 in std::__1::vector<std::__1::basic_string<char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> >, 
> > > std::__1::allocator<std::__1::basic_string<char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> > > 
> > > >::__push_back_slow_path<std::__1::basic_string<char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> > > () from 
> > > /usr/local/lib/firefox/libxul.so.87.0
> > > (gdb) bt
> > > #0  0x00001b0b2e5b14c4 in std::__1::vector<std::__1::basic_string<char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> >, 
> > > std::__1::allocator<std::__1::basic_string<char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> > > 
> > > >::__push_back_slow_path<std::__1::basic_string<char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> > > () from 
> > > /usr/local/lib/firefox/libxul.so.87.0
> > > #1  0x00001b0b323d290c in std::__1::operator>><char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> > () from 
> > > /usr/local/lib/firefox/libxul.so.87.0
> > > #2  0x00001b0b323d2e92 in std::__1::operator>><char, 
> > > std::__1::char_traits<char>, std::__1::allocator<char> > () from 
> > > /usr/local/lib/firefox/libxul.so.87.0
> > > #3  0x00001b083250e753 in __register_frame_info () from 
> > > /usr/local/bin/firefox
> > > #4  0x00001b083250e13b in _start () from /usr/local/bin/firefox
> > > #5  0x0000000000000000 in ?? ()
> > > (gdb) 
> > > 
> > 
> > Can you try disabling pledge to see if firefox work again?
> > You will find explanations for doing so in
> > /usr/local/share/doc/pkg-readmes/firefox
> > 
> > Also, gdb isn't really useful, there is a package named egdb providing
> > binary egdb which will be more useful, but without debug symbols I guess
> > it won't be any better even with egdb.
> 
> I didn't see egdb in pkg_info.

pkg_info outputs installed packages, pkg_info -Q do queries
but I was wrong on the package name, it's package "gdb" giving egdb
binary

> 
> I copied all of the files from 
> /usr/local/lib/firefox/browser/defaults/preferences/ to /etc/firefox/
> 
> Is there any additional lines I should add. It still dumped.

you need to only have "disable" in the files pledge.main, pledge.content
and pledge.gpu

Reply via email to