Re: help needed to find a bug in zorba (or gcc 4.9)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10.6.2014 14:16, Martin Gieseking wrote:
Hi,

I've tried to fix the broken zorba package in rawhide for a couple of weeks
now but, unfortunately, without much success. The upstream developers don't
seem to be able to find the cause for the issue either.

The problem is that the package fails to build with gcc 4.9.0 (all archs)
because the generated zorba binary segfaults for some queries due to accessing
already freed memory. The issue only occurs with optimized builds (-O1, -O2,
-O3) using gcc 4.9.0. With gcc 4.8.x the binary and thus the whole package
build and work correctly. Therefore, it might also be possible that there's a
bug in gcc's optimizer, but I'm not sure.

valgrind and gcc's address sanitizer report the code sections where the error
occurs but when stepping through them with a debugger, I'm unable to
understand what's actually going on there. It looks as if the affected code
should work properly. So I got stuck now.

It would be great if someone could help to track down the issue in order to
keep the package available in Fedora.

Here is the latest SRPM:
http://mgieseki.fedorapeople.org/review/zorba-3.0.0-4.fc21.src.rpm

The corresponding bug tickets can be found here:
https://bugzilla.redhat.com/show_bug.cgi?id=1095292
https://bugs.launchpad.net/bugs/1317976

Thanks,
Martin

Does it happen if you compile it *with* -fno-delete-null-pointer-checks switch?

That one caused a lot of grief with BIND 9.

--
Petr^2 Spacek
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux