Bug 506246

Summary: app crashes, no meaningful error, performing directory merge
Product: [Applications] kdiff3 Reporter: maimed_camping819
Component: applicationAssignee: michael <reeves.87>
Status: REPORTED ---    
Severity: crash CC: maimed_camping819
Priority: NOR    
Version First Reported In: 1.12.3   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: repeating the reprocution, just selecting "A" for everything, but with the kde sdk and some cli debug flags.

Description maimed_camping819 2025-06-27 03:21:19 UTC
Created attachment 182713 [details]
repeating the reprocution, just selecting "A" for everything, but with the kde sdk and some cli debug flags.

SUMMARY
doing a merge of 3 folders, to a separate output folder.  No change in settings, just a lot of clicking the output column to pick a single unchanged version from one of the trees.

STEPS TO REPRODUCE
1. find 3 trees of files to compare.  in my case, I downloaded, unpacked, and compared three large trees of files & settings - text, lua, images, compiled code, etc.  The unpacked output is half a gig, but if you want to try the same stuff it's not PII, i've attached it.  EDIT: cant, 4mb limit.  this is the contents https://github.com/EdgeTX/edgetx-sdcard/releases/tag/v2.11.0 (bw128x64 ...) and https://drive.google.com/file/d/1nHf8l2sZBdANVupf_XTjU3lSxp4ai-Hh/view?usp=sharing (`SD Contents` folder) ... but I have no reason to believe there is anything unique about those.
2. set all the conflicts to "A".  in the original reproduction, i spent a lot of time selecting A, B, or C, and doing a very minor amount bit of manual merge.  However, I was able to reproduce it again, with `kde sdk` and the debug flags (bash log attached) - just selecting "A" for everything
3. start / "do it" the merge

OBSERVED RESULT
the first time, with my "real" merge choices, some output is generated in the output dir, but the app crashes and the majority is missing from output.  Repeating (attached log) with debug output i just selected "A" and nothing is created in the output dir.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
`flatpak install flathub org.kde.kdiff3` --> v1.12.3

ubuntu 22.04, mostly stock except using i3 (x11). thus gnome desktop not kde.  no `plasmashell` etc installed locally; here is all the flatpak blobs installed under `kde`

kdiff3 given full access to `/tmp` via flatseal - and it does demonstrate it's able to read AND write to my folder (in the initial reproduction it did a "little bit" of the merge into /tmp/output.

```bash
flatpak list | grep -i kde
Adwaita theme	org.kde.KStyle.Adwaita		5.15-21.08	flathub	system
Adwaita theme	org.kde.KStyle.Adwaita		5.15-22.08	flathub	system
Adwaita theme	org.kde.KStyle.Adwaita		5.15-23.08	flathub	system
Adwaita theme	org.kde.KStyle.Adwaita		5.15-24.08	flathub	system
Adwaita theme	org.kde.KStyle.Adwaita		6.6	flathub	system
Adwaita theme	org.kde.KStyle.Adwaita		6.7	flathub	system
Adwaita theme	org.kde.KStyle.Adwaita		6.8	flathub	system
KDE Application Platform	org.kde.Platform		5.15-24.08	flathub	system
KDE Application Platform	org.kde.Platform		6.7	flathub	system
KDE Application Platform	org.kde.Platform		6.8	flathub	system
KDE Application Platform	org.kde.Platform		6.9	flathub	system
QGnomePlatform	org.kde.PlatformTheme.QGnomePlatform		5.15-21.08	flathub	system
QGnomePlatform	org.kde.PlatformTheme.QGnomePlatform		5.15-22.08	flathub	system
QtSNI	org.kde.PlatformTheme.QtSNI		5.15-21.08	flathub	system
QAdwaitaDecorations	org.kde.WaylandDecoration.QAdwaitaDecorations		5.15-22.08	flathub	system
QGnomePlatform-decoration	org.kde.WaylandDecoration.QGnomePlatform-decoration		5.15-21.08	flathub	system
QGnomePlatform-decoration	org.kde.WaylandDecoration.QGnomePlatform-decoration		5.15-22.08	flathub	system
KDE	org.kde.kdiff3	1.12.3	stable	flathub	system
KDE	org.kde.okular	25.04.1	stable	flathub	system
```

ADDITIONAL INFORMATION

