Bug 10408 - SIGBUS from contro-panel
Summary: SIGBUS from contro-panel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: control-panel
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: johnsnom
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-29 06:49 UTC by michal
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-03-29 17:14:24 UTC
Embargoed:


Attachments (Terms of Use)
a fix to SIGBUS in control-panel (998 bytes, application/octet-stream)
2000-03-29 06:51 UTC, michal
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.