Koji Yokota wrote:
> I attach the backtrace when the program is crashed as additional
> information.
> 
> Koji
> 
> -------
> Program received signal SIGABRT, Aborted.
> 0x2958a897 in kill () from /lib/libc.so.6
> (gdb) bt
> #0  0x2958a897 in kill () from /lib/libc.so.6
> #1  0x2949d4f7 in raise () from /lib/libpthread.so.2
> #2  0x295892fb in abort () from /lib/libc.so.6
> #3  0x29448dc4 in __gnu_cxx::__verbose_terminate_handler ()
>    from /usr/local/lib/gcc-4.1.3/libstdc++.so.6
> #4  0x2944673a in __cxxabiv1::__terminate ()
>    from /usr/local/lib/gcc-4.1.3/libstdc++.so.6
> #5  0x29446782 in std::terminate ()
>    from /usr/local/lib/gcc-4.1.3/libstdc++.so.6
> #6  0x294468ba in __cxa_throw () from
> /usr/local/lib/gcc-4.1.3/libstdc++.so.6
> #7  0x0808d15e in boost::throw_exception<boost::io::bad_format_string>
> (e=Could not find the frame base for "void
> boost::throw_exception<boost::io::bad_format_string>(boost::io::bad_format_string
> const&)".
> )
>     at throw_exception.hpp:39
> #8  0x0808d367 in boost::io::detail::maybe_throw_exception (
>     exceptions=255 '', pos=25, size=28) at parsing.hpp:106
> #9  0x0808dea8 in boost::io::detail::parse_printf_directive<wchar_t,
> std::char_traits<wchar_t>, std::allocator<wchar_t>,
> __gnu_cxx::__normal_iterator<wchar_t const*, std::basic_string<wchar_t,
> std::char_traits<wchar_t>, std::allocator<wchar_t> > >,
> std::ctype<wchar_t> > ([EMAIL PROTECTED], [EMAIL PROTECTED],
>     fpar=0x87f1800, [EMAIL PROTECTED], offset=25, exceptions=255 '')
>     at parsing.hpp:333
> #10 0x0808ec0b in boost::basic_format<wchar_t,
> std::char_traits<wchar_t>, std::allocator<wchar_t> >::parse
> (this=0xbfbfe404, [EMAIL PROTECTED])
>     at parsing.hpp:437
> #11 0x0808f020 in basic_format (this=0xbfbfe404, [EMAIL PROTECTED])
>     at format_implementation.hpp:64
> #12 0x0855f043 in lyx::support::bformat<std::basic_string<wchar_t,
> std::char_traits<wchar_t>, std::allocator<wchar_t> > > ([EMAIL PROTECTED],
> [EMAIL PROTECTED])
>     at lstrings.C:875


Could you have a look at the sting passes to boost::basic_format?
support/lstrings.C  line 875


> #13 0x081a31f1 in lyx::LyX::queryUserLyXDir (this=0xbfbfe834,
>     explicit_userdir=false) at lyx_main.C:1095

If the above string is not empty goto lyx_main.C:1095
and check if boost doesn't like the format string:

bformat(_("You have specified a non-existent user "
   "LyX directory, %1$s.\n"
   "It is needed to keep your own configuration."),


Maybe removing \n or merging the lines helps.

Peter


> #14 0x081a45e6 in lyx::LyX::init (this=0xbfbfe834) at lyx_main.C:845
> #15 0x081a584f in lyx::LyX::init (this=0xbfbfe834, [EMAIL PROTECTED],
>     argv=0xbfbfe884) at lyx_main.C:535
> #16 0x081a60b9 in lyx::LyX::exec (this=0xbfbfe834, [EMAIL PROTECTED],
>     argv=0xbfbfe884) at lyx_main.C:439
> #17 0x080697c7 in main (argc=1, argv=0xbfbfe884) at main.C:48
> 

Reply via email to