Re: [dev] [st] System freeze when killing X after using st-git

2013-11-30 Thread Christoph Lohmann
Greetings.

On Sat, 30 Nov 2013 09:38:32 +0100 Vidya Singh apei...@gmx.us wrote:
 On Wed, Nov 27, 2013 at 09:08:43AM +0100, Silvan Jegen wrote:
  On Wed, Nov 27, 2013 at 6:20 AM, Ryan O’Hara rni...@gmail.com wrote:
   On Tue, Nov 26, 2013 at 8:00 PM, Szilágyi Szilveszter
   szilvesz...@gmx.co.uk wrote:
   Hello,
  
   I use the same environment for 6 months
   and there were no problem at all.
  
   Szilveszter
  
  
   Okay, dwm-git, st-git, Arch Linux, MacBook Pro 2012 seems to be what
   most people reproduce it on.
  
  I have used dwm-git and st-git on Arch Linux amd64 (Intel desktop
  system with a Geforce 570 and proprietary Nvidia drivers) for more
  than 6 months  without any problems. That might indicate that the
  problem lies with the MacBook Pro hardware.
  
 I can confirm this bug with 64 bit Arch Linux with DWM on a Dell inspiron 
 1545. I can only reproduce this when launching st from the CTRL-ALT-ENTER 
 shortcut. Launching ST from dmenu causes no issue. Launching other terminals 
 from CTRL-ALT-ENTER causes no issue. The kernel does not hang. The display 
 does not work. I cannot shift tty's, but SYSRQ works just fine. 

I  won’t add a »I‐am‐so‐stupid‐to‐buy‐Apple‐hardware« or »I‐am‐a‐retard‐
using‐Arch‐Linux‐after‐the‐systemd‐disaster« flag.

The bug is outside of st.


Sincerely,

Christoph Lohmann




Re: [dev] [st] System freeze when killing X after using st-git

2013-11-30 Thread Andreas Marschall
On Sat, Nov 30, 2013 at 09:38:32AM +0100, Christoph Lohmann wrote:
 Greetings.
 
 On Sat, 30 Nov 2013 09:38:32 +0100 Vidya Singh apei...@gmx.us wrote:
  On Wed, Nov 27, 2013 at 09:08:43AM +0100, Silvan Jegen wrote:
   On Wed, Nov 27, 2013 at 6:20 AM, Ryan O’Hara rni...@gmail.com wrote:
On Tue, Nov 26, 2013 at 8:00 PM, Szilágyi Szilveszter
szilvesz...@gmx.co.uk wrote:
Hello,
   
I use the same environment for 6 months
and there were no problem at all.
   
Szilveszter
   
   
Okay, dwm-git, st-git, Arch Linux, MacBook Pro 2012 seems to be what
most people reproduce it on.
   
   I have used dwm-git and st-git on Arch Linux amd64 (Intel desktop
   system with a Geforce 570 and proprietary Nvidia drivers) for more
   than 6 months  without any problems. That might indicate that the
   problem lies with the MacBook Pro hardware.
   
  I can confirm this bug with 64 bit Arch Linux with DWM on a Dell inspiron 
  1545. I can only reproduce this when launching st from the CTRL-ALT-ENTER 
  shortcut. Launching ST from dmenu causes no issue. Launching other 
  terminals from CTRL-ALT-ENTER causes no issue. The kernel does not hang. 
  The display does not work. I cannot shift tty's, but SYSRQ works just fine. 
 
 I  won’t add a »I‐am‐so‐stupid‐to‐buy‐Apple‐hardware« or »I‐am‐a‐retard‐
 using‐Arch‐Linux‐after‐the‐systemd‐disaster« flag.
 
 The bug is outside of st.
 
 
 Sincerely,
 
 Christoph Lohmann

Yes, very mature. The first statement I would agree on but in what way
is Arch Linux with systemd a disaster? It runs very smoothely and fast
over here. Or is it just the usual wannabe elitist bull...?

Sincerely,

Andreas Marschall



Re: [dev] [st] System freeze when killing X after using st-git

2013-11-30 Thread Dmitrij D. Czarkoff
Andreas Marschall wrote:

Yes, very mature. The first statement I would agree on but in what way
is Arch Linux with systemd a disaster? It runs very smoothely and fast
over here. Or is it just the usual wannabe elitist bull...?
You know, the systemd (and friends) actually does a great job of ruining my day 
with Arch boxes - by now I have one permanently hanging on boot, another 
booting up twice as slowly as it did before the switch and a third one, which 
gets misconfigured by the boot-time voodoo. Sure, at least some of these 
problems are solvable, but I have to invest quite some time into it - and all 
of it goes into compensating the improvements in boot process. And I still 
can't see any benefit from the switch.

