Bug 10470 - lib64wvstreams4.6 breaks wvdial
Summary: lib64wvstreams4.6 breaks wvdial
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
Whiteboard: mga3-64-ok mga3-32-ok
Keywords: Junior_job, validated_update
Depends on:
Reported: 2013-06-10 03:52 CEST by Rolf Pedersen
Modified: 2013-07-16 10:39 CEST (History)
8 users (show)

See Also:
Source RPM: wvstreams-4.6.1-7.mga3.src.rpm
Status comment:

modified spec file (3.74 KB, text/plain)
2013-06-11 22:47 CEST, Rolf Pedersen

Description Rolf Pedersen 2013-06-10 03:52:12 CEST
wvdial crashes with "wvdial: utils/wvtask.cc:304: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == 0x123678' failed.
Aborted" or similar.

Forum topic: https://forums.mageia.org/en/viewtopic.php?f=8&t=5123&p=36360#p36360

Inspirational Red Hat bug comment: https://bugzilla.redhat.com/show_bug.cgi?id=812651#c14

What I did was install wvstreams-4.6.1-7.mga3.src.rpm and make a stab in the dark edit to the spec file to read as follows:

74  CFLAGS="%{optflags} -fPIC -fpermissive -fno-strict-aliasing -fno-tree-dce -fno-optimize-sibling-calls" CXXFLAGS="%{optflags} -fPIC -fpermissive -fno-strict-aliasing -fno-tree-dce -fno-optimize-sibling-calls" %configure2_5x

All I did was add the flags reported in comment 14 of the Red Hat bug to CFLAGS and CXXFLAGS.  I removed nothing.

Then, I did 

rpmbuild -bb SPECS/wvstreams.spec

and installed the resultant 

-rw-r--r-- 1 root root  586424 Jun  8 14:15 lib64wvstreams4.6-4.6.1-7.mga3.x86_64.rpm

after removing Mageia's package.  After that, I installed wvdial and it works.  Another success story is at the linked forum topic.


Steps to Reproduce:
Manuel Hiebel 2013-06-11 21:10:11 CEST

Keywords: (none) => Junior_job
CC: (none) => fundawang, shikamaru

Comment 1 Rolf Pedersen 2013-06-11 22:47:35 CEST
Created attachment 4132 [details]
modified spec file

In case it's useful, the modified spec file is attached.
Comment 2 jb butet 2013-06-20 10:26:02 CEST
confirm on i586 platform

CC: (none) => ashashiwa
Hardware: x86_64 => All

Comment 3 Derek Jennings 2013-06-25 00:50:44 CEST
Looks good Rolf.  Your spec file is consistent with fedoras update apart from Fedora only appying the changes to CXXOPTS


Did you try it without the changes to CFLAGS ?

CC: (none) => derekjenn, jani.valimaa
Assignee: bugsquad => derekjenn

Comment 4 Rolf Pedersen 2013-06-25 00:56:44 CEST
No, just a stab in the dark and happy that it works, here.  Building rpms is not my bailiwick. ;)
Comment 5 Derek Jennings 2013-06-27 22:55:58 CEST
 libwvstreams4.6-4.6.1-8.mga4 is now in Cauldron.  Could someone try it out please and report if it is OK?

It should install OK on mageia 3.

I cannot test it myself.

If it works I will roll it out for mga3 as an update.
Derek Jennings 2013-06-30 13:56:11 CEST


Comment 6 Derek Jennings 2013-07-03 20:36:21 CEST
SRPM   wvstreams-4.6.1-7.1.mga3.src.rpm
RPMS   lib64wvstreams4.6-4.6.1-7.1.mga3.x86_64.rpm

are in mga3 core/updates_testing

This is a bugfix update to wvstreams to fix a bug that caused an error message when connecting to a ppp dial connection.

Required Hardware
USB 3G dongle or dial up modem

Note for QA
Could those who have experienced this problem please help QA validate this update. There may not be many QA testers with the required hardware.

Test Procedure
Connect to a 3G service or dial up modem service using wvdial on the command line, and observe the output.

 A good guide is in the first post on the forum at

Sorry I do not have the required hardware myself so cannot write a detailed test procedure.

Assignee: derekjenn => qa-bugs

Comment 7 Piotr Mackowiak 2013-07-04 08:36:36 CEST
I user corrected WVDIAL on my HP laptop + Huawei E173 GSM usb modem. Confirm. From my point of view, the bug is corrected.

CC: (none) => mackowiakp

Comment 8 claire robinson 2013-07-04 09:06:38 CEST
Thanks Piotr

Can you say which installation you tested with please, i586 or x86_64
Comment 9 Piotr Mackowiak 2013-07-04 09:53:42 CEST
x86_64 only + necessary modification of udev.rules for my personal needs.

And sorry for mistyping in my first post. Should be "I use" not "I user".
Comment 10 claire robinson 2013-07-04 10:06:52 CEST
Thankyou Piotr

jb butet, I notice you use i586. Could you please test the update candidate in Core Updates Testing cures the problem for you too. We can validate the update candidate then and get it pushed as a proper update. Thanks!

Whiteboard: (none) => mga3-64-ok

Comment 11 Piotr Mackowiak 2013-07-04 10:22:42 CEST
I use i586 but it is my home media centre, NAS, ZoneMinder, Webdav server etc. So practically no way to test/turn-off/reboot this computer. It could be dangerous for my life (wife, children etc). Even I have no free USB port on it,

But I use practically everyday new version of wvdial since it was available thanks to discussion on M3 forum.
Comment 12 claire robinson 2013-07-15 18:40:58 CEST
Tested mga3 32 only so far as it updates cleanly, wvdial will not start without a modem. Piotr thanks for your testing.

Validating. Advisory from comment 6 uploaded.

Could sysadmin please push from core/updates_testing to core/updates.


Keywords: (none) => validated_update
Whiteboard: mga3-64-ok => mga3-64-ok mga3-32-ok
CC: (none) => sysadmin-bugs

Comment 13 Thomas Backlund 2013-07-16 10:39:07 CEST
Update pushed:

CC: (none) => tmb
Resolution: (none) => FIXED

Note You need to log in before you can comment on or make changes to this bug.