[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [CRASH REPORT] QRCode


Le samedi 10 octobre 2026 à 09:00 +0200, Claus Dietrich a écrit :
> Am 10.10.26 um 08:36 schrieb Philippe Valarcher:
> > Hello,
> > 
> > Damned, my program crashed Gambas that way :
> > 
> > Here is what causes the problem :
> > 
> > Public Sub btnQuit_Click()
> > 
> >    If Not PictureBoxQRCode.Image = Null Then
> >       TextAreaInput.Clear()
> >       PictureBoxQRCode.Picture.Flush()
> >       PictureBoxQRCode.Image = Null
> >    Else
> >       Me.Close()
> >    Endif
> > 
> > End
> 
> Its not crashing here on Linux Mint 22.0 Cinnamon with Gambas 3.22.2.
> 
> What I found disturbing in the TextArea since some time and also
> appears 
> in this app are the continuous error messages in the IDE-console at
> each 
> text input event:
> 
> ....
> 
> QTextCursor::setPosition: Position '9' out of range
> QTextCursor::setPosition: Position '10' out of range
> QTextCursor::setPosition: Position '12' out of range
> QTextCursor::setPosition: Position '12' out of range
> QTextCursor::setPosition: Position '13' out of range
> QTextCursor::setPosition: Position '15' out of range
> QTextCursor::setPosition: Position '16' out of range
> QTextCursor::setPosition: Position '18' out of range
> QTextCursor::setPosition: Position '18' out of range
> QTextCursor::setPosition: Position '19' out of range
> QTextCursor::setPosition: Position '21' out of range
> QTextCursor::setPosition: Position '22' out of range
> QTextCursor::setPosition: Position '24' out of range
> 
> ....
> 
> This applies to QT only.
> 
> Best regards
> 
> Claus
> 
> 
> 

Dear Claus,
thank you for your answer.
At home, the IDE is only working with gtk since on my manjaro the QT6
is only on 6.11 not yet on 6.12 therefore I don't have those
QTextCursor::setPosition: Position 'X' out of range.
At closing it says : double free or corruption (!prev) and I don't know
how to correct this memory corruption.
Best regards.
-- 
valaquarus <valaquarus@xxxxxxxxx>

Follow-Ups:
Re: [CRASH REPORT] QRCodeBruce Steers <bsteers4@xxxxxxxxx>
References:
[CRASH REPORT] QRCodePhilippe Valarcher <philippe.valarcher@xxxxxxx>
Re: [CRASH REPORT] QRCodeClaus Dietrich <claus.dietrich@xxxxxxxxxx>