```bash
Jun 26 20:44:12 xyz-dev1 systemd[4951]: app-flatpak-org.kde.kdiff3-2157945.scope: Consumed 15.763s CPU time.
Jun 26 20:44:12 xyz-dev1 systemd[1]: systemd-coredump@100-2162841-0.service: Deactivated successfully.
Jun 26 20:44:12 xyz-dev1 systemd-coredump[2162845]: Process 2157960 (kdiff3) of user 1000 dumped core.
                                                     
                                                     Found module /app/bin/kdiff3 with build-id: 2c333b28c4068e4badcaf8fbfb7485499a1fff2e
                                                     Found module /usr/lib/x86_64-linux-gnu/libopus.so.0.10.1 with build-id: 1e0b1a64895d8faace8072c969b6737930aa9619
                                                     Found module /usr/lib/x86_64-linux-gnu/libFLAC.so.12.1.0 with build-id: ba04b71dd5c453799dfb37d2f234c7349c2f2b2c
                                                     Found module /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.12 with build-id: f619bb386011724e47fe1b8d23ce3be17e8dec69
                                                     Found module /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.37 with build-id: d4e9694c390a7c4399a3a122fb2f6f1f547b9c74
                                                     Found module /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-17.0.so with build-id: cfc6e1eee8fd93fa27ed416c7b5c81f>
                                                     Found module /usr/lib/x86_64-linux-gnu/libpulse.so.0.24.3 with build-id: ce07ef9f2e440f65d1b4afe476205f33d0212301
                                                     Found module /usr/lib/x86_64-linux-gnu/libogg.so.0.8.5 with build-id: e5172bfc605a27437f4d2bccc747dc58d004470c
                                                     Found module /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.9 with build-id: 5eac79232d1ab1bf21a9a08c3f4ab1a191ef95d7
                                                     Found module /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.2 with build-id: ff13d6fb2b55ca289ad3011fc2408ea9747f6ff8
                                                     Found module /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.8 with build-id: 4ba96ecbc512367bac0cbec5b2b0b4498abb0a1a
                                                     Found module /usr/lib/x86_64-linux-gnu/libcanberra.so.0.2.5 with build-id: 9c744e598dc61c9f0c4448e4d7a40c5f61ba7ee8
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6Notifications.so.6.13.0 with build-id: 3750b1e5997cfc437e69b90f6d0b1c90c04>
                                                     Found module /usr/lib/plugins/iconengines/libqsvgicon.so with build-id: b935556c6343c05ccb30be0f429165d149dc859a
                                                     Found module /usr/lib/x86_64-linux-gnu/libwebpmux.so.3.1.0 with build-id: 795d0d2c7618af98c6ece0e3d60cf42571927435
                                                     Found module /usr/lib/x86_64-linux-gnu/libwebpdemux.so.2.0.15 with build-id: 40244a00d3ec35d91e8e4a0e6f0a0e5e7f538e89
                                                     Found module /usr/lib/plugins/kf6/FrameworkIntegrationPlugin.so with build-id: f21f2037cd4e3bde96b6fecf3baaba460211763f
                                                     Found module /usr/lib/x86_64-linux-gnu/libwebp.so.7.1.9 with build-id: 3986345c8700334b022e3f7244c03a1ce7212560
                                                     Found module /usr/lib/x86_64-linux-gnu/libtiff.so.6.0.2 with build-id: d4d936393bb558fa2de94318ba205a6ae1ef344c
                                                     Found module /usr/lib/plugins/imageformats/libqwebp.so with build-id: 40bfa51362e1bba28731c24b93f4011d534691a8
                                                     Found module /usr/lib/plugins/imageformats/libqwbmp.so with build-id: 30bd8741768c8a1cedbf178426de2f0490933880
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6Svg.so.6.8.3 with build-id: 1f3a1ac6348bc1193495b7f383f90c4035609842
                                                     Found module /usr/lib/plugins/imageformats/libqtiff.so with build-id: 57e37f824100996a6e11bd08f9d1add85f8009b8
                                                     Found module /usr/lib/plugins/imageformats/libqsvg.so with build-id: 787a3845487563de459ebf9ba095c5c84c809c33
                                                     Found module /usr/lib/plugins/imageformats/libqjpeg.so with build-id: 535ddfde1aa83025e8c84f76d882ad644558e8c9
                                                     Found module /usr/lib/plugins/imageformats/libqico.so with build-id: 2e4cdf02d2eb085ed6cc457ef21000fcffdfd0e2
                                                     Found module /usr/lib/plugins/imageformats/libqicns.so with build-id: ecdb035457d6bd6d63ea504086704c675580e122
                                                     Found module /usr/lib/plugins/imageformats/libqgif.so with build-id: a8d9dab641da3262f9e79d241ca2dec7facb6aae
                                                     Found module /usr/lib/plugins/imageformats/kimg_xcf.so with build-id: 73494b7f45ed6620c09b5ddc24fd4e79ff83b176
                                                     Found module /usr/lib/plugins/imageformats/kimg_tga.so with build-id: 6b2a93e031cc29592d8bfefdb97fcc10589f6b4c
                                                     Found module /usr/lib/plugins/imageformats/kimg_sct.so with build-id: f94f8ce341eb0c1cf19b16ddcb74a3d2eb1df26a
                                                     Found module /usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.17 with build-id: a4e799a06bf140822082a92a45480a747b5f1dce
                                                     Found module /usr/lib/x86_64-linux-gnu/libbrotlienc.so.1.1.0 with build-id: 91e5c28a26e73e3684f8623e751c2190f4a26f36
                                                     Found module /usr/lib/x86_64-linux-gnu/libjxl.so.0.10.4 with build-id: f88947aef141de6b20726df2c0132e30cf022c49
                                                     Found module /usr/lib/plugins/imageformats/kimg_psd.so with build-id: 66ed470564b9cedb0014f08be8e465c92d31fa61
                                                     Found module /usr/lib/x86_64-linux-gnu/libjpeg.so.62.4.0 with build-id: aa5dc84411fcc5a0c131a08186c56398813ccb98
                                                     Found module /usr/lib/x86_64-linux-gnu/libaom.so.3.10.0 with build-id: 5731c66ff973730e81a1941c59ed91ed89ded843
                                                     Found module /usr/lib/plugins/imageformats/kimg_rgb.so with build-id: bae27338a85d7c5c6e14ba6dc12ad6a7c4f661cb
                                                     Found module /usr/lib/plugins/imageformats/kimg_ras.so with build-id: 59034846b46e9dc1756b48dbd76383c2dd7f0839
                                                     Found module /usr/lib/plugins/imageformats/kimg_qoi.so with build-id: 4b65d7fb042419554bf6fb1dcb3dbe15703f628c
                                                     Found module /usr/lib/plugins/imageformats/kimg_pxr.so with build-id: 35a9f01f670b0ce936ef89c6eefe7b40f5810e58
                                                     Found module /usr/lib/plugins/imageformats/kimg_pic.so with build-id: 2cd633163a7a68ef63415b6a035c158ff58aa64b
                                                     Found module /usr/lib/plugins/imageformats/kimg_pcx.so with build-id: c6d6fc6f02fe3d3492d10b63b4c63fae74830b2c
                                                     Found module /usr/lib/plugins/imageformats/kimg_jxl.so with build-id: 2e0ff70d5e3bd66e5d68a8c5a272e1a7a86fd2e1
                                                     Found module /usr/lib/x86_64-linux-gnu/libSvtAv1Enc.so.2.2.0 with build-id: 07f39c804b3c8bc2ad453df93976616dd88628cf
                                                     Found module /usr/lib/x86_64-linux-gnu/libhwy.so.1.2.0 with build-id: e0ff7bed18562fd9244a0773b12c8c472341b29b
                                                     Found module /usr/lib/x86_64-linux-gnu/libjxl_cms.so.0.10.4 with build-id: 310b437dccd0fa0c62cf4937d158e95c4476e14e
                                                     Found module /usr/lib/x86_64-linux-gnu/libjxl_threads.so.0.10.4 with build-id: 76e4b313991cc0e8e048bf9f3d559616a42f3ddb
                                                     Found module /usr/lib/x86_64-linux-gnu/libopenjp2.so.2.5.3 with build-id: 9f01f9c8adfb09a5cea123aa1bfc63208bdc6495
                                                     Found module /usr/lib/x86_64-linux-gnu/libheif.so.1.18.2 with build-id: 1fbffd0cebe0efd1c97dbc5d5367364758001d49
                                                     Found module /usr/lib/plugins/imageformats/kimg_heif.so with build-id: 8050dbfaf9d75a429adcd5a7ef569448281095d7
                                                     Found module /usr/lib/x86_64-linux-gnu/libdav1d.so.7.0.0 with build-id: 0763adb89368997ffd508c543233b9c2eece48b6
                                                     Found module /usr/lib/plugins/imageformats/kimg_pfm.so with build-id: a6535bafae81046ca9d5acad4ec698083407c453
                                                     Found module /usr/lib/plugins/imageformats/kimg_ora.so with build-id: 0920d811296091009b19fdf3599b76493bd66120
                                                     Found module /usr/lib/plugins/imageformats/kimg_kra.so with build-id: 8b2f9253b793c15f7b6a33b41912f1667d75d328
                                                     Found module /usr/lib/x86_64-linux-gnu/libsharpyuv.so.0.1.0 with build-id: 844b4d215e224e7c829268ae780bafedbc911d41
                                                     Found module /usr/lib/plugins/imageformats/kimg_jp2.so with build-id: bf72b9b2e3d6a1c9ee4eac129a4e1dd80ec48f10
                                                     Found module /usr/lib/plugins/imageformats/kimg_hdr.so with build-id: cc5cbf52d35a995b53168d9e82e3322792b2240d
                                                     Found module /usr/lib/plugins/imageformats/kimg_dds.so with build-id: d2758a69c90528336fdd1938752b65a9ae5cc19b
                                                     Found module /usr/lib/x86_64-linux-gnu/libavif.so.16.1.1 with build-id: 0c4e2862161d06fc334f431309a1e0fdb02d82c6
                                                     Found module /usr/lib/plugins/imageformats/kimg_eps.so with build-id: 6d9dfe48233f067b1a6291115e2e08329b47adee
                                                     Found module /usr/lib/plugins/imageformats/kimg_avif.so with build-id: 421a06b0a67ab33746c4cc96fa2fd0fd8257e7ec
                                                     Found module /usr/lib/plugins/imageformats/kimg_ani.so with build-id: 98433cd0e749c871a34e772f22d1496e70e2fa27
                                                     Found module /usr/lib/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so with build-id: c88f5b5b1dc813c>
                                                     Found module /usr/lib/plugins/platformthemes/libqxdgdesktopportal.so with build-id: 9ce46b2ce530a5f56a11b19cd28b28ae7cf>
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0.0 with build-id: f108cf73df3a3118b9617456f6eaaa7598169526
                                                     Found module /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0.8.1 with build-id: 5e76098fb9f7cad699ddac20fb45edd978d80819
                                                     Found module /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0 with build-id: 3446dfa2e41fbe581cd71def1eadf6eb59bb0245
                                                     Found module /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1 with build-id: ca35ccc89fa9e14bd6e510175057326de6d48fd5
                                                     Found module /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 with build-id: a371d78887941f41d4c0dfe29c049b707ae51172
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1.0.0 with build-id: 2eb2a8e914f5f0aa29777560268f88f42cceecae
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0 with build-id: f3c048b5923d74d95f667f903429f9f3949fa82f
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 with build-id: cc269fe1ec6fa457094a21b3345b155c540dbef2
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 with build-id: 8e95bc6e2cfc667f97880a7718861d23e1c0bd5c
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 with build-id: 31fa0c2deea08a48211eed9b981e2424deb122ae
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.8.3 with build-id: c3a51375137e46c45f1bc2fc659938b1178f0bca
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0.0.0 with build-id: 5dc5b2c6246223104ff0a58cf1350eab9301ee9c
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-render-util.so.0.0.0 with build-id: 076d1799218d540e507f328bddeca8e9ba1c0>
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0 with build-id: d7eb565d08bb4f30c102e50afb750b37720f642d
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-keysyms.so.1.0.0 with build-id: 2e7552fb165e88b28fe0bbbd3e86899fbba7b93d
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-image.so.0.0.0 with build-id: f70d6ff77923f660ee8e22c64f3105da846735aa
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-icccm.so.4.0.0 with build-id: f9379e4905956b4f1da2d94991a20b3c06d6f8e5
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb-cursor.so.0.0.0 with build-id: 68cf69221d7b467445bd1066bfbfeb156fa09083
                                                     Found module /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1.1.0 with build-id: bb62654dfe291915ce774f13fca0e987b62c4e87
                                                     Found module /usr/lib/x86_64-linux-gnu/libsystemd.so.0.39.0 with build-id: 9522efb5f56c855b01282a004eb579e63b5b9fbd
                                                     Found module /usr/lib/x86_64-linux-gnu/libffi.so.8.1.4 with build-id: 83bfd0ecb30dcde163615474c762930be5e4bca1
                                                     Found module /usr/lib/x86_64-linux-gnu/liblzma.so.5.6.4 with build-id: 5d7fdc432947959684363068930673a5530bc24a
                                                     Found module /usr/lib/x86_64-linux-gnu/libbz2.so.1.0.8 with build-id: b27ee3fa1df04ff0e01afcb34f1bd5e339321e49
                                                     Found module /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.13.0 with build-id: 591a50a056d1ba51dc91e460c3df96cfe76ecad1
                                                     Found module /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0 with build-id: f46f09abb9a3501bf71d6e9a1c4e514b908e07d3
                                                     Found module /usr/lib/x86_64-linux-gnu/libblkid.so.1.1.0 with build-id: 2daa1fc3513575dc469752a5bc752e3276d6a611
                                                     Found module /usr/lib/x86_64-linux-gnu/libcrypto.so.3 with build-id: 89302cb16061f389928085d2baac7469d47cbd22
                                                     Found module /usr/lib/plugins/platforms/libqxcb.so with build-id: f7fd1cae9bef8729840e68424fe86de841a8192b
                                                     Found module /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.2.1 with build-id: 4859871604188b65ff636bf076b30f9526643ba1
                                                     Found module /usr/lib/x86_64-linux-gnu/libexpat.so.1.10.2 with build-id: d599c9356f3a450e4068ce110633fa497c540c06
                                                     Found module /usr/lib/x86_64-linux-gnu/libdbus-1.so.3.32.4 with build-id: 372990ef9d174e6c19854043e903213a331c605f
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6BreezeIcons.so.6.13.0 with build-id: ca2863635de32c6a071f33287d89ef6991249>
                                                     Found module /usr/lib/x86_64-linux-gnu/libcap.so.2.75 with build-id: 0586ff5c7ff7112c5aea641c02f1ef63a1c5a0a7
                                                     Found module /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 with build-id: 562a82a401f3fe3f85aeb6b13228aad27014fd21
                                                     Found module /usr/lib/x86_64-linux-gnu/libeconf.so.0.7.4 with build-id: a8b338a85a400f2cd6dcc4dae26e215e7d019454
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6WaylandClient.so.6.8.3 with build-id: a185ae46d34054c12c7a1ea392cc480c0474>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6Archive.so.6.13.0 with build-id: 3b9a4fb772ea23c66d786e0e3a45677f6e8be881
                                                     Found module /usr/lib/x86_64-linux-gnu/libicui18n.so.75.1 with build-id: c27014ada7e500186f460edeff77d3f4a5a02f7e
                                                     Found module /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.23.1 with build-id: 642253a1eb1786e5eb2bebec64626e307afe4>
                                                     Found module /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1.1.0 with build-id: 3d82134b60f48332a767762d644068412efe1d74
                                                     Found module /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.23.1 with build-id: 69c5fd37b68fb922d663d759560a83999a973>
                                                     Found module /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0.13.0 with build-id: 8a3eda2cfd14e90307f34079d7dcde28b9655da3
                                                     Found module /usr/lib/x86_64-linux-gnu/libzstd.so.1.5.6 with build-id: f40420d632c12bbbf844c78e63f1bfaab36631ed
                                                     Found module /usr/lib/x86_64-linux-gnu/libfreetype.so.6.20.2 with build-id: 633e0cef92218098c6918393b01fed6e1391cd65
                                                     Found module /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.60900.0 with build-id: 8357ba69700d99affcfdf311f90242152591c4cb
                                                     Found module /usr/lib/x86_64-linux-gnu/libpng16.so.16.44.0 with build-id: a58bb11b1cb6c6a0ac3ee2a45a78de61e19ff5ff
                                                     Found module /usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0 with build-id: 3de35da7d0dcaf49436c2fb06c7b846efd27fc7b
                                                     Found module /usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0 with build-id: c2c5afc06ff99431a756949619d7e4c014910cbc
                                                     Found module /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.8.1 with build-id: 3d7290fac9ae4e7be16eaf3b1c8bd4912138b695
                                                     Found module /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8200.5 with build-id: abc08f5f8da199c7afa4df205144d970e073367a
                                                     Found module /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.1 with build-id: 9b234366e247f183e7f5dce2665f20a0f6f8511a
                                                     Found module /usr/lib/x86_64-linux-gnu/libudev.so.1.7.9 with build-id: 9e271e5012a16d59d7abaa94ae90306c1dcc7dcd
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.8.3 with build-id: 02b90c70abc48f52181eb4cb676bce12d93ac831
                                                     Found module /usr/lib/x86_64-linux-gnu/libz.so.1.3.1 with build-id: f296b14d91f5c6fb81d74d5f4ce0ff5b37123461
                                                     Found module /usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0 with build-id: 51b8fae66680b28d5ea40efba7447f81889bda94
                                                     Found module /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0 with build-id: 526a96f7258b929710686bc9d7e75e938b05e39f
                                                     Found module /usr/lib/x86_64-linux-gnu/libmount.so.1.1.0 with build-id: 50f600b05532c2887db9501345979ef1f2772ed6
                                                     Found module /usr/lib/x86_64-linux-gnu/libicudata.so.75.1 with build-id: 03cf2a4304695041acf7ab2b36912a36f7702024
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6AuthCore.so.6.13.0 with build-id: cc2beab7302457a48f8d62c0e98f38a7e55a28bd
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6Service.so.6.13.0 with build-id: 0ec11601ac6f0340f48e5c8ed112e8debd136813
                                                     Found module /usr/lib/x86_64-linux-gnu/libc.so.6 with build-id: 2890b41de26262042831874e91ff2f647c9db3a5
                                                     Found module /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33 with build-id: 9bb24747895a5843803a51838a75fcbcab6a43c2
                                                     Found module /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 with build-id: bf9b78f37af3e3303c72c74c5573ae8c9613cd0e
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6Codecs.so.6.13.0 with build-id: 869bf5097b2d7d7c00c94828eefb9ab023986b58
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6.8.3 with build-id: 2db92301f58d691ad3af7dd33d26f369f8e2e7d1
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6ConfigGui.so.6.13.0 with build-id: 9217eea59372b7aded211574661ff6e7b5fdd925
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 with build-id: ebcc16b4558b189fd887db03f2ac908531448e77
                                                     Found module /usr/lib/x86_64-linux-gnu/libattr.so.1.1.2502 with build-id: 8a6fd528ccb05da6391d8117035cfdc4f0d11569
                                                     Found module /usr/lib/x86_64-linux-gnu/libacl.so.1.1.2302 with build-id: ac45c5dca344ca2495c686c07c5a3753bdc49e5c
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6GuiAddons.so.6.13.0 with build-id: 782659905618c0f79f640ee6d7c34d5ba420fb3a
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6IconThemes.so.6.13.0 with build-id: 28165a332944aea854591a1529b8d92ca4b7f6>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6ItemViews.so.6.13.0 with build-id: a4f31f9a85430cb9630e6db7236a4108ce45c264
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6Xml.so.6.8.3 with build-id: ccac2e96b35288a1fefd6f2c7ae0b51a082837ff
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.3 with build-id: 26a3988bd54ab397a64141aba69c671e6a491b64
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6ColorScheme.so.6.13.0 with build-id: 421b25c840a66e4f21f21d4baaa24c45377a5>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6GlobalAccel.so.6.13.0 with build-id: 91bc5e89b9ec9ab935833f9fc58ab26e91459>
                                                     Found module /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 with build-id: af8010aa6c425e60954390e5bea8bd76ab4d3f56
                                                     Found module /usr/lib/x86_64-linux-gnu/libm.so.6 with build-id: 73606ab4d04798bb06a104a626cacb62868b27cd
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6ConfigCore.so.6.13.0 with build-id: 72321678d01f8f1b8de45e3107e0197ded9f56>
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 with build-id: 3dee57bb0d5c7dadc0d5d6480959d91a41d699b1
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6IconWidgets.so.6.13.0 with build-id: 6742f4b65315eed2ae93cb09691dd5ccf473d>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6WidgetsAddons.so.6.13.0 with build-id: 83f2dcc77df7b26fa306b9e9b19279e9cfd>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6I18n.so.6.13.0 with build-id: 5983288c9ecfd69a65555085713cd5a9b97e20d5
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6CoreAddons.so.6.13.0 with build-id: cec8291d3e3dedda463d0595593482f5d4fae5>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6KIOCore.so.6.13.0 with build-id: 6f4ab38cc99e9931c5138e10abeefcb624696c64
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6ConfigWidgets.so.6.13.0 with build-id: 96083958fd79f83110e058340493da48107>
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6XmlGui.so.6.13.0 with build-id: f1ee2b0c9a163ff34b8282745128fecff42263c3
                                                     Found module /usr/lib/x86_64-linux-gnu/libicuuc.so.75.1 with build-id: 9ce6fb7641834e22c23bd0df47709c18e4862790
                                                     Found module /usr/lib/x86_64-linux-gnu/libKF6Crash.so.6.13.0 with build-id: 7a1d263df0e17bf66d458580373bbbc44a708c36
                                                     Found module /usr/lib/x86_64-linux-gnu/libQt6PrintSupport.so.6.8.3 with build-id: bba357597ac47c6933a7756c11893f8846e03>
                                                     Found module /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 with build-id: 1176d61935758a6955645e262a2e3b165a6309d8
                                                     Found module linux-vdso.so.1 with build-id: e597321e30f6b202c5571ffcffc1cd0168d00b13
                                                     Stack trace of thread 2:
                                                     #0  0x00007afed109adb4 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x99db4)
                                                     #1  0x00007afed104208e n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x4108e)
                                                     #2  0x00007afed1029882 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x28882)
                                                     #3  0x00007afed102979e n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2879e)
                                                     #4  0x00007afed103a3c7 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x393c7)
                                                     #5  0x00005f982239d3b1 n/a (/app/bin/kdiff3 + 0x14a3b1)
                                                     #6  0x00005f9822304e86 n/a (/app/bin/kdiff3 + 0xb1e86)
                                                     #7  0x00005f982230a23c n/a (/app/bin/kdiff3 + 0xb723c)
                                                     #8  0x00005f98222f5c3c n/a (/app/bin/kdiff3 + 0xa2c3c)
                                                     #9  0x00007afed1804fee n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x204fee)
                                                     #10 0x00005f98222b3f91 n/a (/app/bin/kdiff3 + 0x60f91)
                                                     #11 0x00005f98222f1b91 n/a (/app/bin/kdiff3 + 0x9eb91)
                                                     #12 0x00005f98222f3f52 n/a (/app/bin/kdiff3 + 0xa0f52)
                                                     #13 0x00005f98222f437e n/a (/app/bin/kdiff3 + 0xa137e)
                                                     #14 0x00007afed1804fee n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x204fee)
                                                     #15 0x00007afed2493714 n/a (/usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.3 + 0x693714)
                                                     #16 0x00007afed249692f n/a (/usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.3 + 0x69692f)
                                                     #17 0x00007afed2d9dc54 n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x39dc54)
                                                     #18 0x00007afed2da6c90 n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x3a6c90)
                                                     #19 0x00007afed2c07078 n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x207078)
                                                     #20 0x00007afed2ba04f8 n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x1a04f8)
                                                     #21 0x00007afed2bab67b n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x1ab67b)
                                                     #22 0x00007afed179e190 n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x19e190)
                                                     #23 0x00007afed2ba9c2c n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x1a9c2c)
                                                     #24 0x00007afed2c1bf0b n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x21bf0b)
                                                     #25 0x00007afed2c1e4d0 n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x21e4d0)
                                                     #26 0x00007afed2ba04f8 n/a (/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.8.3 + 0x1a04f8)
                                                     #27 0x00007afed179e190 n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x19e190)
                                                     #28 0x00007afed1ffd6e9 n/a (/usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.3 + 0x1fd6e9)
                                                     #29 0x00007afed20656fc n/a (/usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.8.3 + 0x2656fc)
                                                     #30 0x00007afecc344006 n/a (/usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.8.3 + 0x62006)
                                                     #31 0x00007afecec793f6 n/a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8200.5 + 0x633f6)
                                                     #32 0x00007afececda0c7 n/a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8200.5 + 0xc40c7)
                                                     #33 0x00007afecec78883 n/a (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8200.5 + 0x62883)
                                                     #34 0x00007afed1ab3373 n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x4b3373)
                                                     #35 0x00007afed17ab553 n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x1ab553)
                                                     #36 0x00007afed17a6b5e n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.8.3 + 0x1a6b5e)
                                                     #37 0x00005f98222b1b14 n/a (/app/bin/kdiff3 + 0x5eb14)
                                                     #38 0x00007afed102b188 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2a188)
                                                     #39 0x00007afed102b24b n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2a24b)
                                                     #40 0x00005f98222b3555 n/a (/app/bin/kdiff3 + 0x60555)
...
Jun 26 20:42:00 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Ending selection.
Jun 26 20:42:00 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Mouse Released
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: mousePressEvent tr>
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Ending selection.
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Mouse Released
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Left Button detect>
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Mouse Double Click>
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Ending selection.
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Mouse Released
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Resetting Selection
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Left Button detect>
Jun 26 20:41:59 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: mousePressEvent tr>
Jun 26 20:41:58 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: Mouse Released
Jun 26 20:41:58 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3.kdifftextwindow: mousePressEvent tr>
Jun 26 20:41:36 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:35 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:34 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:30 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:27 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:25 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Linediff: A <-> C
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Linediff: B <-> C
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Linediff: A <-> B
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Diff: B <-> C
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Diff: A <-> C
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Leave: calcDiff3LineListUsingAB
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Enter: calcDiff3LineListUsingAB
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Diff: A <-> B
Jun 26 20:41:02 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Loading C:  "/tmp/mt12-factory-sdc>
Jun 26 20:41:01 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Loading B:  "/tmp/mt12-factory-sdc>
Jun 26 20:41:01 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Loading A:  ""
Jun 26 20:41:00 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:40:47 xyz-dev1 /usr/libexec/gdm-x-session[4154468]: 2025-06-27 02:40:47 App is up to date.
Jun 26 20:40:47 xyz-dev1 /usr/libexec/gdm-x-session[4154468]: 2025-06-27 02:40:47 Latest version is 1.8.10
Jun 26 20:40:47 xyz-dev1 /usr/libexec/gdm-x-session[4154468]: 2025-06-27 02:40:47 Success.
Jun 26 20:40:47 xyz-dev1 /usr/libexec/gdm-x-session[4154468]: 2025-06-27 02:40:47 Checking for update using Gith>
Jun 26 20:40:06 xyz-dev1 /usr/libexec/gdm-x-session[6035]: Failed to get information about the latest version.  >
Jun 26 20:39:38 xyz-dev1 syncthing[4966]: [7RAUA] INFO: Device IHLQDRV client is "syncthing v1.28.1" named "Chel>
Jun 26 20:39:38 xyz-dev1 syncthing[4966]: [7RAUA] INFO: Established secure connection to IHLQDRV at 10.0.0.130:3>
Jun 26 20:39:33 xyz-dev1 cups.cups-browsed[3905]: + sleep 3600
Jun 26 20:39:33 xyz-dev1 cups.cups-browsed[3905]: + true
Jun 26 20:39:30 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: kf.notifications: Failed to play sound with canber>
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Linediff: A <-> C
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Linediff: B <-> C
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Linediff: A <-> B
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Diff: B <-> C
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Diff: A <-> C
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Leave: calcDiff3LineListUsingAB
Jun 26 20:39:29 xyz-dev1 /usr/libexec/gdm-x-session[2157960]: org.kde.kdiff3: Enter: calcDiff3LineListUsingAB
```
Comment 1 maimed_camping819 2025-06-27 03:29:36 UTC
possible most of the logs are irrelevant, given the final lines of the stdout with debug enabled 

