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: Dan Lukes
Subject: [Freeipmi-devel] Re: ipmi-sensors abends when configuration file not specified at all
Date: Tue, 17 Aug 2010 22:04:43 +0200
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100725 SeaMonkey/2.0.6

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



reply via email to

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