QPrintPreviewDialog issue

Report any problems with CopperSpice
Post Reply
seasoned_geek
Posts: 254
Joined: Thu Jun 11 2020 12:18 pm

QPrintPreviewDialog issue

Post by seasoned_geek »

All,

https://www.logikalsolutions.com/wordpress/wp-content/uploads/2022/11/qfontengine-issue.png

I "think" this one is yours and I "think" it might be related to deletions and disconnects across threads/event loops getting queued. To recreate you need to have two different paths to get to the same method launching a QPringPreviewDialog. Go down one, view the dialog, close it, then immediately open another print preview. Somewhere between the second and fifth invoke, you crash with a double free error.

I didn't dig into the QFontEngineFT code to see if there is some "shared" resource that would get a queued deletion with the destruction of the dialog, but it feels like it.
barbara
Posts: 446
Joined: Sat Apr 04 2015 2:32 am
Contact:

Re: QPrintPreviewDialog issue

Post by barbara »

We have this on our to do list.
Post Reply