gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] glusterd crashes when synctask is used in conjunctio


From: Jeff Darcy
Subject: Re: [Gluster-devel] glusterd crashes when synctask is used in conjunction with inner functions.
Date: Mon, 08 Oct 2012 14:51:29 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

On 10/08/2012 02:43 PM, Krishnan Parthasarathi wrote:
> I tried the experiment you had suggested. The following are the 
> changes I made to 'inner' function to take a single integer arg.
> On compiling (gcc inner.c) and running, I didn't see any crash :(

Are you sure you ran it both with and without arguments?  Without arguments it
doesn't overwrite the stack and you won't see a crash with either version.
With arguments it does overwrite the stack and you should see a crash (I did)
with either version.

address@hidden snippets 14:46
$ ./inner
in outer function
in inner function, result = 0x5678:5678
in inner function, result = 0x5678:42
address@hidden snippets 14:46
$ ./inner xxx
in outer function
in inner function, result = 0x5678:5678
rewriting stack
Segmentation fault (core dumped)





reply via email to

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