F21 system GCC changed to 4.9.0 prerelease

Jakub Jelinek jakub at redhat.com
Fri Apr 11 15:18:06 UTC 2014


On Fri, Apr 11, 2014 at 01:45:38PM +0100, Tim Waugh wrote:
> This new checking looks really powerful.
> 
> Unfortunately, I'm seeing a build failure for libgphoto2 that I'm having
> a hard time making sense of:
> 
> http://kojipkgs.fedoraproject.org//work/tasks/7196/6727196/root.log

I think Panu has a fixed rpm already built.
In any case, this particular failure looks like __asan_register_globals has
been called with some address of a global var not sufficiently (32-byte)
aligned, supposedly while dlopening librpm.so or some other library.
If somebody can reproduce it manually using rpm-4.11.2-6.fc21.armv7hl
outside of koji/mock and could put a breakpoint to __sanitizer::CheckFailed
and find out what value g->beg has at that point (i.e. what address
is misaligned) and what library/variable it points to, I could debug this
on the GCC side, but it is certainly something I've never seen on
x86_64/i686 (nor ppc/ppc64) yet.

> DEBUG util.py:331:  Executing command: ['fedpkg', 'sources'] with env
> {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash',
> 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME':
> '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
> DEBUG util.py:281:  ==15737==AddressSanitizer CHECK failed: ../../../../libsanitizer/asan/asan_globals.cc:91 "((AddrIsAlignedByGranularity(g->beg))) != (0)" (0x0, 0x0)
> DEBUG util.py:281:      #0 0xb583d21b (/lib/libasan.so.1+0x6121b)
> DEBUG util.py:281:      #1 0xb5841a8b in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/lib/libasan.so.1+0x65a8b)
> DEBUG util.py:281:      #2 0xb57fb01b in __asan_register_globals (/lib/libasan.so.1+0x1f01b)
> DEBUG util.py:281:      #3 0xb6f14877 in call_init.part.0 (/lib/ld-linux-armhf.so.3+0x11877)
> DEBUG util.py:281:      #4 0xb6f149d3 in _dl_init (/lib/ld-linux-armhf.so.3+0x119d3)
> DEBUG util.py:281:      #5 0xb6f199e7 in dl_open_worker (/lib/ld-linux-armhf.so.3+0x169e7)
> DEBUG util.py:281:      #6 0xb6f14723 in _dl_catch_error (/lib/ld-linux-armhf.so.3+0x11723)
> DEBUG util.py:281:      #7 0xb6f18f3f in _dl_open (/lib/ld-linux-armhf.so.3+0x15f3f)
> DEBUG util.py:281:      #8 0xb6d58d03 in dlopen_doit (/lib/libdl.so.2+0xd03)
> DEBUG util.py:281:      #9 0xb6f14723 in _dl_catch_error (/lib/ld-linux-armhf.so.3+0x11723)
> DEBUG util.py:281:      #10 0xb6d594c7 in _dlerror_run (/lib/libdl.so.2+0x14c7)
> DEBUG util.py:281:      #11 0xb6d58dcf in __dlopen (/lib/libdl.so.2+0xdcf)
> DEBUG util.py:281:      #12 0xb6e8055f in _PyImport_GetDynLoadFunc (/lib/libpython2.7.so.1.0+0xfa55f)
> DEBUG util.py:281:      #13 0xb6e6803b in _PyImport_LoadDynamicModule (/lib/libpython2.7.so.1.0+0xe203b)
> DEBUG util.py:281:      #14 0xb6e65e7f (/lib/libpython2.7.so.1.0+0xdfe7f)
> DEBUG util.py:281:      #15 0xb6e660d3 (/lib/libpython2.7.so.1.0+0xe00d3)
> DEBUG util.py:281:      #16 0xb6e66bab in PyImport_ImportModuleLevel (/lib/libpython2.7.so.1.0+0xe0bab)
> DEBUG util.py:281:      #17 0xb6e4adf3 (/lib/libpython2.7.so.1.0+0xc4df3)
> DEBUG util.py:281:      #18 0xb6def51b in PyCFunction_Call (/lib/libpython2.7.so.1.0+0x6951b)
> DEBUG util.py:281:      #19 0xb6db1d6f in PyObject_Call (/lib/libpython2.7.so.1.0+0x2bd6f)
> DEBUG util.py:281:      #20 0xb6e4ceab in PyEval_CallObjectWithKeywords (/lib/libpython2.7.so.1.0+0xc6eab)
> DEBUG util.py:281:      #21 0xb6e4fb63 in PyEval_EvalFrameEx (/lib/libpython2.7.so.1.0+0xc9b63)
> DEBUG util.py:281:      #22 0xb6e53c3f in PyEval_EvalCodeEx (/lib/libpython2.7.so.1.0+0xcdc3f)
> DEBUG util.py:281:      #23 0xb6e53e03 in PyEval_EvalCode (/lib/libpython2.7.so.1.0+0xcde03)
> DEBUG util.py:281:      #24 0xb6e64e93 in PyImport_ExecCodeModuleEx (/lib/libpython2.7.so.1.0+0xdee93)
> DEBUG util.py:281:      #25 0xb6e6511b (/lib/libpython2.7.so.1.0+0xdf11b)
> DEBUG util.py:281:      #26 0xb6e666b7 (/lib/libpython2.7.so.1.0+0xe06b7)
> DEBUG util.py:281:      #27 0xb6e65e7f (/lib/libpython2.7.so.1.0+0xdfe7f)
> DEBUG util.py:281:      #28 0xb6e6612b (/lib/libpython2.7.so.1.0+0xe012b)
> DEBUG util.py:281:      #29 0xb6e66b5f in PyImport_ImportModuleLevel (/lib/libpython2.7.so.1.0+0xe0b5f)
> DEBUG util.py:281:      #30 0xb6e4adf3 (/lib/libpython2.7.so.1.0+0xc4df3)
> DEBUG util.py:281:      #31 0xb6def51b in PyCFunction_Call (/lib/libpython2.7.so.1.0+0x6951b)
> DEBUG util.py:281:      #32 0xb6db1d6f in PyObject_Call (/lib/libpython2.7.so.1.0+0x2bd6f)
> DEBUG util.py:281:      #33 0xb6e4ceab in PyEval_CallObjectWithKeywords (/lib/libpython2.7.so.1.0+0xc6eab)
> DEBUG util.py:281:      #34 0xb6e4fb63 in PyEval_EvalFrameEx (/lib/libpython2.7.so.1.0+0xc9b63)
> DEBUG util.py:281:      #35 0xb6e53c3f in PyEval_EvalCodeEx (/lib/libpython2.7.so.1.0+0xcdc3f)
> DEBUG util.py:281:      #36 0xb6e53e03 in PyEval_EvalCode (/lib/libpython2.7.so.1.0+0xcde03)
> DEBUG util.py:281:      #37 0xb6e64e93 in PyImport_ExecCodeModuleEx (/lib/libpython2.7.so.1.0+0xdee93)
> DEBUG util.py:281:      #38 0xb6e6511b (/lib/libpython2.7.so.1.0+0xdf11b)
> DEBUG util.py:281:      #39 0xb6e666b7 (/lib/libpython2.7.so.1.0+0xe06b7)
> DEBUG util.py:281:      #40 0xb6e65e7f (/lib/libpython2.7.so.1.0+0xdfe7f)
> DEBUG util.py:281:      #41 0xb6e6612b (/lib/libpython2.7.so.1.0+0xe012b)
> DEBUG util.py:281:      #42 0xb6e66b5f in PyImport_ImportModuleLevel (/lib/libpython2.7.so.1.0+0xe0b5f)
> DEBUG util.py:281:      #43 0xb6e4adf3 (/lib/libpython2.7.so.1.0+0xc4df3)
> DEBUG util.py:281:      #44 0xb6def51b in PyCFunction_Call (/lib/libpython2.7.so.1.0+0x6951b)
> DEBUG util.py:281:      #45 0xb6db1d6f in PyObject_Call (/lib/libpython2.7.so.1.0+0x2bd6f)
> DEBUG util.py:281:      #46 0xb6e4ceab in PyEval_CallObjectWithKeywords (/lib/libpython2.7.so.1.0+0xc6eab)
> DEBUG util.py:281:      #47 0xb6e4fb63 in PyEval_EvalFrameEx (/lib/libpython2.7.so.1.0+0xc9b63)
> DEBUG util.py:281:      #48 0xb6e53c3f in PyEval_EvalCodeEx (/lib/libpython2.7.so.1.0+0xcdc3f)
> DEBUG util.py:281:      #49 0xb6e53e03 in PyEval_EvalCode (/lib/libpython2.7.so.1.0+0xcde03)
> DEBUG util.py:281:      #50 0xb6e64e93 in PyImport_ExecCodeModuleEx (/lib/libpython2.7.so.1.0+0xdee93)
> DEBUG util.py:281:      #51 0xb6e6511b (/lib/libpython2.7.so.1.0+0xdf11b)
> DEBUG util.py:281:      #52 0xb6e666b7 (/lib/libpython2.7.so.1.0+0xe06b7)
> DEBUG util.py:281:      #53 0xb6e65e7f (/lib/libpython2.7.so.1.0+0xdfe7f)
> 
> Is there a document somewhere describing how to interpret what it's
> saying?

	Jakub


More information about the devel mailing list