Current-Users archive

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

Re: emacs core dump: getenv problem?



On Mon, May 20, 2013 at 02:43:17AM +0400, Valeriy E. Ushakov wrote:
> On Mon, May 20, 2013 at 00:33:01 +0200, Thomas Klausner wrote:
> 
> > (gdb) p environ[0]
> > $4 = 0xb <Address 0xb out of bounds>
> > (gdb) p environ[1]
> > $5 = 0x0
> > 
> > Any ideas how this can happen?
> 
> emacs has a symbol named "environ" and something in ld.so broke
> recently to make _env.c access emacs symbol instead of ours?

It's not recent breakage. I just took some time until I first started
emacs in a debugger to take a look at it.
 Thomas



Home | Main Index | Thread Index | Old Index