On Fri, Jul 17, 2020 at 07:16:32PM +0200, Caspar Schutijser wrote:
> Hi,
<snip>
> > issues i havent thought about but it works for me using 79.0b3.
> > 
> > To test, drop the attached patch in
> > /usr/ports/www/mozilla-firefox/patches/patch-toolkit_system_gnome_nsGIOService_cpp
> > and use G_MESSAGES_DEBUG=all firefox if you want to see the g_debug()
> > msgs.
> 
> I gave this a spin on my system. If I add the appropriate binaries to
> unveil.main it seems to work fine, but if for instance
> /usr/local/bin/evince is not present in unveil.main even though it is
> the default for a PDF file, the following happens:
> 
> (firefox:35438): GLib-GIO-CRITICAL **: 17:22:52.848: 
> g_app_info_get_executable: assertion 'G_IS_APP_INFO (appinfo)' failed
> ** Message: 17:22:52.848: ShowURIForInput: spawning (null) 
> /tmp/mozilla_caspar0/somefile.pdf for 
> file:///tmp/mozilla_caspar0/somefile.pdf (content type application/pdf)
> Exiting due to channel error.
> Exiting due to channel error.
> Exiting due to channel error.
> Exiting due to channel error.
> Segmentation fault (core dumped)
> 
> I assume the problem is that g_app_info_get_executable() returned NULL.

Ah, thanks for spotting this one, that's a case i probably havent tested
:) will try to work on this again in the coming days..

Landry

Reply via email to