Package: libdng1 Version: 0.2.1-1 Severity: normal X-Debbugs-Cc: andrej.skvort...@gmail.com
Dear Maintainer, I've worked on Megapixels, that uses libdng. The application worked correctly until libtiff6 was upgraded from 4.5.1+git230720-5 to 4.7.0-3. After upgrade Megapixels crashes, when photo is taken with following backtrace: ``` Thread 8 "megapixels-pr" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xfffff18fbe00 (LWP 4174)] __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:105 warning: 105 ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory (gdb) bt #0 __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:105 #1 0x0000fffff606cf94 in ??? () at /lib/aarch64-linux-gnu/libtiff.so.6 #2 0x0000fffff606ec9c in TIFFVSetField () at /lib/aarch64-linux-gnu/libtiff.so.6 #3 0x0000fffff606ed94 in TIFFSetField () at /lib/aarch64-linux-gnu/libtiff.so.6 #4 0x0000fffff6d62f1c in libdng_write_with_thumbnail () at /lib/aarch64-linux-gnu/libdng.so.1 #5 0x0000fffff6d63340 in libdng_write () at /lib/aarch64-linux-gnu/libdng.so.1 #6 0x0000aaaaaaab77e0 in save_dng (image=0xffff96972010 "\004\004\004\005", '\004' <repeats 196 times>..., fname=0xfffff18fae10 "/tmp/megapixels.xYocPe/0.dng", count=0) at ../src/process_pipeline.c:1182 #7 0x0000aaaaaaab7840 in process_image_for_capture_bayer (image=0xffff96972010 "\004\004\004\005", '\004' <repeats 196 times>..., count=0) at ../src/process_pipeline.c:1238 #8 0x0000aaaaaaab78e8 in process_image_for_capture (image=0xffff96972010 "\004\004\004\005", '\004' <repeats 196 times>..., count=0) at ../src/process_pipeline.c:1252 #9 0x0000aaaaaaab7e4c in process_image (pipeline=0xaaaaaac3f050, buffer=0xffffd0002020) at ../src/process_pipeline.c:1393 #10 0x0000aaaaaaab3fbc in invoke_impl (args=0xffffd0002010) at ../src/pipeline.c:43 #11 0x0000fffff70cdf64 in ??? () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #12 0x0000fffff70d04dc in ??? () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #13 0x0000fffff70d10e4 in g_main_loop_run () at /lib/aarch64-linux-gnu/libglib-2.0.so.0 #14 0x0000aaaaaaab3ee4 in thread_main_loop (arg=0xaaaaaac3f050) at ../src/pipeline.c:18 #15 0x0000fffff69e5194 in start_thread (arg=0xfffff18fbe00) at ./nptl/pthread_create.c:447 #16 0x0000fffff6a4eacc in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76 ``` libdng1 in archive was built against libtiff6 4.5.1. libtiff6 was upgraded to 4.7.0 after libdng1 upload. After I've built libdng1 against newer libtiff6 (4.7.0) crash disappeared and megapixels works as expected. It looks like libdng1 needs rebuilt and reupload. -- System Information: Debian Release: trixie/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: arm64 (aarch64) Kernel: Linux 6.12-sunxi64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_CRAP Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libdng1 depends on: ii libc6 2.40-6 ii libtiff6 4.7.0-3 libdng1 recommends no packages. libdng1 suggests no packages. -- no debconf information