-- 
Dmitrij D. Czarkoff



Re: [dev] [st] System freeze when killing X after using st-git

2013-11-30 Thread FRIGN
On Sat, 30 Nov 2013 10:12:35 +0100
Dmitrij D. Czarkoff czark...@gmail.com wrote:

 Andreas Marschall wrote:
 
 Yes, very mature. The first statement I would agree on but in what way
 is Arch Linux with systemd a disaster? It runs very smoothely and fast
 over here. Or is it just the usual wannabe elitist bull...?
 You know, the systemd (and friends) actually does a great job of ruining my 
 day with Arch boxes - by now I have one permanently hanging on boot, another 
 booting up twice as slowly as it did before the switch and a third one, which 
 gets misconfigured by the boot-time voodoo. Sure, at least some of these 
 problems are solvable, but I have to invest quite some time into it - and all 
 of it goes into compensating the improvements in boot process. And I still 
 can't see any benefit from the switch.
 
 -- 
 Dmitrij D. Czarkoff
 

The problem I see here is that the big GNU+Linux-distributors tend to
add more and more abstractation layers on top of the base-system to
automate it. A good example is the Gnome NetworkManager, which actually
writes a ton of Mac Addresses into /etc/conf.d/net, making it
impossible to hand-maintain these things afterwards.

I could go on with PAM, ConsoleKit, Gnome KeyringManager and the like, 
but I'm sure you know (better) of the metastases of this cancerous 
disease so many man-hours were wasted for and which is the reason why
we need multi-million dollar companies behind the big, automated
distributions to fix software which breaks due to that, in the interest
of providing a consistent user experience.

If you ever dare to dig deeper or if a problem surfaces, you're screwed.
That's why I'm using Gentoo (On my Mac mini :P).

Cheers

FRIGN

-- 
FRIGN d...@frign.de



Re: [dev] [st] System freeze when killing X after using st-git

2013-11-27 Thread Martti Kühne
On Wed, Nov 27, 2013 at 6:20 AM, Ryan O’Hara rni...@gmail.com wrote:

 Okay, dwm-git, st-git, Arch Linux, MacBook Pro 2012 seems to be what
 most people reproduce it on.



For a data point, I haven't had the time to compile suckless in a
while and never heard of these problems.
Hunt that bug down, while I expect either it's somewhere in dwm or in
x11 itself, I'll gladly follow your progress as a c programmer as well
as with gdb.

cheers!
mar77i



Re: [dev] [st] System freeze when killing X after using st-git

2013-11-26 Thread Alexander Huemer
On Tue, Nov 26, 2013 at 07:14:27PM +0100, Andreas Marschall wrote:
 I'd like to report a serious bug that I have for quite some time now
 with st-git. When I install the git version with sudo make clean
 install on my Arch Linux box it installs fine and I can use it. But as
 soon as I kill X to go back to tty the screen goes blank (or sometimes I
 see the frozen info from my graphics card that comes up when I do startx) 
 and the
 system won't response anymore. All I can do then is hit the reset
 button. Typing systemctl poweroff in st-git does a similar thing and the 
 computer
 won't shut down. This only happens with st-git. With st-0.4.1 everything 
 works fine and I
 can kill X and startx respectively. 

Use git bisect to isolate the commit that introduced the bug.

Kind regards,
-Alex



Re: [dev] [st] System freeze when killing X after using st-git (commit spotted)

2013-11-26 Thread Gregor Best
On Tue, Nov 26, 2013 at 08:32:36PM +0100, Andreas Marschall wrote:
 good evening,
 
 I have spottet the commit that's causing the freeze when killing X and
 trying to go back to tty. It's:
 
 http://git.suckless.org/st/commit/?id=fbc589d50603e8b0de9239e4800e227ab5d0ea69
 
 up until this commit st works fine for me.
 

Does it continue to work if you go to git HEAD and revert that one
commit? Because frankly I'd be really surprised if it did. All that
commit does is shuffle around tty allocation a bit.

I don't think the bug is in st. No X application should be able to
freeze the X server and with it the machine. That's a bug in the server
and/or the kernel you're using. One culprit could be the binary driver
for your graphics hardware, but I'm not sure on that.

I'd try running st with another driver for your graphics card and/or an
older kernel version, and check if you recently upgraded your X server.
If so, a downgrade could solve that problem, but reporting a bug with
the proper authorities (i.e. either the kernel maintainers or the X.org
guys) is a good idea nonetheless.

-- 
Gregor Best
--

Sturgeon's Law:
90% of everything is crud.



Re: [dev] [st] System freeze when killing X after using st-git (fixed)

2013-11-26 Thread Andreas Marschall
Hello,

