Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493980 - net-dialup/wvdial - configuration parsing fails - wvdial: utils/wvtask.cc:203: WvTaskMan::WvTaskMan(): Assertion `getcontext(&get_stack_return) == 0' failed.
Summary: net-dialup/wvdial - configuration parsing fails - wvdial: utils/wvtask.cc:203...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://groups.google.com/forum/#!top...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-11 23:03 UTC by Janusz
Modified: 2016-02-18 11:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz 2013-12-11 23:03:15 UTC
Hello,

I'm on some fresh arm box and no luck with wvdial.

Only information I could have get is discussion here: https://groups.google.com/forum/#!topic/wvstreams-devel/R58V8CBSSjs

They say Debian is right, I'm yet to replace packages and see if it helps.

But maybe we just can implement their patches? I think its definately for bugzilla, so I've reported it 

How to reproduce - install wvdial on ARM and try to connect. Example

[code]MiniBox ~ # cat /etc/wvdial.conf

[Dialer defaults]
Init1 = AT+CGDCONT=1,"IP","internet"
Modem Type = Analog Modem
ISDN = 0
Phone = *99
Modem = /dev/modem
Username = internet
Dial Command = ATDTW
Stupid Mode = 1
Password = internet
Baud = 460800
MiniBox ~ # wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
wvdial: utils/wvtask.cc:203: WvTaskMan::WvTaskMan(): Assertion `getcontext(&get_stack_return) == 0' failed.
Aborted
MiniBox ~ #
[/code]


Reproducible: Always

Steps to Reproduce:
1. Install Gentoo on ARM
2. Install wvdial / wvstreams 
3. try to connect
Actual Results:  
It dies :-) nothing more I can say.

Expected Results:  
It should parse configuration and make a connection.

Best info here: https://mail.google.com/mail/u/0/?shva=1#inbox/142e3e11bf271470
Comment 1 Janusz 2013-12-11 23:05:09 UTC
Portage 2.2.7 (default/linux/arm/13.0/armv7a, gcc-4.7.3, glibc-2.15-r3, 3.0.8-1 armv7l)
=================================================================
System uname: Linux-3.0.8-1-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2
KiB Mem:      853840 total,     92760 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 11 Dec 2013 22:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 armv7a-softfp-linux-gnueabi [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-softfp-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
CHOST="armv7a-softfp-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="ftp://gentoo.po.opole.pl http://ftp.sh.cvut.cz/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="acl arm berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv imlib ipv6 modules mudflap ncurses nls nptl openmp pam pcre readline session ssl tcpd unicode zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-12 15:16:26 UTC
(In reply to Janusz from comment #0)
> Best info here:
> https://mail.google.com/mail/u/0/?shva=1#inbox/142e3e11bf271470

Maybe that's not accessible to everyone?
Comment 3 Sergey Popov gentoo-dev 2013-12-13 07:24:03 UTC
Ok, i have read discussion in URL, just to summarize:

- The problem is unclear - somebody says that problem is in uClibc(uClibc does not implement some functions, that used by default in wvdial and workarounds for that seems to be broken in some cases. Also reported on x86 configuration too), others refer to cross-compiling issues(e.g. problem is missing when compiling natively, probably configure features detection are borked).
- Suggested patches does not fit all corner cases and possibly brokes others configuration;
- And last one - wvdial and wvstreams are NOT keyworded ~arm in Gentoo, so it is unsupported configuration for now.

So, i suggest to close this at least as RESOLVED UPSTREAM(or even as RESOLVED WONTFIX) until proper resolution(e.g. patch from upstream or new release with this problem fixed) will be available.
Comment 4 Janusz 2013-12-13 07:33:30 UTC
Yes, all is unclear except packages are not supported :-)

I did compile natively on ARM and cross compiled on AMD64 just to experience same results. 

Can we try review and merge at least patches from Debian, just a blind shot - mayby the bug... will go away :-)

For those trying to setup 3G on ARM still there is pppd which works OK in baselayout-2.