View Single Post
Old 12-06-2014, 02:03 PM   #22
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,705
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Doitsu View Post
@KevinH:The official 64bit Windows version crashes in the same way, but I had to repeat the procedure. I.e. I loaded crutledge's epub, activated Book View and the Preview window, deleted all images (without a crash), re-opened the same file and deleted again all images. When I tried to re-open the same file one more time Sigil crashed.
(The Windows version won't crash either, if Code View mode is enabled.)
I was able to get this to happen with the 32 bit version on Windows Vista, too (with crutledge's epub). But, it crashes every time as soon as I confirm the second "delete all images." I don't need to reopen Sigil a third time to get the crash.

EDIT: actually, it only needs to be multiple images if the cover page is the file that's rendering in preview (with crutledge's epub). And even then, you only need to highlight the cover image and one other (any other) image file to make the crash happen. Doesn't need to be all images

If you have any other page open (not the one with the cover semantic) in book view (and preview) that contains an image, you only need to delete THAT ONE image file to make the crash happen (provided you make sure that page is open in book view and preview on the subsequent re-open/delete)

EDIT2: I can do the same thing with rosshalde's epub on Windows, too. But not with other epubs I try.

EDIT3: Believe it or not, the difference is PNG. The crashes seem to be happening when PNGs are being rendered in Book View (with preview widget open) at the same time they're being deleted. It doesn't happen with JPEGs. Sigil seems to be doing something different with that cover-page (the one with the cover semantic) because it alone, doesn't trigger the crash.

Not sure why it takes the "reopen" on Linux/Windows," but this all appears to all be very-much connected to rosshalde's OS X issue ... at least in my mind.

1) epub with PNGs
2) Have a page that contains a PNG (other than the cover page) open in Book View (with Preview Widget open)
3) Delete that PNG (that's in the page being rendered in Book View) in Book Browser.

The crash may happen right there on MAC or you may need to reopen the same epub from the file menu (discard changes) and repeat steps 2 & 3 on Windows/Linux.

EDIT4: I get immediate segfaults/closure on Linux 64-bit immediately upon confirming the file delete when launching Sigil via the *.desktop file. I need to restart Sigil and repeat steps 2&3 to get the segfault when launching from the command-line.

EDIT5: Man ... I'm spent.

TL;DR -- PNG, Book View, Preview, Delete PNG that's rendering (in any other page than the cover-page) = bad

Last edited by DiapDealer; 12-06-2014 at 02:47 PM.
DiapDealer is offline   Reply With Quote