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

Bug#916657: qtscript-opensource-src: Segmentation fault in libQt5Script.so.5.11.2 building qbs



Hi!

On Sun, Dec 16, 2018 at 06:18:39PM -0500, John David Anglin wrote:
> Dear Maintainer,
>
> Please look at analysis for qbs build failure here:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916626
>
> The segementation fault occurs because the code in currentThreadStackBase()
> incorrectly adds the stack size to the stack address returned by
> pthread_attr_getstack().  The stack on hppa grows up.
>
> With the attached patch, I had a successful build of qtscript-opensource-src:
> https://buildd.debian.org/status/fetch.php?pkg=qtscript-opensource-src&arch=hppa&ver=5.11.2%2Bdfsg-2%2Bb1&stamp=1545000897&raw=0

Thanks for the patch!

Can I ask you to forward your patch upstream to Qt Gerrit instance,
https://codereview.qt-project.org/?

Please see https://wiki.qt.io/Gerrit_Introduction for details on how
to use it.

Also note for myself: in upstream WebKit this code was replaced by a new
StackBounds class, but that seems to be a too large change to backport:
https://github.com/WebKit/webkit/commit/82395900107c8f1b.

> The patch probably fixes the bug:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880034

Did you test it?

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: