mamarley | santa_: It looks like the kio 5.113.0 in noble-proposed is causing Dolphin to always crash on start with "*** buffer overflow detected ***: terminated". That didn't happen for the same version of the package in staging-frameworks. | 12:24 |
---|---|---|
mamarley | It looks like it might only occur when browsing to a directory with a symlink, but my home directory has several of those, which results in crashing on start. | 12:28 |
mamarley | It looks like the toolchain might have started setting "-D_FORTIFY_SOURCE=2" by default. I bet that has something to do with it. | 12:52 |
RikMills | that would be a change in dpkg | 13:03 |
RikMills | https://launchpad.net/ubuntu/+source/dpkg/1.22.1ubuntu4 | 13:04 |
RikMills | I think | 13:04 |
mamarley | Ah, OK. I just guessed it was in the toolchain, sorry. I noticed it because a package I build started FTBFSing with an error about _FORTIFY_SOURCE being redefined. | 13:09 |
mamarley | You're definitely right though, the PPA build was done with _FORTIFY_SOURCE=2 and the archive build with _FORTIFY_SOURCE=3. | 13:13 |
mamarley | So what's the proper way to deal with this? | 13:16 |
RikMills | maybe force =2 in debian/rules? | 13:19 |
RikMills | not sure | 13:19 |
RikMills | assuming this is the cause | 13:19 |
mamarley | I was going to do some empirical testing and find out. I'm not quite sure how to set _FORTIFY_SOURCE in debian/rules though. (I'm just an amateur at this whole debian packaging thing.) | 13:21 |
BluesKaj | Hi all | 13:24 |
mamarley | It looks like I could turn off hardening altogether by using export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-fortify, but that's not what I want. | 13:25 |
RikMills | maybe something like https://salsa.debian.org/postfix-team/postfix-dev/-/commit/d1d1217d8560ae6ffe0ed670610d267bb9d3737d | 13:29 |
-ubottu:#kubuntu-devel- Commit d1d1217 in postfix-team/postfix-dev "Bump _FORTIFY_SOURCE to level 3" | 13:29 | |
* RikMills shrugs | 13:29 | |
mamarley | That should do the trick, thanks! (I wasn't aware that DEB_CPPFLAGS_MAINT_APPEND existed,) | 13:30 |
mamarley | Yes, that works. I rebuilt kio with "export DEB_CPPFLAGS_MAINT_APPEND = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" in debian/rules and Dolphin no longer crashes on start. Thanks for the help! | 13:37 |
RikMills | mamarley: https://launchpad.net/ubuntu/+source/kio/5.113.0-0ubuntu2 | 19:25 |
RikMills | :) | 19:25 |
mamarley | Thanks! | 20:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!