Crash while trying to resize canvas to match a very long layer GIMP 2.10.14
Hello Dev team, this is my first time to submit a crash report. I have been using GIMP for several years, and am currently using GIMP 2.10 as a portable app on Windows 10. System Model Acer Aspire A514-54G with 8GB RAM (I use the portable version since it seems MUCH quicker to load, rather than waiting forever for the desktop version to parse through all the fonts before loading, which takes multiple minutes on my setup with only about 4-5 additional fonts added to the windows default set.....maybe thats a different issue to deal with later)
This crash happened trying to deal with what was a 162-page pdf book which had improper page breaks, so I was attempting to use a combination of python plugins (ofn-layer-tiles.py and ofn-export-layers.py) to merge the pages together into one long column, hoping to be able to split off the layers along proper page break boundaries, (pdf file is here: https://kupdf.net/download/moran-patrick-r-2002-lexicarry-pictures-for-learning-languages-3rd-ed-pdf_63472af1e2b6f56753386da0_pdf
I impported the pdf as layers with 200 dpi resolution
I was able to run Layer>tiles>Join Tiles with one column and it seemed to work (1.Columns given/compute rows 2.Rows or Columns:1 3.order: Rows first 4.stack order:from top 5.final image:flatten 6. resize image:no change) , however I could see that GIMP was having a difficult time rendering the graphics (it took about a minute or more for it to display properly). But my image boundary was only the size of one page, so my next step was to Fit canvas to layer size (I can't even fathom how many pixels in height that would be since the single page dimensions were in the range of 2000x3000 px). After several minutes of trying valiantly, GIMP encountered errors (sorry I didn't record those) which were very evident visually in the final long image rendering, and then it crashed and gave me this error report to send back to you. Hope this helps.
[update after trying to semi-replicate the crash - I imported the pdf again but with lower 150 dpi vs the first time when I imported the pdf at 200 dpi. I again was able to join all pages into one superlong one, but I changed the last setting in the plugin to resize image:'fit to result' to match the canvas size to the new size automatically for me. After quite a wait, GIMP was able to give me the full, very long image. This time with 150 dpi resolution, the height of the image is around 330,000 pixels. There was still an improper rendering of some of the final pages, wherein it looks as if the pages are sliced into about 14 vertical strips and every other strip is interspersed with a strip from one of the first few pages, but that might be a fault in the script joining algorithm, I'm not sure. The very bizzare thing is that selecting these interspered regions and setting the Color>threshold value to zero, several of the strips remain in black, while all the rest of the selection has turned the expected pure white. ]
GNU Image Manipulation Program version 2.10.14
git-describe: GIMP_2_10_12-511-ga4f55d6c7e
C compiler:
Using built-in specs.
COLLECT_GCC=W:msys64-gtk2mingw64ingcc.exe
COLLECT_LTO_WRAPPER=W:/msys64-gtk2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-9.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++ --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --enable-plugin --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 9.2.0 (Rev2, Built by MSYS2 project)
using babl version 0.1.72 (compiled against version 0.1.72)
using GEGL version 0.4.19 (compiled against version 0.4.18)
using GLib version 2.62.2 (compiled against version 2.62.2)
using GdkPixbuf version 2.40.0 (compiled against version 2.40.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.43.0 (compiled against version 1.43.0)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)
fatal error: unhandled exception
Stack trace:
-------------------
Error occurred on Friday, August 4, 2023 at 11:28:07.
gimp-2.10.exe caused an Access Violation at location 000000007003EDB4 in module libgegl-0.4-0.dll Writing to location 00000001643CC000.
AddrPC Params
000000007003EDB4 0000000000000004 00007FFF27A7E54B 000000000000004B libgegl-0.4-0.dll!gegl_compression_nop_init
000000007003F0BB 000000000000004B 0000000003026C90 0000000000000001 libgegl-0.4-0.dll!gegl_compression_nop_init
0000000070053A29 0000000000000000 0000000000835BE4 00000102F77904B1 libgegl-0.4-0.dll!gegl_tile_backend_ram_stats
0000000070055EA5 0000000000000000 0000000000000005 0000000000F0D3C0 libgegl-0.4-0.dll!gegl_tile_handler_cache_insert
0000000070057093 00000000017F0000 0000000000F0D359 0000000000000010 libgegl-0.4-0.dll!gegl_tile_handler_log_get_type
000000007005695C 00000000000001F8 00000000649E5E4F 0000000000F0D460 libgegl-0.4-0.dll!gegl_tile_handler_empty_new_tile
00000000700368E3 0000000000000004 0000000000F0D438 0000000000000000 libgegl-0.4-0.dll!gegl_buffer_swap_has_file
0000000070057C01 0000000029C83D80 00000000649FCC8D 00000000000000EB libgegl-0.4-0.dll!gegl_tile_handler_get_tile
00000000700328B6 00000001AAD36A60 0000000000000000 000000005BACCB00 libgegl-0.4-0.dll!gegl_buffer_iterator_next
00000000008DFC78 0000000029C83D80 0000000028FB0200 0000000028FB0204 gimp-2.10.exe!0x4dfc78
000000000076D741 00000000030331D0 000000019A76F720 000000019A76F720 gimp-2.10.exe!0x36d741
00000000007F6232 00000000030331D0 0000000000F0D9E0 0000000000000001 gimp-2.10.exe!0x3f6232
000000000050CA41 0000000028DECB40 00000000005213D6 0000000000F0D838 gimp-2.10.exe!0x10ca41
0000000000520FD4 0000000000F0D820 0000000064A48EB6 0000000000000001 gimp-2.10.exe!0x120fd4
0000000067F068D9 0000000000000004 0000000067F2D008 0000000000F0D9A0 libgobject-2.0-0.dll!g_closure_invoke
0000000067F197E9 00000000030984F0 0000000000000000 000000007E4751F0 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F21C96 000000007E4751F0 00000000007F7FC5 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 0000000000000000 0000000000000000 0000000000000000 libgobject-2.0-0.dll!g_signal_emit
00000000008079E4 000000005BACCB00 0000000000000000 0000000000000000 gimp-2.10.exe!0x4079e4
0000000000803C36 000000005BACCB00 00000000050815C0 0000000000000000 gimp-2.10.exe!0x403c36
00000000008052ED 0000000003066CC0 0000000064A48EB6 000000005BACCB00 gimp-2.10.exe!0x4052ed
00000000007F8125 0000000028DECB40 0000000000000002 0000000026FFAD40 gimp-2.10.exe!0x3f8125
00000000007FF509 0000000000F0DF00 0000000000000000 0000000000000002 gimp-2.10.exe!0x3ff509
0000000067F067F7 0000000000F0DF00 00000000229EF6E0 0000000000F0E100 libgobject-2.0-0.dll!g_closure_invoke
0000000067F1994B 00000000017FCDB0 0000000000000000 00000000294E44E0 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F21C96 00000000294E44E0 0000000000000000 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 0000000000F0E460 0000000000F0E460 0000000000F0E460 libgobject-2.0-0.dll!g_signal_emit
0000000000850328 0000000000000002 0000000000000000 0000000000000002 gimp-2.10.exe!0x450328
0000000000850BAD 0000000000F0E3A0 0000000000000000 0000000000000002 gimp-2.10.exe!0x450bad
0000000067F068D9 0000000000F0E3A0 0000000064944AD3 000000000000007B libgobject-2.0-0.dll!g_closure_invoke
0000000067F1994B 0000000026F24750 0000000000000000 000000007DC29270 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F21C96 000000007DC29270 000000007DC29270 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 000000007E273160 0000000000816DD9 0000000000000000 libgobject-2.0-0.dll!g_signal_emit
0000000000850328 0000000000000000 000000007E4751F0 0000000029C7E320 gimp-2.10.exe!0x450328
0000000000851003 0000000000000000 00000000229EF6E0 0000000000000000 gimp-2.10.exe!0x451003
00000000007E9D27 0000000000000002 0000000067F04F14 000000007E4751F0 gimp-2.10.exe!0x3e9d27
00000000007EA268 0000000000000000 0000000000000002 0000000000000002 gimp-2.10.exe!0x3ea268
000000000041D531 00000102F77933E1 0000000028F415D8 0000000000000000 gimp-2.10.exe!0x1d531
0000000067F068D9 0000000000000020 000000006C370533 000000012631C120 libgobject-2.0-0.dll!g_closure_invoke
0000000067F197E9 0000000025A00D70 0000000000000000 00000000263528B0 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F21C96 00000000263528B0 0000000000000000 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 0000000000000000 0000000000000000 0000000000000001 libgobject-2.0-0.dll!g_signal_emit
0000000000578BF1 0000000000000001 00000000263528B0 0000000000F0ED80 gimp-2.10.exe!0x178bf1
0000000067F068D9 0000000000F0EE10 0000000061859900 0000000000F0ED80 libgobject-2.0-0.dll!g_closure_invoke
0000000067F1994B 0000000025A01400 0000000000000000 00000000263528B0 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F21C96 00000000263528B0 0000000067F0AFD1 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 0000000000000000 000000006178BF5A 0000000000000001 libgobject-2.0-0.dll!g_signal_emit
000000006178B6F1 0000000025F00A40 00000000618595DC 0000000000000000 libgtk-win32-2.0-0.dll!gtk_action_new
0000000067F068D9 0000000000000001 00000000259FC770 0000000000000020 libgobject-2.0-0.dll!g_closure_invoke
0000000067F1994B 00000000263FDC80 0000000000000000 00000000264AA520 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F21C96 00000000264AA520 0000000000F0F760 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 00000000264AA520 00007FFF25A0003B 0000000000000000 libgobject-2.0-0.dll!g_signal_emit
0000000061956A14 0000000005059A60 0000000061857EF3 000000000016A868 libgtk-win32-2.0-0.dll!gtk_widget_activate
000000006185A19B 0000000000F0F4E8 0000000000000028 00000000229EFAA0 libgtk-win32-2.0-0.dll!gtk_menu_shell_activate_item
000000006185A416 0000000000000202 00007FFF26DE3D23 0000000000000202 libgtk-win32-2.0-0.dll!gtk_menu_shell_activate_item
00000000618480F4 000000000016A868 0000000000F0F610 0000000000000000 libgtk-win32-2.0-0.dll!gtk_marshal_VOID__UINT_STRING
0000000067F068D9 00000000000001E0 0000000300000000 0000000000000000 libgobject-2.0-0.dll!g_closure_invoke
0000000067F18EEA 00000000051EB0A0 0000000000000000 00000000264A3480 libgobject-2.0-0.dll!g_signal_handler_disconnect
0000000067F214DA 00000000264A3480 000000006195753A 0000000000000000 libgobject-2.0-0.dll!g_signal_emit_valist
0000000067F221F8 000000006C378140 00000000619588DA 00000000264A3480 libgobject-2.0-0.dll!g_signal_emit
0000000061957AD7 00000000264AA520 00000000264A3480 000000006C378140 libgtk-win32-2.0-0.dll!gtk_widget_translate_coordinates
000000006184633C 00007FFF277EA3E0 000000000000000E 0000000028F41BD0 libgtk-win32-2.0-0.dll!gtk_propagate_event
00000000618466E4 0000000003066CC0 0000000064A48EB6 0000000022A7FC90 libgtk-win32-2.0-0.dll!gtk_main_do_event
000000006C378198 0000000000F0FAE8 0000000000000000 00000000030331D0 libgdk-win32-2.0-0.dll!gdk_win32_drawable_get_handle
00000000649F75E3 0000000000000012 000000002682BE50 0000000003087340 libglib-2.0-0.dll!g_main_context_dispatch
00000000649F7818 000000010090614C 000000000040262F 00000000030331D0 libglib-2.0-0.dll!g_main_context_dispatch
00000000649F7C94 0000000000000000 0000000000000000 0000000000000000 libglib-2.0-0.dll!g_main_loop_run
0000000000401A44 0000000000000032 0000000002FD3F70 00000000017F0860 gimp-2.10.exe!0x1a44
000000000090167F 0000000000000000 0000000002FD3BC0 0000000000CC7168 gimp-2.10.exe!0x50167f
00000000004013B4 0000000000000000 0000000000000000 0000000000000000 gimp-2.10.exe!0x13b4
00000000004014DB 0000000000000000 0000000000000000 0000000000000000 gimp-2.10.exe!0x14db
00007FFF27737614 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk
00007FFF27EA26B1 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart
gimp-2.10.exe 2.10.14.0
ntdll.dll 10.0.19041.3155
KERNEL32.DLL 10.0.19041.3155
KERNELBASE.dll 10.0.19041.3155
msvcrt.dll 7.0.19041.546
ole32.dll 10.0.19041.2965
ucrtbase.dll 10.0.19041.789
libgimpmath-2.0-0.dll
libgimpcolor-2.0-0.dll
libgimpconfig-2.0-0.dll
RPCRT4.dll 10.0.19041.3208
combase.dll 10.0.19041.2788
libgimpthumb-2.0-0.dll
libgimpwidgets-2.0-0.dll
libgimpmodule-2.0-0.dll
GDI32.dll 10.0.19041.2913
USER32.dll 10.0.19041.2788
win32u.dll 10.0.19041.3208
gdi32full.dll 10.0.19041.2913
libgimpbase-2.0-0.dll
msvcp_win.dll 10.0.19041.789
SHELL32.dll 10.0.19041.3208
dbghelp.dll 6.3.9600.17298
ADVAPI32.dll 10.0.19041.2913
sechost.dll 10.0.19041.2913
libglib-2.0-0.dll 2.62.2.0
libgobject-2.0-0.dll 2.62.2.0
WS2_32.dll 10.0.19041.546
libbabl-0.1-0.dll
libgio-2.0-0.dll 2.62.2.0
libcairo-2.dll
libgdk_pixbuf-2.0-0.dll 2.40.0.0
libintl-8.dll 0.19.8.0
libgegl-0.4-0.dll
liblcms2-2.dll
libgmodule-2.0-0.dll 2.62.2.0
libgdk-win32-2.0-0.dll 2.24.32.0
IMM32.dll 10.0.19041.2673
libgtk-win32-2.0-0.dll 2.24.32.0
libpango-1.0-0.dll 1.43.0.0
libpangocairo-1.0-0.dll 1.43.0.0
comdlg32.dll 10.0.19041.1806
shcore.dll 10.0.19041.1865
exchndl.dll 0.8.2.0
libfontconfig-1.dll
PSAPI.DLL 10.0.19041.546
libfreetype-6.dll 2.10.1.0
SHLWAPI.dll 10.0.19041.2075
libgegl-npd-0.4.dll
libgexiv2-2.dll
libharfbuzz-0.dll
libmypaint-1-4-0.dll
libpangoft2-1.0-0.dll 1.43.0.0
zlib1.dll
libffi-6.dll
libwinpthread-1.dll 1.0.0.0
libpcre-1.dll
MSIMG32.dll 10.0.19041.1466
DNSAPI.dll 10.0.19041.3031
IPHLPAPI.DLL 10.0.19041.2788
libpixman-1-0.dll
libpng16-16.dll
libiconv-2.dll 1.16.0.0
gdiplus.dll 10.0.19041.2251
libfribidi-0.dll
libthai-0.dll
COMCTL32.dll 5.82.19041.1110
libpangowin32-1.0-0.dll 1.43.0.0
libexpat-1.dll
libbz2-1.dll
VERSION.dll 10.0.19041.546
libatk-1.0-0.dll 2.34.1.0
WINSPOOL.DRV 10.0.19041.3031
libstdc++-6.dll
libexiv2.dll
USP10.dll 10.0.19041.546
libgraphite2.dll
libjson-c-4.dll
libdatrie-1.dll
libgcc_s_seh-1.dll
mgwhelp.dll 0.8.2.0
NSI.dll 10.0.19041.610
windows.storage.dll 10.0.19041.3208
Wldp.dll 10.0.19041.2788
kernel.appcore.dll 10.0.19041.546
bcryptPrimitives.dll 10.0.19041.2486
uxtheme.dll 10.0.19041.2193
OLEAUT32.dll 10.0.19041.3208
CFGMGR32.dll 10.0.19041.3155
clbcatq.dll 2001.12.10941.16384
propsys.dll 7.0.19041.1741
profapi.dll 10.0.19041.3155
MSCTF.dll 10.0.19041.2673
avx2-int8.dll
cairo.dll
CIE.dll
double.dll
fast-float.dll
float.dll
gegl-fixups.dll
gggl-lies.dll
gggl-table-lies.dll
gggl-table.dll
gggl.dll
gimp-8bit.dll
grey.dll
half.dll
HCY.dll
HSL.dll
HSV.dll
naive-CMYK.dll
simple.dll
sse-half.dll
sse2-float.dll
sse2-int16.dll
sse2-int8.dll
sse4-int8.dll
two-table.dll
u16.dll
u32.dll
ycbcr.dll
gegl-core.dll
libjson-glib-1.0-0.dll
bcrypt.dll 10.0.19041.3208
CRYPTSP.dll 10.0.19041.546
rsaenh.dll 10.0.19041.1052
CRYPTBASE.dll 10.0.19041.546
winhttp.dll 10.0.19041.3031
exr-load.dll
libIlmImf-2_4.dll
libIex-2_4.dll
libIlmThread-2_4.dll
libImath-2_4.dll
libHalf-2_4.dll
gegl-common-gpl3.dll
gegl-common.dll
gif-load.dll
jp2-load.dll
libjasper-4.dll
libjpeg-8.dll
jpg-load.dll
pixbuf-load.dll
png-load.dll
ppm-load.dll
raw-load.dll
libraw-19.dll
WSOCK32.dll 10.0.19041.1
rgbe-load.dll
svg-load.dll
librsvg-2-2.dll
libcroco-0.6-3.dll
libxml2-2.dll
liblzma-5.dll 5.2.4.0
text.dll
tiff-load.dll
libtiff-5.dll
libzstd.dll
webp-load.dll
libwebp-7.dll
exr-save.dll
jpg-save.dll
npy-save.dll
pixbuf-save.dll
png-save.dll
ppm-save.dll
rgbe-save.dll
sdl2-display.dll
SDL2.dll 2.0.10.0
SETUPAPI.dll 10.0.19041.3155
WINMM.dll 10.0.19041.546
tiff-save.dll
webp-save.dll
gegl-common-cxx.dll
lcms-from-profile.dll
npd.dll
path.dll
transformops.dll
vector-fill.dll
vector-stroke.dll
gegl-generated.dll
matting-levin.dll
libumfpack.dll
libamd.dll
libsuitesparseconfig.dll
libopenblas.dll
libcholmod.dll
libgfortran-5.dll
libgomp-1.dll
libmetis.dll
libcamd.dll
libccolamd.dll
libcolamd.dll
libquadmath-0.dll
seamless-clone.dll
libgegl-sc-0.4.dll
seamless-clone-compose.dll
libwimp.dll
libpixmap.dll
libpixbufloader-png.dll
libpixbufloader-svg.dll
mscms.dll 10.0.19041.746
ColorAdapterClient.dll 10.0.19041.546
USERENV.dll 10.0.19041.3155
icm32.dll 10.0.19041.546
textinputframework.dll 10.0.19041.3086
CoreMessaging.dll 10.0.19041.2193
CoreUIComponents.dll 10.0.19041.546
ntmarta.dll 10.0.19041.546
wintypes.dll 10.0.19041.2788
shfolder.dll 10.0.19041.1
Wintab32.dll 1.0.5.10
MPR.dll 10.0.19041.1806
WTSAPI32.dll 10.0.19041.546
Wacom_Tablet.dll 6.3.42.2
apphelp.dll 10.0.19041.2913
TextShaping.dll
comctl32.dll 6.10.19041.1110
WindowsCodecs.dll 10.0.19041.1706
Ninput.dll 10.0.19041.546
WININET.dll 11.0.19041.3031
iertutil.dll 11.0.19041.3208
SspiCli.dll 10.0.19041.2130
ondemandconnroutehelper.dll 10.0.19041.2311
mswsock.dll 10.0.19041.546
WINNSI.DLL 10.0.19041.546
urlmon.dll 11.0.19041.3155
srvcli.dll 10.0.19041.3155
netutils.dll 10.0.19041.546
rasadhlp.dll 10.0.19041.546
fwpuclnt.dll 10.0.19041.3155
schannel.DLL 10.0.19041.3031
mskeyprotect.dll 10.0.19041.2788
NTASN1.dll 10.0.19041.546
CRYPT32.dll 10.0.19041.3208
MSASN1.dll 10.0.19041.2251
DPAPI.DLL 10.0.19041.546
WINTRUST.dll 10.0.19041.2913
cryptnet.dll 10.0.19041.906
ncrypt.dll 10.0.19041.2788
ncryptsslp.dll 10.0.19041.2846
dhcpcsvc6.DLL 10.0.19041.2673
dhcpcsvc.DLL 10.0.19041.2673
webio.dll 10.0.19041.3031
Windows 10.0.19045
DrMingw 0.8.2