[kmymoney] [Bug 391251] Double free or corruption when creating a new asset account.

NSLW bugzilla_noreply at kde.org
Thu Mar 15 12:29:18 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=391251

--- Comment #9 from NSLW <lukasz.wojnilowicz at gmail.com> ---
(In reply to José Pekkarinen from comment #8)
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with:
> /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/configure
> --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
> --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0
> --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include
> --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0
> --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man
> --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info
> --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6
> --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/python
> --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
> --disable-werror --with-system-zlib --enable-nls --without-included-gettext
> --enable-checking=release --with-bugurl=https://bugs.gentoo.org/
> --with-pkgversion='Gentoo 6.4.0-r1 p1.3' --disable-esp
> --enable-libstdcxx-time --enable-shared --enable-threads=posix
> --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib
> --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point
> --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap
> --disable-libssp --disable-libcilkrts --disable-libmpx
> --enable-vtable-verify --enable-libvtv --enable-lto --without-isl
> --enable-libsanitizer --enable-default-pie --enable-default-ssp
> Thread model: posix
> gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)
> 
> $ grep CFLAGS /etc/portage/make.conf
> CFLAGS="-O2 -march=skylake -mtune=skylake -fomit-frame-pointer -pipe"
> CXXFLAGS="${CFLAGS}"
> 
> I assume the ebuild is building for release, but I cannot tell, ebuild
> doesn't
> light anything about it.

I don't know anything about ebuild, but I believe your builds are heavily
optimized by the use of "-mtune=skylake". I assume, it's the cause of your
issues.
For the start, could you try to set CFLAGS and CXXFLAGS to "-Og -g" and see if
you still can reproduce the crash?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list