You are not logged in.

#1 2014-04-11 11:36:55

lnx
Member
Registered: 2009-11-04
Posts: 108

[solved] Where do I start when an application crashes?

I use dwb as browser, but after a new archlinux installation is keeps crashing. So I was wondering how and where I can find info on my system that can help me figuring out why an application crashed?

Last edited by lnx (2014-04-12 11:47:20)

Offline

#2 2014-04-11 11:43:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Where do I start when an application crashes?

Start it from the terminal so you get some info when it freezes / crashes.
Which version of dwb are you using, the one from the official repos? If so, try dwb-git from the AUR.

Last edited by karol (2014-04-11 11:43:28)

Offline

#3 2014-04-11 11:46:34

lnx
Member
Registered: 2009-11-04
Posts: 108

Re: [solved] Where do I start when an application crashes?

Yes, I already tried that but it just returns to the prompt after a crash.

Offline

#4 2014-04-11 12:19:20

lnx
Member
Registered: 2009-11-04
Posts: 108

Re: [solved] Where do I start when an application crashes?

I'm using dwb from the official repos. I'll switch to dwb-git from AUR.
Although a crashing dwb was the reason for this topic, my question was meant as a general one: what are the first things you should do in case of a crash of any application.

Offline

#5 2014-04-11 13:02:31

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: [solved] Where do I start when an application crashes?

Run it with strace or gdb, see if there's any useful information about what's going wrong.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2014-04-11 23:02:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Where do I start when an application crashes?

lnx wrote:

what are the first things you should do in case of a crash of any application.

Check the logs and systemd's journal.

With regard to strace and gdb, see https://wiki.archlinux.org/index.php/St … ging_Guide & https://wiki.archlinux.org/index.php/De … ing_Traces

Offline

#7 2014-04-12 11:45:10

lnx
Member
Registered: 2009-11-04
Posts: 108

Re: [solved] Where do I start when an application crashes?

Thanks for the suggestions.
And karol, thank you for the links. That was what I was looking for. At first glance it looks a bit daunting for my modest archlinux capabilities. But it is a place to start with very small steps!

Last edited by lnx (2014-04-12 12:09:17)

Offline

Board footer

Powered by FluxBB