0

I'm trying to use the answers from this question, but all fail by either doing nothing, or giving me this error:

Aborted (core dumped)

I'm on 14.04 Trusty Tahr using Google Chrome as my default browser - which is no doubt the problem somehow, because when I set Chromium as my default browser, then Chromium opens just fine. But what's the work around? Or how can I look at the "dumped core" to get more information?

Here's what I've tried:

jeff $ sensible-browser
Aborted (core dumped)
jeff $ sensible-browser http://example.org
Aborted (core dumped)
jeff $ x-www-browser http://example.org
Aborted (core dumped)
jeff $ gnome-open http://example.org
jeff $ xdg-open http://example.org
jeff $ xdg-open 'http://example.org' >/dev/null
5
  • Why not open chrome directly with google-chrome http://example.org? Commented Jul 25, 2016 at 3:24
  • @PranavMarathe Because I'm trying to open the "default" browser, regardless of what it is so that it's portable for my script to use on machines that don't necessarily have google chrome installed. Commented Jul 25, 2016 at 3:25
  • Ah, I see. You can try diagnosing the issue with strace : strace sensible-browser. Commented Jul 25, 2016 at 3:29
  • But does google-chrome <url> work for you? Just rule out that's not the thing that's crashing here.
    – Oli
    Commented Sep 22, 2017 at 8:56
  • @oli hmm, I'm not sure. That's a good question. Unfortunately, I no longer use chrome nor have it installed on any machine - I'm strictly chromium now. Commented Sep 22, 2017 at 11:23

1 Answer 1

0

I would guess that either the configuration (in ~/.config/chromium/ ) or the cache ( ~/.cache/chromium/ ) from your Chromium installation is confusing Google Chrome. Perhaps back up these directories, remove them and try starting Google Chrome again.

If this fails you could try with strace: strace -f -v -s 1024 sensible-browser. It will print a ton of information and if you are lucky the error (can't open a file, messed up permissions, etc) would be close to the bottom. You will need some basic knowledge of C though.

Looking at the "dumped core" requires advanced programming knowledge and access to the source code. If you haven't done that before I will advice you not to go down that rabbit hole.

1
  • Thanks, but I actually installed chromium afterwards while trying to troubleshoot. You can see when I edited my question. I will take a look at strace tomorrow. Thanks again Commented Jul 25, 2016 at 4:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .