You are not logged in.

#26 2013-11-24 00:30:59

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: URxvt daemon crashes

FWIW, I experience these crashes with urxvtd, and I always use Intel graphics.  I have no need for anything super fancy, and I like my laptop to have battery life over graphics performance.  So I hesitate to think that this might be caused by the GPU vandor and/or drivers.

Offline

#27 2013-11-24 00:52:53

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: URxvt daemon crashes

Same here, I only have intel graphics and and experience this crash quite frequently. Sometimes, its the segfault and other times I get the corrupted linked_list. This kills all of my urxvtd clients and makes the systemd service unresponsive.

For what it's worth here's my .Xresources

URxvt.scrollBar: false

URxvt.font: xft:Terminus:size=10:antialias=false:hinting=false:autohint=false

Xcursor.theme: Vanilla-DMZ

Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
Xft.dpi: 96

xterm*faceName: Terminus:size=10:antialias=false

*.background: #1f1f1f
*.foreground: #ffffff

!Dark blue + blue
*.color4: #1874D1
*.color12: #398CE0

!dark red + red
*.color1: #FF2121
*.color9: #F54B4B

I've tried to follow bohomil's .Xresources, and I was ok for a while, but crashes soon started happening again. I wish I could add something new other than another data point, but as others have stated, the crash is usually triggered by a closing of a client with a hotkey.

Offline

#28 2013-11-24 09:01:03

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: URxvt daemon crashes

@drelyn86

Interesting case. I would have not assumed that it is a graphics driver issue. Apart from switching drivers you did not change anything else at all?

Last edited by orschiro (2013-11-24 09:01:20)

Offline

#29 2013-11-30 19:37:42

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: URxvt daemon crashes

I kept having the crashes. As a workaround I now start the daemon in an infinite loop. From my .xinitrc:

until urxvtd; do
    echo "urxvtd crashed with exit code $?.  Respawning.." >&2
    sleep 1
done &

Offline

#30 2013-11-30 20:09:55

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: URxvt daemon crashes

@orschiro, the problem I had was that the daemon wouldn't fully crash.  Instead I would end up with blank terminal windows and a hung daemon.  The only way to actually kill it would be to send it a SIGKILL from another terminal, or use xkill on one of the windows (which would cause things to then fully crash).  So for the issue I was having, this wouldn't actually work around the issue.

Offline

#31 2013-12-02 19:26:47

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: URxvt daemon crashes

It would be actually quite interesting to know how much more resources are consumed when not running in daemon mode. Did anyone do already a comparison? Maybe it is not even worth the effort we are trying here to fix it.

Offline

#32 2013-12-02 23:28:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: URxvt daemon crashes

I came to the conclusion a while ago that the risk of daemon mode is not at all worth the lower resource usage that might result.  I actually don't think it is that much difference anyway, but the mere fact that it isn't even fairly stable for me has lead me to not use it at all.  Since then I have moved to termite, which is an amazing terminal emulator.  I still keep urxvt installed and configured to my liking, as it is hard to do away with something I was so fond of.

Ultimately, it would seem as though we buy these machines that are for more powerful than what is typically required.  Then we run Linux on it, which lowers those requirements even less.  Of course we then try to use these programs which require even less resources even though they are there and available to us.  In no way should a terminal emulator have the potential, in itself, to bog down a modern machine, and if it does it is either a shitty terminal emulator or there are greater underlying problems that should be addressed.  Even on your x200 (which is still a perfectly capable machine), I don't think that you should be worried about the resource usage of urxvt vs urxvtd.

Offline

#33 2013-12-03 04:08:08

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: URxvt daemon crashes

orschiro, you can always use a single instance of urxvt and a decent terminal multiplexer on top of it (tmux for example). This is my preferred approach since my fingers happen to do things I don't ask them to do, i.e. close the terminal window accidentally.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#34 2013-12-03 06:40:08

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: URxvt daemon crashes

@WonderWoofy & @bohoomil

Thanks for your reasoning and mentioning termite / tmux.

I gave termite a quick try and it feels very smoothly. I will try to work out whether I can switch from urxvt without loosing any of my settings!

Offline

#35 2014-07-02 11:39:04

triplc
Member
From: Hanoi, Vietnam
Registered: 2009-08-23
Posts: 39

Re: URxvt daemon crashes

After seeing urxvtd crashed... I switch to the good old xterm. But I still miss the transparency feature of rxvt-unicode.

Recently, I switch back to rxvt-unicode to see how (version 2.19, and then 2.20) And indeed, it runs well, no crash. Well, actually, i do not use the original rxvt-unicode, i use a patched one: https://aur.archlinux.org/packages/rxvt … -vteclear/ Anyway, i believe that the crash issue somehow solved.

Offline

#36 2014-08-11 14:08:41

Penguin Guy
Member
Registered: 2009-05-12
Posts: 22

Re: URxvt daemon crashes

urxvtd is still crashing for me, usually when I close a client. I'm thinking about switching to st.

Offline

#37 2015-01-28 02:16:40

4984
Member
Registered: 2015-01-28
Posts: 1

Re: URxvt daemon crashes

I could resolve this issue by invoking ibus through the startup applications of my DE rather than through my .bashrc. Hope it helpes someone else, too.

Offline

Board footer

Powered by FluxBB