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: > > > > (if you don't have pkgsrc checked out) > > > > # cvs -d [email protected]:/cvsroot/ co pkgsrc/doc > > U pkgsrc/doc/guide/Makefile.common > > U pkgsrc/doc/guide/PLIST > > U pkgsrc/doc/guide/README > > U pkgsrc/doc/guide/distinfo > > U pkgsrc/doc/guide/files/Makefile > > U pkgsrc/doc/guide/files/binary.xml > > U pkgsrc/doc/guide/files/build.xml > > U pkgsrc/doc/guide/files/buildlink.xml > > U pkgsrc/doc/guide/files/bulk.xml > > U pkgsrc/doc/guide/files/chapters.ent > > U pkgsrc/doc/guide/files/components.xml > > U pkgsrc/doc/guide/files/configuring.xml > > U pkgsrc/doc/guide/files/creating.xml > > U pkgsrc/doc/guide/files/debug.xml > > U pkgsrc/doc/guide/files/devfaq.xml > > U pkgsrc/doc/guide/files/editing.xml > > U pkgsrc/doc/guide/files/examples.xml > > U pkgsrc/doc/guide/files/faq.xml > > U pkgsrc/doc/guide/files/files.xml > > U pkgsrc/doc/guide/files/fixes.xml > > U pkgsrc/doc/guide/files/ftp-layout.xml > > U pkgsrc/doc/guide/files/getting.xml > > U pkgsrc/doc/guide/files/gnome.xml > > U pkgsrc/doc/guide/files/infr.design.xml > > U pkgsrc/doc/guide/files/introduction.xml > > U pkgsrc/doc/guide/files/logs.xml > > U pkgsrc/doc/guide/files/makefile.xml > > U pkgsrc/doc/guide/files/options.xml > > U pkgsrc/doc/guide/files/pkginstall.xml > > U pkgsrc/doc/guide/files/pkgsrc.ent > > U pkgsrc/doc/guide/files/pkgsrc.xml > > U pkgsrc/doc/guide/files/platforms.xml > > U pkgsrc/doc/guide/files/plist.xml > > U pkgsrc/doc/guide/files/porting.xml > > U pkgsrc/doc/guide/files/regression.xml > > U pkgsrc/doc/guide/files/submit.xml > > U pkgsrc/doc/guide/files/tools.xml > > U pkgsrc/doc/guide/files/using.xml > > U pkgsrc/doc/guide/files/share/catalog > > U pkgsrc/doc/guide/files/share/default-html-chunk.xsl > > U pkgsrc/doc/guide/files/share/default-html.xsl > > U pkgsrc/doc/guide/files/share/default.dsl > > > > 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. Is there a useful stack overflow debugging tool for NetBSD? The valgrind port seems to have ground to a halt in 2007 :( (A tester on Linux couldn't reproduce the problem even with a 1MB stack size limit. I wonder why.) Thomas
