View Issue Details

IDProjectCategoryView StatusLast Update
0005566SOGopublic2024-04-02 08:23
Reporterjordi Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version12 (bookworm)
Product Version5.6.0 
Summary0005566: Tests fail on big endian
Description

SOGo tests fail on big endian architectures, as can be seen in the Debian official builds. This started happening with 5.6.0 and can still be reproduced in 5.7.0. 5.5.1 was ok.

Steps To Reproduce

run ./obj/sogo-tests in a BE machine, the tool will fail with

malloc() invalid size (unsorted)

or
malloc(): mismatching next->prev_size(unsorted)

Additional Information

s390x:

./obj/sogo-tests
2022-06-16 13:02:15.044 sogo-tests[2296235:2296235] File NSBundle.m: 864. In +[NSBundle(Private) _addFrameworkFromClass:] Could not find framework SOGo in any standard location
F......<0x0x3ff819c8280[NGMimeType]> +[NGMimeType stringEncodingForCharset:]: unknown charset 'inexistent_encoding'
.........F.....malloc(): invalid size (unsorted)

https://buildd.debian.org/status/fetch.php?pkg=sogo&arch=s390x&ver=5.7.0-1&stamp=1655384541&raw=0

powerpc:

./obj/sogo-tests
2022-06-16 13:08:58.255 sogo-tests[51103:51103] File NSBundle.m: 864. In +[NSBundle(Private) _addFrameworkFromClass:] Could not find framework SOGo in any standard location
F......<0x0x4fa5f4[NGMimeType]> +[NGMimeType stringEncodingForCharset:]: unknown charset 'inexistent_encoding'
.........F.....malloc(): mismatching next->prev_size (unsorted)

https://buildd.debian.org/status/fetch.php?pkg=sogo&arch=powerpc&ver=5.7.0-1&stamp=1655384946&raw=0

ppc64:

./obj/sogo-tests
2022-06-16 13:10:35.027 sogo-tests[35529:35529] File NSBundle.m: 864. In +[NSBundle(Private) _addFrameworkFromClass:] Could not find framework SOGo in any standard location
F......<0x0x7fffbc850518[NGMimeType]> +[NGMimeType stringEncodingForCharset:]: unknown charset 'inexistent_encoding'
.........F.....malloc(): invalid size (unsorted)

https://buildd.debian.org/status/fetch.php?pkg=sogo&arch=ppc64&ver=5.7.0-1&stamp=1655385041&raw=0

sparc64:

./obj/sogo-tests
2022-06-16 13:18:23.110 sogo-tests[2226626:2226626] File NSBundle.m: 864. In +[NSBundle(Private) _addFrameworkFromClass:] Could not find framework SOGo in any standard location
F......<0x0xffff80010073a898[NGMimeType]> +[NGMimeType stringEncodingForCharset:]: unknown charset 'inexistent_encoding'
.........F.....malloc(): invalid size (unsorted)

https://buildd.debian.org/status/fetch.php?pkg=sogo&arch=sparc64&ver=5.7.0-1&stamp=1655385535&raw=0

TagsNo tags attached.

Activities

jordi

jordi

2022-08-25 12:03

reporter   ~0016186

I just checked, the problem persists with 5.7.1.

I have also compared the GCC and GNUStep versions between 5.5.1 and 5.6.0, when the problem appeared, and there are no significant differences (gcc 11, GNUStep 1.28.0.

jordi

jordi

2024-04-02 08:23

reporter   ~0017675

This is still happening with SOGo 5.10.0.

Issue History

Date Modified Username Field Change
2022-08-03 15:34 jordi New Issue
2022-08-03 16:45 francis Additional Information Updated
2022-08-25 12:03 jordi Note Added: 0016186
2024-04-02 08:23 jordi Note Added: 0017675