You are not logged in.

#1 2012-07-01 16:06:01

falcongg
Member
Registered: 2012-04-04
Posts: 17

Broken rxvt-unicode and rxvt-unicode-patched

I run rxvt-unicode throught urxvtd+urxvtc.

Things to reproduce:

1. run urxvtd
2. run ruxvtc
-> urxvtd crashes:

[~]% urxvtd 
rxvt-unicode daemon listening on /home/th/.urxvt/urxvtd-pchostname.
zsh: segmentation fault  urxvtd
[~]%
[~]% dmesg
[...]
[  870.382005] urxvtd[2748]: segfault at ffffd80000000000 ip 00007f49fd2c8e6c sp 00007fff32875790 error 4 in libc-2.15.so[7f49fd292000+197000]

When I comment out this:

URxvt.perl-ext-common: default,matcher,tabbed

from ~/.Xresources - problem disappears.

I only have installed

[~]% pacman -Q | grep perl
perl 5.16.0-2
perl-error 0.17017-1
[~]%

and perl-error is required by git.

I have this problem with rxvt-unicode form [community] repo as also with rxvt-unicode-patched from AUR.

Any ideas?

Last edited by falcongg (2012-07-01 16:07:52)

Offline

#2 2012-07-01 17:58:12

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Broken rxvt-unicode and rxvt-unicode-patched

Try re-installing your Perl extensions (tabbed) and custom libraries.

BTW: If you're referring strictly to rxvt-unicode-patched (not rxvt-unicode from community repo), have you rebuilt it after Perl upgrade, just in case?

Last edited by bohoomil (2012-07-01 18:22:48)


:: Registered Linux User No. 223384

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

Offline

#3 2012-07-01 18:31:26

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Broken rxvt-unicode and rxvt-unicode-patched

bohoomil wrote:

Try re-installing your Perl extensions (tabbed) and custom libraries.

BTW: If you're referring strictly to rxvt-unicode-patched (not rxvt-unicode from community repo), have you rebuilt it after Perl upgrade, just in case?

Yes. I have rebuilded once again rxvt-unicode-patched (and by default I use patched version from aur). I just wanted to say that problem also exists with rxvt-unicode from community repo.
I laso tried to reinstall perl and perl-error - this didn't help either. How can I reinstall my perl extensions? I don't have any "custom" libraries.

FYI: urxvt (not urxvtc+urxvtd) works in tabbed mode...

Last edited by falcongg (2012-07-01 18:36:26)

Offline

#4 2012-07-01 19:18:00

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Broken rxvt-unicode and rxvt-unicode-patched

Try running the daemon like this:

/usr/bin/urxvtd -q -o -f

:: Registered Linux User No. 223384

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

Offline

#5 2012-07-01 19:31:04

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Broken rxvt-unicode and rxvt-unicode-patched

No, running urxvtd -q -o -f didn't help.

[13197.227875] urxvtd[2783]: segfault at ffffd80000000000 ip 00007ffa38bfbe6c sp 00007fffaf8b8d60 error 4 in libc-2.15.so[7ffa38bc5000+197000]

Really nobody else have this problem? I don't believe.

Last edited by falcongg (2012-07-01 19:31:42)

Offline

#6 2012-07-01 19:50:58

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

Re: Broken rxvt-unicode and rxvt-unicode-patched

No issues here, running urxvt{d,c}

┌─[Centurion ~]
└─╼ pacman -Q rxvt-unicode
rxvt-unicode 9.15-3
┌─[Centurion ~]
└─╼ grep perl .Xresources
URxvt.perl-ext-common: default,matcher,keyboard-select,url-select,clipboard
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-s: perl:keyboard-select:search
URxvt.keysym.M-c:   perl:clipboard:copy
URxvt.keysym.M-v:   perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-07-01 22:28:53

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Broken rxvt-unicode and rxvt-unicode-patched

Sorry, I think my hard drive is failing. I definitely can hear clicking. It also clicks when I freshly boot my system and run urxvtd and next urxvtc -> at crash disk clicks. Seems that I have to spent extra money on new hdd by this month.

Last edited by falcongg (2012-07-02 12:13:18)

Offline

#8 2012-07-02 12:07:49

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Broken rxvt-unicode and rxvt-unicode-patched

Okay, previous post is WRONG. That clicking is caused by hd head parking.

But I have discovered new thing. These are cases when urxvtc + urxvtd are working:

1. When I run urxvtd or ``urxvtd -q -o -f'', then urxvtc and I use Alt+Shift+Return or dmenu to spawn a new terminal in dwm - it does crash urxvtd / ``urxvtd -q -o -f'' process!
2. When I run urxvtd or ``urxvtd -q -o -f'', then urxvtc from other terminal (xterm or urxvt) it does start without crashing urxvtd / ``urxvtd -q -o -f'',
3. When I run urxvtd or ``urxvtd -q -o -f'', then urxvtc from other terminal (xterm or urxvt) it does start without a problem, and Alt+Shift+Return / dmenu works again without crashing urxvtd / ``urxvtd -q -o -f'', but when I close first instance of urxvtc that I have started from xterm and then try to start it by dwm's Alt+Shift+Return / dmenu it does again crash urxvtd or ``urxvtd -q -o -f'' with error:

zsh: bus error  urxvtd

That's what I have defined in my config.h for urxvt:

static const char *termcmd[]  = { "urxvtc", NULL };

static Key keys[] = {
  /* modifier                     key        function        argument */
  { MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },

I have also tried to recompile dwm, doesn't helps either.

Last edited by falcongg (2012-07-02 12:16:52)

Offline

#9 2012-07-02 12:56:52

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Broken rxvt-unicode and rxvt-unicode-patched

I believe that the situation is pretty frustrating. I'm using almost the same setup -- with the exception of bash instead of zsh -- and everything is working fine here. What you may want to check out (that's what I would do myself): switch the default shell back to bash and see if the error occurs again, or create a new user for testing purposes with only the generic configuration files in $HOME and test the behaviour of urxvt{d,c} there.


:: Registered Linux User No. 223384

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

Offline

#10 2012-07-02 13:48:29

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: Broken rxvt-unicode and rxvt-unicode-patched

falcongg wrote:

When I comment out this:

URxvt.perl-ext-common: default,matcher,tabbed

from ~/.Xresources - problem disappears.

I think, the problem could be in the module "tabbed". It is in your configuration, but not in the one posted by jasonwryan.

Last edited by progandy (2012-07-02 13:49:13)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#11 2012-07-02 13:54:57

falcongg
Member
Registered: 2012-04-04
Posts: 17

Re: Broken rxvt-unicode and rxvt-unicode-patched

Problem fixed.

In file ~/.xinitrc I had a line to load my ~/.Xresources settings

[[ -f ${HOME}/.Xresources ]] && xrdb ${HOME}/.Xresources

Changed to

[[ -f ${HOME}/.Xresources ]] && xrdb -merge ${HOME}/.Xresources

And problem have disappeared. I think it's definitely solved because I've restarted X server few times and urxvtd+urxvtc is stable, no crashes occured. xrdb needs -merge option, otherwise rxvt-unicode-patched (and rxvt-unicode from community) turns into strange behaviour here.

Offline

#12 2012-07-02 14:11:21

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Broken rxvt-unicode and rxvt-unicode-patched

So it turns out that my last hint would help to solve it anyway, as the goal was to eliminate possible errors in custom config files. Please, don't forget to mark the thread as [SOLVED].


:: Registered Linux User No. 223384

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

Offline

Board footer

Powered by FluxBB