Bug 51104

Summary: fvwm2 crashes when trying to startup
Product: [Retired] Red Hat Linux Reporter: greg hosler <greg>
Component: fvwm2Assignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-07 12:30:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch files for fvwm2 and spec file none

Description greg hosler 2001-08-07 12:27:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.6-3.1smp i686; Nav)

Description of problem:
There is a coding error in fvwm-2.2.5/libs/fontset_wrapper.c that
will cause fvwm2 to crash. basically it frees a fonttable struct
from a linked list, without PROPERLY linking around the element to be
freed. The author knew what needed to be done, he/she just did it
wrongly. patch file, update to spec file are attached. Note crash is
dependent upon how fvwm2 starts up. It will either always happen, or might
not.


How reproducible:
Always

Steps to Reproduce:
1. pull out an old AnotherLevel rpm and install it.
2. start an X server with the following for a window manager:
	/usr/X11R6/bin/fvwm2 -cmd 'FvwmM4 -debug \
/etc/X11/AnotherLevel/fvwm2rc.m4'  
3. the old fvwm2 will segment violate. every single time.
	

Actual Results:  fvwm crashes, no wm started up

Expected Results:  fvwm to start up in AnotherLevel look/feel

Additional info:

patch attached. um, opps. you no longer can attach files to bugzilla
reports.

Will the maintainer please e-mail me. I'll mail you the patch and
spec file updates.

thx, and rgds,

-Greg

Comment 1 greg hosler 2001-08-07 12:29:55 UTC
Created attachment 26633 [details]
patch files for fvwm2 and spec file

Comment 2 Ngo Than 2001-08-07 13:36:40 UTC
It's fixed in fvwm2-2.2.5-4. Thanks for your patch file