Bug 10408

Summary: SIGBUS from contro-panel
Product: [Retired] Red Hat Linux Reporter: michal
Component: control-panelAssignee: johnsnom
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-29 17:14:24 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
a fix to SIGBUS in control-panel none

Description michal 2000-03-29 06:49:06 UTC
'control-panel-3.11' has off-by-one error and writes outside
 boundaries of an allocated memory.  This is causing Heisenbug.  It
 shows, or does not, on apparently identically configured but different
 machines with traces which point to some strange places (like
 internals of glib or gtk).  Likely a Russian roulette with a page
 fault.  This is an actual result from one run under gdb.

 Program received signal SIGBUS, Bus error.
 chunk_free (ar_ptr=0x20000ed10a0, p=0xf5d1afb7f0c2babc) at malloc.c:3038
 3038	malloc.c: No such file or directory.

 Simply lovely!  Piles of "unaligned access" are not even worth to
 mention in the context.

 Attached to this report is a fix  plus a patch to a spec file.
 BTW, if one is going to multiply by a sizeof(char) then adding 1
 outside of this multiplication is not very consistent. :-)

   Michal Jaegermann
   michal

Comment 1 michal 2000-03-29 06:51:59 UTC
Created attachment 164 [details]
a fix to SIGBUS in control-panel

Comment 2 Bill Nottingham 2000-03-29 17:14:59 UTC
fixed in 3.14-1.