Note that while my second run (setting "A" for everything) produced no output in the `/tmp/mt12-factory-sdcards/output` directory - my initial reproduction did.  And as you see below, the flatpak has FULL (as i understand it) access to /tmp/.  To this end, it's worth noting that I just installed this today (the version in ubuntu's repos is too old) - forgetting about the sanbox restrictions on /tmp i noticed in the file/dir chooser that my opening `/tmp/` etc was being replaced with `/run/..../tmp`, as expected once I realized it.  So I exited, added /tmp/ access in flatseal, and upon re-opening kdiff3 my `/tmp/` paths are left as '/tmp/', not munged into a path into the sandbox running directory.

so assuming that output isn't a red herring: we know the sandbox has access restrictions that (might have) never existed on the old native package way.  So this should NEVER crash, but should output meaningful information

Thanks!

```bash
org.kde.kdiff3: Loading A:  ""
org.kde.kdiff3: Loading B:  "/tmp/mt12-factory-sdcards/EdgeTX-MT12-ELRS-2.10.5-Factroy-SD-Content-2024-10-23 (website says update 2025.03.04)/SD-Content/BACKUP"
kdiff3: /run/build/kdiff3/src/SourceData.cpp:341: void SourceData::readAndPreprocess(const QByteArray&, bool): Assertion `!m_fileAccess.exists() || !m_fileAccess.isDir()' failed.
```

```bash
$ flatpak info --show-permissions org.kde.kdiff3
[Context]
shared=ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=home;/tmp;xdg-config/kdeglobals:ro;

[Session Bus Policy]
com.canonical.AppMenu.Registrar=talk
org.kde.kconfig.notify=talk
org.kde.KGlobalSettings=talk
org.kde.kdeconnect=talk
```
Comment 2 michael 2025-07-01 21:29:03 UTC
    "--filesystem=host" should be on by default for kdiff3. This is done precisely to avoid permissions issues related to flatpak sandboxing. Looks like that is not the case.
Comment 3 michael 2025-07-01 21:35:03 UTC
In regards to the crash the assert message indicates kdiff3 is some how calling SourceData::readAndPreprocess for something it thinks is a directory. This is always a bug indicator. I'll have a closer look. Not sure if these to problems are related.