John McCabe-Dansted wrote:
> The backtrace is below:

I see. Seems it crashes here:

src/frontends/controllers/frontend_helpers.cpp (239ff):
vector<docstring> const authors = getVectorFromString(author, 
from_ascii("and "));
        if (authors.empty())
                return author;

        if (authors.size() == 2)
                return bformat(_("%1$s and %2$s"),
                        familyName(authors[0]), familyName(authors[1]));

        if (authors.size() > 2)
                return bformat(_("%1$s et al."), familyName(authors[0]));

        return familyName(authors[0]); // <-- here

could you add a debug statment and see what authors[0] returns, i.e. the 
attached patch?

Jürgen
Index: src/frontends/controllers/frontend_helpers.cpp
===================================================================
--- src/frontends/controllers/frontend_helpers.cpp	(Revision 18981)
+++ src/frontends/controllers/frontend_helpers.cpp	(Arbeitskopie)
@@ -247,6 +247,7 @@
 	if (authors.size() > 2)
 		return bformat(_("%1$s et al."), familyName(authors[0]));
 
+	lyxerr << "getAbbreviatedAuthor, authors[0]: " << to_utf8(authors[0]) << endl;
 	return familyName(authors[0]);
 }
 

Reply via email to