Am Donnerstag, 20. April 2006 20:07 schrieb Bennett Helm: > Program received signal SIGABRT, Aborted. > 0x90047e4c in kill () > (gdb) bt > #0 0x90047e4c in kill () > #1 0x9012dff4 in abort () > #2 0x001b5bac in __eprintf () at insetbibitem.C:160 > #3 0x00139890 in boost::filesystem::path::m_path_append > (this=0xbfffc560, [EMAIL PROTECTED], checker=0x1390c4 > <boost::filesystem::no_check(std::string const&)>) at /usr/include/ > gcc/darwin/3.3/c++/bits/basic_string.h:901 > #4 0x00139440 in boost::filesystem::path::path (this=0xbfffc560, > [EMAIL PROTECTED]) at path_posix_windows.cpp:203 > #5 0x001572d8 in lyx::support::isFileReadable ([EMAIL PROTECTED]) at > filetools.C:155 > #6 0x00151674 in (anonymous namespace)::normalize_name > ([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED]) at insetbibtex.C:116 > #7 0x00151eb4 in InsetBibtex::latex (this=0x1153c3b0, > [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at /usr/ > include/gcc/darwin/3.3/c++/bits/stl_alloc.h:652
OK, the backtrace tells us that the problem is probably somewhere in InsetBibtex. Could you try the attached patch and post the output with the problematic file please? Georg
Index: src/insets/insetbibtex.C =================================================================== --- src/insets/insetbibtex.C (Revision 13751) +++ src/insets/insetbibtex.C (Arbeitskopie) @@ -112,6 +112,7 @@ namespace { string normalize_name(Buffer const & buffer, OutputParams const & runparams, string const & name, string const & ext) { + lyxerr << "normalize_name name: `" << name << "' ext: `" << ext << "'\n"; string const fname = makeAbsPath(name, buffer.filePath()); if (absolutePath(name) || !isFileReadable(fname + ext)) return name; @@ -155,9 +156,11 @@ int InsetBibtex::latex(Buffer const & bu Tokenizer::const_iterator const begin = tokens.begin(); Tokenizer::const_iterator const end = tokens.end(); + lyxerr << "contents: `" << getContents() << "'\n"; std::ostringstream dbs; for (Tokenizer::const_iterator it = begin; it != end; ++it) { string const input = trim(*it); + lyxerr << "input: `" << input << "'\n"; string database = normalize_name(buffer, runparams, input, ".bib"); string const in_file = database + ".bib";