You are not logged in.

#1 2016-12-28 03:29:32

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

st (suckless): segmentation fault everytime

whenever I start st, from other terminal or from dmenu, it exits on typing first character or even hitting enter key.
I get "segmentation fault (core dumped)" when I use it from other terminal.

I have tried both official package as well as try to compile from PKGBUILD.
Also it seem that st is not respecting fonts specified in PKGBUILD, as if I specify size 16 it still looks like size 12.

Offline

#2 2016-12-28 04:01:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: st (suckless): segmentation fault everytime

strace or gdb it for meaningful debug messages.

Also, remove your config and run it without one to confirm it isn't something you have misconfigured.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-12-28 04:11:00

adamlau
Member
Registered: 2009-01-30
Posts: 418

Re: st (suckless): segmentation fault everytime

Try reinstalling ncurses or falling back to the previous ncurses.


Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce

Offline

#4 2016-12-28 04:23:40

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: st (suckless): segmentation fault everytime

strace log for st
st fails with default configuration (default config.h)

Offline

#5 2016-12-28 05:04:27

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: st (suckless): segmentation fault everytime

adamlau wrote:

Try reinstalling ncurses or falling back to the previous ncurses.

what st has to do with ncurses?

Offline

#6 2016-12-28 09:39:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: st (suckless): segmentation fault everytime

If it dumps a core, I'd inspect that (afaik, you should find it in the journal by default config and maybe heve redirected it into files by some /etc/sysctl.d/50-coredump.conf  config)
You can open it with "gdb --core=/path/to/core" and obtain a "bt" backtrace there.

Offline

Board footer

Powered by FluxBB