freeipmi-devel
[Top][All Lists]
Advanced

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

[Freeipmi-devel] Re: ipmi-sensors abends when configuration file not spe


From: Albert Chu
Subject: [Freeipmi-devel] Re: ipmi-sensors abends when configuration file not specified at all
Date: Tue, 17 Aug 2010 13:35:12 -0700

Hey Dan,

Glad it's not a freeipmi issue.  That is quite odd though.

Al

On Tue, 2010-08-17 at 13:04 -0700, Dan Lukes wrote:
> On 08/16/10 22:40, Albert Chu:
> >>> This should already be handled.
> 
> You are true, problem is elsewhere.
> 
> I croped the sources to just:
> -----------------------------------
> int main (int argc, char **argv) {
>    char x[684*1024];
> }
> -----------------------------------
> 
> Compiled and linked:
> 
> gcc -shared -o .libs/ipmi-sensors ipmi-sensors.c
> .libs/ipmi-sensors
> 
> And still:
> Segmentation fault: 11 (core dumped)
> 
> Problem disappear when I remove '-shared' (but then it can't be linked 
> against libargp) or when I change [684*1024] to [683*1024] or less.
> 
> Conclusion: not FreeIPMI's problem, it's problem of GCC 4.2.1
> 
> So you can forged it ...
> 
> Dan
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory




reply via email to

[Prev in Thread] Current Thread [Next in Thread]