Comment # 3 on bug 1092877 from
Thanks Marco, for access to your orthos machine (I don't need it anymore). 

After a few hours of debugging:

1) By now, the issue can not be reproduced on any other machine. The code and
the amount of data however is the same on  any  TW system perfoming a 'zypper
dup'. I'd expect more report like this, if this is a common issue.

2) The zypp logger is using `vasprintf` (man ASPRINTF(3)) to format it's log
limes. The crash happens when writing out a large log line (> 200000 chars). I
was finally able to create a small test program not using libzypp at all (will
be attached as bug.cc). 

It basically creates std::strings of a given size and compares them with the
result of 'vasprintf( "%s" string )'. The expected result are equal strings. On
your machine however the strings returned by vasprintf are truncated if the
input string exceeds ~170000 chars. Causing various memory allocation issues
and crashes.


So this seems to be no libzypp issue, probably not even an issue in
glibc/libstdc++ (as the tests behaved well on any TW,Leap,SLE system I checked.


You are receiving this mail because: