[Bug 1060506] New: libkolabxml packages differ for every build
http://bugzilla.opensuse.org/show_bug.cgi?id=1060506 Bug ID: 1060506 Summary: libkolabxml packages differ for every build Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: lbeltrame@kde.org Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: matthias@mailaender.name Found By: Development Blocker: --- When working on the reproducible builds project for openSUSE I found that libkolabxml packages differ for every build unless ASLR is disabled in the build system. This indicates either usage of unitinialized memory (compare [1]) or using (randomized) pointers in output. /usr/lib64/libkolabxml.so.1.1.6 differs because of /home/abuild/rpmbuild/BUILD/libkolabxml-1.1.6/build/kolabformat-xcal-schema.cxx 2018-10-30 08:42:53.622040000 +0000 @@ -9014,9 +9014,9 @@ 0x00, 0x01, 0x6d, 0x09, 0x00, 0x01, 0x3f, 0x07, 0x00, 0x01, 0x23, 0x07, 0x00, 0x01, 0x53, 0x0a, 0x00, 0x01, 0x68, 0x07, 0x00, 0x01, 0x7f, 0x09, 0x00, 0x01, 0x4e, 0x04, 0x00, 0x01, 0xfe, 0xff, 0xff, 0xff, 0x1d, 0x00, - 0x06, 0x0e, 0x00, 0x06, 0xe8, 0x08, 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, + 0x06, 0x0e, 0x00, 0x06, 0x25, 0x07, 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0x00, 0x03, 0x0c, 0x00, 0x06, 0x58, 0x53, 0x41, 0x6e, 0x6e, 0x6f, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x03, 0x11, 0x09, 0x00, 0x05, 0x3c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x03, 0xb6, 0x01, 0x00, 0x05, 0x3c, 0x00, 0xff, 0x78, 0x73, 0x3a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, [...] which probably comes from # Compile Schemas add_custom_command(OUTPUT kolabformat-xcal-schema.cxx COMMAND ${XSDBIN} --verbose --array-name iCalendar_schema --output-dir ${CMAKE_BINARY_DIR} ${SCHEMAS} which might be from ./compiled/xsdbin.cxx and/or involving the xsd package [1] https://build.opensuse.org/package/view_file/M17N/gcin/gcin-reproducible.pat... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1060506 http://bugzilla.opensuse.org/show_bug.cgi?id=1060506#c1 Luca Beltrame <lbeltrame@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|lbeltrame@kde.org |opensuse-kde-bugs@opensuse. | |org --- Comment #1 from Luca Beltrame <lbeltrame@kde.org> --- Assigning to the collective list used by the KDE team. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1060506 http://bugzilla.opensuse.org/show_bug.cgi?id=1060506#c2 --- Comment #2 from Luca Beltrame <lbeltrame@kde.org> --- (In reply to Luca Beltrame from comment #1)
Assigning to the collective list used by the KDE team.
Filed a bug report upstream: https://git.kolab.org/T2642 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1060506 http://bugzilla.opensuse.org/show_bug.cgi?id=1060506#c3 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1061219 OS|openSUSE Factory |All --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- submitted https://build.opensuse.org/request/show/943530 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1060506 http://bugzilla.opensuse.org/show_bug.cgi?id=1060506#c4 --- Comment #4 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1060506) was mentioned in https://build.opensuse.org/request/show/943543 Factory / libkolabxml -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1060506 http://bugzilla.opensuse.org/show_bug.cgi?id=1060506#c5 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |fabian@ritter-vogt.de Assignee|opensuse-kde-bugs@opensuse. |screening-team-bugs@suse.de |org | Summary|libkolabxml packages differ |xerces-c serialization |for every build |varies across builds --- Comment #5 from Fabian Vogt <fabian@ritter-vogt.de> --- FWICT, the issue is the serialization in xerces-c, which dumps elements based on the order in internal hash tables. Those tables use a hash derived from the key pointers in some cases ("PtrHasher"), so the order can depend on the memory layout. XTemplateSerializer.cpp has an define "XERCES_DEBUG_SORT_GRAMMAR" which if enabled sorts the keys more deterministically (?). With that defined, xsdbin emits consistent output here. Oh, and there's also a bug that alignment space is not zeroed, but that's actually deterministic, so not an issue in this context. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com