Bug#909213: stretch-pu: package wvstreams/4.6.1-12~deb9u1
On Wed, Sep 19, 2018 at 10:19:56PM +0300, Adrian Bunk wrote:
> Package: release.debian.org
> Severity: normal
> Tags: stretch
> User: release.debian.org@packages.debian.org
> Usertags: pu
>
> This was reported to be triggered by the
> glibc 2.24-11+deb9u1 -> 2.24-11+deb9u3
> upgrade in stable.
>
> After looking at the code I have no desire to
> understand why exactly this broke, but neither
> am I surprised.
>
> Multiple users have confirmed that this change
> fixes the problem.
>
> No regressions have been reported during
> one month in unstable.
The patch is now attached (thanks Andreas).
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
diff -Nru wvstreams-4.6.1/debian/changelog wvstreams-4.6.1/debian/changelog
--- wvstreams-4.6.1/debian/changelog 2016-12-17 12:02:02.000000000 +0200
+++ wvstreams-4.6.1/debian/changelog 2018-09-19 22:10:56.000000000 +0300
@@ -1,3 +1,18 @@
+wvstreams (4.6.1-12~deb9u1) stretch; urgency=medium
+
+ * QA upload.
+ * Rebuild for stretch.
+
+ -- Adrian Bunk <bunk@debian.org> Wed, 19 Sep 2018 22:10:56 +0300
+
+wvstreams (4.6.1-12) unstable; urgency=low
+
+ * QA upload.
+ * Work around stack corruption, thanks to Karol Ossowski.
+ (Closes: #863039)
+
+ -- Adrian Bunk <bunk@debian.org> Sun, 12 Aug 2018 21:40:33 +0300
+
wvstreams (4.6.1-11) unstable; urgency=medium
* QA upload.
diff -Nru wvstreams-4.6.1/debian/patches/12_increase_task_stack.patch wvstreams-4.6.1/debian/patches/12_increase_task_stack.patch
--- wvstreams-4.6.1/debian/patches/12_increase_task_stack.patch 1970-01-01 02:00:00.000000000 +0200
+++ wvstreams-4.6.1/debian/patches/12_increase_task_stack.patch 2018-08-12 21:40:33.000000000 +0300
@@ -0,0 +1,15 @@
+Description: Increase the task stack to work around stack corruption
+Author: Karol Ossowski <karol.ossowski@gmail.com>
+Bug-Debian: https://bugs.debian.org/863039
+
+--- wvstreams-4.6.1.orig/utils/wvtask.cc
++++ wvstreams-4.6.1/utils/wvtask.cc
+@@ -429,7 +429,7 @@ void WvTaskMan::_stackmaster()
+ total = (val+1) * (size_t)1024;
+
+ if (!use_shared_stack())
+- total = 1024; // enough to save the do_task stack frame
++ total = 2048; // enough to save the do_task stack frame
+
+ // set up a stack frame for the new task. This runs once
+ // per get_stack.
diff -Nru wvstreams-4.6.1/debian/patches/series wvstreams-4.6.1/debian/patches/series
--- wvstreams-4.6.1/debian/patches/series 2016-07-11 14:41:28.000000000 +0300
+++ wvstreams-4.6.1/debian/patches/series 2018-08-12 21:40:33.000000000 +0300
@@ -9,3 +9,4 @@
10_readline.diff
11_typos.diff
gcc-6.patch
+12_increase_task_stack.patch
Reply to: