On Sun, Sep 08, 2013 at 10:13:13 +0100, Robert Swindells wrote: > Thomas Klausner wrote: > >On Sun, Sep 08, 2013 at 11:59:51AM +0400, Valeriy E. Ushakov wrote: > >> Haven't you or someone else complained about problems with emacs24 > >> vs. environ a few months ago? > > >This is still the same issue I've been seeing and reporting for > >months. There is a random element in the backtrace (sometimes it even > >works! perhaps my stack limit test was a random success), but it > >usually ends in getenv and below, trying some to find some language > >environment stuff. > > If you run: > > % nm emacs | sort > lst > > What variables are just below environ in memory ?
emacs plays games with environ itself, saving and restoring it. A problem in that code is more likely than random buffer overflow that clobbers environ. -uwe
