From nobody@FreeBSD.ORG Tue Jun 15 22:37:10 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B2AE714D4D; Tue, 15 Jun 1999 22:37:10 -0700 (PDT)
Message-Id: <19990616053710.B2AE714D4D@hub.freebsd.org>
Date: Tue, 15 Jun 1999 22:37:10 -0700 (PDT)
From: dmmiller@cvzoom.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Fvwm2 causes FreeBSD-current to hang or reboot
X-Send-Pr-Version: www-1.0

>Number:         12233
>Category:       kern
>Synopsis:       Fvwm2 causes FreeBSD-current to hang or reboot
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 22:40:01 PDT 1999
>Closed-Date:    Mon May 8 19:30:06 PDT 2000
>Last-Modified:  Mon May 08 19:30:56 PDT 2000
>Originator:     Donn Miller
>Release:        -current
>Organization:
>Environment:
FreeBSD lca66.cvzoom.net 4.0-CURRENT FreeBSD 4.0-CURRENT #1: Tue Jun 15 04:35:43 EDT 1999     root@lca66.cvzoom.net:/usr/src/sys/compile/CUSTOM  i386

>Description:
Fvwm2 (the latest version, which is 2.2.2), is causing weird problems with -current.  Sometimes, if I do certain actions in fvwm2, such as selecting a menu button with the middle or right buttons, FreeBSD either locks or reboots without warning.
A specific example:  I was typing something in an xterm, which was hidden by another xterm.  I had fvwm2 configured to have the focus follow mouse like twm.  When I pressed "enter" in the xterm, which was obscured by another xterm, my machine locked solid.  I tried pressing ctrl+alt+f* to get back to a VC, but I was locked out.
Then, when I did cntrl+alt+backspace to kill the xserver, my machine rebooted immediately.
On my computer, this will happen every once in a while while doing some routine activities in fvwm2.*

By the way, I had my kernel compiled with "-mpentium -O3", and used the same flags to "make world".  I also built fvwm2 and XFree86 3.3.3.1 with these flags.  It may be this very reason that FreeBSD is behaving like this, the fact that egcs may cause some unstable code as compared to the old gcc-2.7*.  Again, it doesn't happen very often, about once every two weeks.
>How-To-Repeat:
CVsup the latest -current, and run the latest version of fvwm2.  It doesn't happend very often, but doing certain activities in fvwm2 may cause FreeBSD to do a sudden reboot.
>Fix:
Stop using fvwm2.

>Release-Note:
>Audit-Trail:

From: "Matthew D. Fuller" <fullermd@futuresouth.com>
To: dmmiller@cvzoom.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/12233: Fvwm2 causes FreeBSD-current to hang or reboot
Date: Wed, 16 Jun 1999 00:52:51 -0500

 On Tue, Jun 15, 1999 at 10:37:10PM -0700, a little birdie told me
 that dmmiller@cvzoom.net remarked
 > 
 ...
 >
 > By the way, I had my kernel compiled with "-mpentium -O3", and used the
 > same flags to "make world".  I also built fvwm2 and XFree86 3.3.3.1 with
 > these flags.  It may be this very reason that FreeBSD is behaving like
 > this, the fact that egcs may cause some unstable code as compared to the
 > old gcc-2.7*.  Again, it doesn't happen very often, about once every two
 > weeks.
 > 
 > >Fix:
 > Stop using fvwm2.
 
 Alternate fix:
 Stop using -O3.
 Last I heard there was known problems with -O above 1.
 
 
 
 -- 
 
 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 | Matthew Fuller    MF4839    http://www.over-yonder.net/ |
 * fullermd@futuresouth.com       fullermd@over-yonder.net *
 | UNIX Systems Administrator      Specializing in FreeBSD |
 *   FutureSouth Communications   ISPHelp ISP Consulting   *
 |  "The only reason I'm burning my candle at both ends,   |
 *    is because I haven't figured out how to light the    *
 |                     middle yet"                         |
 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 

From: Johan Karlsson <k@numeri.campus.luth.se>
To: dmmiller@cvzoom.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/12233: Fvwm2 causes FreeBSD-current to hang or reboot
Date: Sat, 01 Apr 2000 16:53:08 +0200

 Hi
 
 Do you still have this problem.
 
 I use Fvwm 2.2.2 on a FreeBSD 4.0-Release and I do not have this problem.
 
 If you still have it did you ever try to compile your kernel/world/Fvwm  
 w/o -O3.
 
 
 /Johan K
 
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Mon May 8 19:30:06 PDT 2000 
State-Changed-Why:  
Compiling world and kernel with -O3 is unsupported.  Consider yourself 
lucky it works as well as it does. 
>Unformatted:
