Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: emacs-24.3: test request
On Sat, Sep 07, 2013 at 18:15:40 +0200, Thomas Klausner wrote:
> On Thu, Aug 15, 2013 at 07:53:55PM +0200, Thomas Klausner wrote:
> > On Wed, Aug 14, 2013 at 10:43:59PM +0200, Thomas Klausner wrote:
> > > To confirm if an emacs24-compiled-with-gtk core dump I see is
> > > NetBSD-specific or pkgsrc-specific or me-specific (or neither), I'm
> > > looking for test results for the following:
[...]
> > > and then:
> > > # emacs pkgsrc/doc/guide/files/options.xml
> > >
> > > This emacs call dumps core for me on NetBSD-6.99.23/amd64 as soon as
> > > the emacs window first gets shown (or gets focus, can't differentiate
> > > it with my window manager), both with gtk2 and gtk3 toolkits.
> > >
> > > This doesn't happen with 'emacs -nw'.
> >
> > It also doesn't happen for me if I unset LC_CTYPE.
> > I usually have it set to "LC_CTYPE=de_DE.UTF-8".
>
> That was mostly random, it sometimes occurs even then.
>
> I have found that increasing the stack size ulimit (from the default
> 4MB to 20MB) stops it though.
I was installing a new VM, so I checked this and I can reproduce the
problem. Stack limit seems to have nothing to do with it.
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7fec4fc474 in strncmp () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7fec4fc474 in strncmp () from /usr/lib/libc.so.12
#1 0x00007f7fec4b2dee in __getenvslot () from /usr/lib/libc.so.12
#2 0x00007f7fec4b2f42 in __findenvvar () from /usr/lib/libc.so.12
#3 0x00007f7fec4b29e0 in getenv () from /usr/lib/libc.so.12
#4 0x00007f7fec4ab594 in ?? () from /usr/lib/libc.so.12
#5 0x00007f7fec4ab85f in __localtime_r50 () from /usr/lib/libc.so.12
#6 0x000000000052f3a8 in format_time_string ()
#7 0x000000000052fcbc in Fformat_time_string ()
#8 0x0000000000534aaf in Ffuncall ()
...
(gdb) x/i $rip
=> 0x7f7fec4fc474 <strncmp+20>: mov (%rdi),%al
(gdb) p/x $rdi
$1 = 0x522c2a61
(gdb) x/x $rdi
0x522c2a61: Cannot access memory at address 0x522c2a61
(gdb) x/s $rsi
0x7f7fec512123: "TZ"
(gdb) p/x $rdx
$6 = 0x2
Which corresponds to lib/libc/stdlib/_env.c:266
if (strncmp(environ[num_entries], name, l_name) == 0 &&
Haven't you or someone else complained about problems with emacs24
vs. environ a few months ago?
-uwe
Home |
Main Index |
Thread Index |
Old Index