Error: attempt to compare iterators from different sequences

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sun May 19 18:14:58 UTC 2024


Le 19/05/2024 à 19:55, Scott Kostyshak a écrit :
> On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote:
>> Le 18/05/2024 à 17:28, Scott Kostyshak a écrit :
>>> When I compile LyX with some compiler debug flags and extra checks, I
>>> get the output below when trying to compile a .lyx file to PDF.
>>>
>>> Anything worth fixing here?
>>
>> Definitely. Could you run it under gdb and tell us where the error happened
>> to happen (if I may say)?
> 
> Backtrace attached.

I don't understand. The line is the second on in this test 
(Paragraph.cpp:1250):

	if (contains(hr_url_escape_chars, c) && runparams.use_hyperref && 
il.latexname() == "url"
	    && il.required().find("url") != il.required().end()) {

The error says: "attempt to compare iterators from different sequences."

How is this possible?

Indeed the error message gives two different addresses for the sequences.

JMarc



More information about the lyx-devel mailing list