Bug in master (related to docbook changes?)

Kornel Benko kornel at lyx.org
Thu Jul 9 18:42:31 UTC 2020


Am Thu, 9 Jul 2020 20:02:18 +0200
schrieb Kornel Benko <kornel at lyx.org>:

> Am Thu, 9 Jul 2020 19:53:25 +0200
> schrieb Kornel Benko <kornel at lyx.org>:
> 
> > Am Thu, 9 Jul 2020 19:33:37 +0200
> > schrieb Kornel Benko <kornel at lyx.org>:
> >   
> > > Am Thu, 09 Jul 2020 19:02:07 +0200
> > > schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> > >     
> > > > Am Donnerstag, den 09.07.2020, 18:58 +0200 schrieb Kornel Benko:      
> > > > > I meant boost ...        
> > > > 
> > > > I use included boost as well.
> > > > 
> > > > Jürgen      
> > > 
> > > The only difference automake vs. cmake.
> > > 
> > > I tried the automake version, and now I see the crash.
> > > 
> > > 	Kornel    
> > 
> > Looking at the differences (ld lyx):
> > Automake uses external hunspell libhunspell-1.6.so.0, cmake uses internal version
> > 
> > Will try to compile with internal hunspell ...
> > 
> > 	Kornel
> >   
> 
> Still crashing :(
> 
> 	Kornel

Using gdb: looks like crashing while freeing memory for the string "senseless"
...
#8  lyx::InsetCaptionable::setCaptionType (this=this at entry=0x555557dc31d0,
type="senseless") at /usr/src/lyx/lyx-test/src/insets/InsetCaptionable.cpp:39
39		caption_type_ = type.empty() ? "senseless" : type;

Here 'type' itself is already set to "senseless".

#9  0x0000555555f746da in lyx::InsetFloat::setCaptionType
(this=this at entry=0x555557dc31d0, type="senseless")
at /usr/src/lyx/lyx-test/src/insets/InsetFloat.cpp:136 136
InsetCaptionable::setCaptionType(type);
#10 0x0000555555f74a06 in lyx::InsetFloat::InsetFloat (this=0x555557dc31d0,
buf=<optimized out>, params_str="") at /usr/src/lyx/lyx-test/src/insets/InsetFloat.cpp:129
129		setCaptionType(params_.type);
(gdb) p params_
$6 = {type = "senseless", placement = "document", alignment = "document", wide = false,
sideways = false, subfloat = false}

Sorry, don't know where params_.type was previously set.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200709/580ed8ea/attachment.asc>


More information about the lyx-devel mailing list