Red Hat Bugzilla – Bug 10408
SIGBUS from contro-panel
Last modified: 2008-05-01 11:37:55 EDT
'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. :-)
Created attachment 164 [details]
a fix to SIGBUS in control-panel
fixed in 3.14-1.