I just cloned the latest git version and removed the commit manually
from st.c and put the few deleted lines back in. Now st works just fine again. 
That's
all I can say and I think that was pretty bad-ass of me given the fact
that I can only do hello world in C :-)

I'd say it's up to the developers if they want to leave this commit in or
take it out like I did. I'm just glad I can use the latest version of st
again. 

Andreas



Re: [dev] [st] System freeze when killing X after using st-git (fixed)

2013-11-26 Thread Alexander Huemer
On Tue, Nov 26, 2013 at 09:00:55PM +0100, Andreas Marschall wrote:
 Hello,
 
 I just cloned the latest git version and removed the commit manually
 from st.c and put the few deleted lines back in.

Why? Reverting a commit is very easy with git. In your case it's the 
simple matter of doing:

$ git revert fbc589d50603e8b0de9239e4800e227ab5d0ea69

 Now st works just fine again. That's all I can say and I think that 
 was pretty bad-ass of me given the fact that I can only do hello 
 world in C :-)
 
 I'd say it's up to the developers if they want to leave this commit in or
 take it out like I did. I'm just glad I can use the latest version of st
 again. 

Well, it's not obvious why this commit breaks your X server so badly.  
Just reverting that commit in the repository is not a proper solution to 
the problem. Some investigation has to happen.
It's absolutely correct that it should not be possible to write an X 
application that can crash the X server, let alone the kernel.
What graphics driver are you using?
Since nobody else reported that bug, it really seems like the problem 
lies in the nature of your particular system.

Kind regards,
-Alex



Re: [dev] [st] System freeze when killing X after using st-git (fixed)

2013-11-26 Thread sekret
* Alexander Huemer alexander.hue...@xx.vu [26.11.2013 22:25]:
 Since nobody else reported that bug, it really seems like the problem 
 lies in the nature of your particular system.

Unfortunately it's not.

I think I remember that this issue was reported here before. The problem is 
quite old. I have this problem on two different systems (my netbook and my 
desktop computer), so I think it is independent of the system. On both my 
systems I have ATI cards and 64bit Archlinux runs on both.

I was just too lazy and stuck with the latest stable version of st, but 
honestly I'd much prefer to use st-git!


pgphJgersSExp.pgp
Description: PGP signature


Re: [dev] [st] System freeze when killing X after using st-git

2013-11-26 Thread Ryan O’Hara
On Tue, Nov 26, 2013 at 07:14:27PM +0100, Andreas Marschall wrote:
 I wonder why no other Arch users are reporting on this?

It has been reported before. It’s specifically the combination of dwm
and st, by the way.

https://bbs.archlinux.org/viewtopic.php?id=168041,
https://bbs.archlinux.org/viewtopic.php?id=167086

Ryan O’Hara

On Tue, Nov 26, 2013 at 10:40 AM, Alexander Huemer
alexander.hue...@xx.vu wrote:
 On Tue, Nov 26, 2013 at 07:14:27PM +0100, Andreas Marschall wrote:
 I'd like to report a serious bug that I have for quite some time now
 with st-git. When I install the git version with sudo make clean
 install on my Arch Linux box it installs fine and I can use it. But as
 soon as I kill X to go back to tty the screen goes blank (or sometimes I
 see the frozen info from my graphics card that comes up when I do startx) 
 and the
 system won't response anymore. All I can do then is hit the reset
 button. Typing systemctl poweroff in st-git does a similar thing and the 
 computer
 won't shut down. This only happens with st-git. With st-0.4.1 everything 
 works fine and I
 can kill X and startx respectively.

 Use git bisect to isolate the commit that introduced the bug.

 Kind regards,
 -Alex




Re: [dev] [st] System freeze when killing X after using st-git

2013-11-26 Thread Szilágyi Szilveszter

Hello,

I use the same environment for 6 months
and there were no problem at all.

Szilveszter

On Tue, Nov 26, 2013 at 06:12:12PM -0800, Ryan O’Hara wrote:

On Tue, Nov 26, 2013 at 07:14:27PM +0100, Andreas Marschall wrote:

I wonder why no other Arch users are reporting on this?


It has been reported before. It’s specifically the combination of dwm
and st, by the way.

https://bbs.archlinux.org/viewtopic.php?id=168041,
https://bbs.archlinux.org/viewtopic.php?id=167086

Ryan O’Hara




Re: [dev] [st] System freeze when killing X after using st-git

2013-11-26 Thread Ryan O’Hara
On Tue, Nov 26, 2013 at 8:00 PM, Szilágyi Szilveszter
szilvesz...@gmx.co.uk wrote:
 Hello,

 I use the same environment for 6 months
 and there were no problem at all.

 Szilveszter


Okay, dwm-git, st-git, Arch Linux, MacBook Pro 2012 seems to be what
most people reproduce it on.