Current-Users archive

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

sigil core dump in locale code



Hi!

I've tried updating sigil to 0.3.4, but it dumps core during startup
in locale-related code (on NetBSD-5.99.45/amd64):

# sigil
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
zsh: abort (core dumped)  sigil
# gdb sigil sigil.core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64--netbsd"...
Reading symbols from /usr/pkg/qt4/lib/libQtSvg.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libQtSvg.so.4
Reading symbols from /usr/pkg/qt4/lib/libQtWebKit.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libQtWebKit.so.4
Reading symbols from /usr/pkg/qt4/lib/libQtGui.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libQtGui.so.4
Reading symbols from /usr/pkg/qt4/lib/libQtXml.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libQtXml.so.4
Reading symbols from /usr/pkg/qt4/lib/libQtXmlPatterns.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libQtXmlPatterns.so.4
Reading symbols from /usr/pkg/qt4/lib/libQtNetwork.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libQtNetwork.so.4
Reading symbols from /usr/pkg/qt4/lib/libQtCore.so.4...bdone.
Loaded symbols for /usr/pkg/qt4/lib/libQtCore.so.4
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libstdc++.so.7...done.
Loaded symbols for /usr/lib/libstdc++.so.7
Reading symbols from /usr/lib/libm.so.0...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/pkg/lib/libpng15.so.15...done.
Loaded symbols for /usr/pkg/lib/libpng15.so.15
Reading symbols from /usr/X11R7/lib/libSM.so.7...done.
Loaded symbols for /usr/X11R7/lib/libSM.so.7
Reading symbols from /usr/X11R7/lib/libICE.so.7...done.
Loaded symbols for /usr/X11R7/lib/libICE.so.7
Reading symbols from /usr/X11R7/lib/libXrender.so.2...done.
Loaded symbols for /usr/X11R7/lib/libXrender.so.2
Reading symbols from /usr/X11R7/lib/libfreetype.so.7...done.
Loaded symbols for /usr/X11R7/lib/libfreetype.so.7
Reading symbols from /usr/X11R7/lib/libfontconfig.so.2...done.
Loaded symbols for /usr/X11R7/lib/libfontconfig.so.2
Reading symbols from /usr/X11R7/lib/libXext.so.7...done.
Loaded symbols for /usr/X11R7/lib/libXext.so.7
Reading symbols from /usr/X11R7/lib/libX11.so.7...tdone.
Loaded symbols for /usr/X11R7/lib/libX11.so.7
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/pkg/qt4/lib/libjscore.so.4...done.
Loaded symbols for /usr/pkg/qt4/lib/libjscore.so.4
Reading symbols from /usr/X11R7/lib/libexpat.so.2...done.
Loaded symbols for /usr/X11R7/lib/libexpat.so.2
Reading symbols from /usr/X11R7/lib/libXdmcp.so.7...done.
Loaded symbols for /usr/X11R7/lib/libXdmcp.so.7
Reading symbols from /usr/X11R7/lib/libXau.so.7...done.
Loaded symbols for /usr/X11R7/lib/libXau.so.7
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `sigil'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ff82e80aa in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff82e80aa in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff82e7a1e in abort ()
    at /archive/cvs/src/lib/libc/stdlib/abort.c:74
#2  0x00007f7ff8ebc47c in __gnu_cxx::__verbose_terminate_handler ()
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/libsupc++/vterminate.cc:97
#3  0x00007f7ff8ec05a7 in __cxxabiv1::__terminate (handler=0x1)
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/libsupc++/eh_terminate.cc:43
#4  0x00007f7ff8ec05dd in std::terminate ()
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/libsupc++/eh_terminate.cc:53
#5  0x00007f7ff8ec0550 in __cxa_throw (obj=<value optimized out>,
    tinfo=<value optimized out>, dest=<value optimized out>)
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/libsupc++/eh_throw.cc:77
#6  0x00007f7ff8ebaae7 in std::__throw_runtime_error (
    __s=<value optimized out>)
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/src/functexcept.cc:83
#7  0x00007f7ff8eba299 in std::locale::facet::_S_create_c_locale (
    __cloc=<value optimized out>, __s=<value optimized out>)
    at c++locale.cc:141
#8  0x00007f7ff8ea66f3 in _Impl (this=0x7f7ffdb0a260,
    __s=0x6 <Address 0x6 out of bounds>, __refs=<value optimized out>)
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/src/localename.cc:185
#9  0x00007f7ff8ea7676 in locale (this=0xc32788, __s=<value optimized out>)
    at /archive/cvs/src/gnu/dist/gcc4/libstdc++-v3/src/localename.cc:131
#10 0x000000000073b5ba in (anonymous namespace)::default_locale ()
#11 0x000000000073b5e9 in (anonymous namespace)::path_locale ()
#12 0x000000000073b644 in boost::filesystem3::path::wchar_t_codecvt_facet ()
#13 0x000000000073c0ec in __static_initialization_and_destruction_0 ()
#14 0x0000000000426c06 in _start ()


I have LC_CTYPE set to "de_DE.UTF-8", but no other locale related
environment variable, AFAICT.

Ideas?
 Thomas

Attachment: sigil-pkg.tar.gz
Description: application/tar-gz



Home | Main Index | Thread Index | Old Index