On Wed, Sep 18, 2002 at 10:43:53PM +0400, Alexander Kotelnikov wrote:
> >>>>> On Wed, 18 Sep 2002 18:47:19 +0200
> >>>>> "DV" == Dominik Vogt <fvwm-workers@fvwm.org> wrote:
> DV> 
> DV> On Wed, Sep 18, 2002 at 08:37:22PM +0400, Alexander Kotelnikov wrote:
> >> Hi.
> >> 
> >> And this is true :( Just ssh-askpass run makes fvwm cash.
> >> 
> >> Package: fvwm
> >> Version: 2.4.10-1
> >> Severity: important
> >> 
> >> When I run ssh-askpass, fvwm crashes.  This did not use to happen with
> >> the previous version of fvwm (2.4.9-1).  My ssh-askpass package is at
> >> version 1:1.2.0-2.1.  For now, I have switched to ssh-askpass-gnome,
> >> which does not crash fvwm.
> DV> 
> DV> Is there a core file?  Please fetch us a stack trace:
> DV> 
> 
> Hmm. Rather simple to generate.
> 
> The stack is rather monotonous, even funny:

F...!  I guess there is nothing that some applications don't do.
The window has set itself as its transientfor window.  Hence the
infinite recursion.  Please add

      for (t2 = Scr.FvwmRoot.stack_next; t2 != &Scr.FvwmRoot;
           t2 = t2->stack_next)
      {
+       if (t2 == t)
+       {
+         break;
+       }
        if (t2->w == t->transientfor)
        {
          if (IS_ICONIFIED(t2) || t->layer != t2->layer)

add line 664 of fvwm/stack.c and try again.  As far as I can see
it should work, but I don't want to release 2.4.11 without trying
first.

> (gdb) bt 10
> #0  0x08065292 in __RaiseOrLowerWindow (t=0x80ec730, do_lower=0, 
>     allow_recursion=1, is_new_window=0) at stack.c:632
> #1  0x08065315 in __RaiseOrLowerWindow (t=0x80ec730, do_lower=0, 
>     allow_recursion=1, is_new_window=0) at stack.c:682
> #2  0x08065315 in __RaiseOrLowerWindow (t=0x80ec730, do_lower=0, 
>     allow_recursion=1, is_new_window=0) at stack.c:682
...

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to