pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SIGBUS in ganglia-monitor-core on NetBSD 5.1_RC4 (sparc64)



On Sun, Nov 14, 2010 at 10:13:05PM +0100, Manuel Tobias Schiller wrote:
> I got a SIGBUS and a coredump from gmond in parallel/ganglia-monitor-core
> on NetBSD 5.1_RC4 on a sparc64 machine. I'm using pkgsrc-2010Q3. Since I'm
> not entirely sure whom to turn to, I've decided to send it to the list,
> hoping you can point me somewhere more appropriate.
> 
> I managed to trace things to the file libmetrics/netbsd/metrics.c in
> the get_netbw function. Apparently, the code in get_netbw violates
> alignment constraints for sparc64. I attached a patch against the result
> of a "make patch" in parallel/ganglia-monitor-core. While I was at it, I
> also changed proc_run_func somewhat to only count actually running
> processes (having a look at NetBSD's ps(1) implementation) - without the
> change, I got around 30 running processes on an idle machine.
> 
> I've attached the patch, in case it gets lost in the mailing list, you
> can also find it under:
> 
> www.physi.uni-heidelberg.de/~schiller/metrics.c.diff
> 
> I'd be interested in hearing any comments you may have.

Committed. Please send it upstream so it will be included in the next
release.

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index