You are not logged in.
I have a problem with wvdial. The problem arouse sometime ago I do not know why (many things have been updated, but not wvdial or pppd). Now wvdial segfaults only sometimes (about four times each five I call it). The modem (a UMTS 3G modem) works fine if I use directly pppd. My /etc/wvdial.conf is not changed and largely translates in wvdial options the options I use successfully for pppd:
[Dialer Defaults]
Modem = /dev/noz0
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = ATX3
Init2 = AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+cgdcont=1,"IP","internet.wind"
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99***1#
Phone1 = *99***1#
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 20
Dial Command = ATM1L3DT
Ask Password = off
Password = anon
Username = anon
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
When it does not segfault, wvdial connects fine and the connection is stable and proficient.
I have tried to do a strace, but honestly I am not able to understand it (there are several "timeouts", and then the segmentation:
http://rafb.net/p/Oq6KtO58.html
Before submitting a bug, I would like to see if someone else has this problem, if it is a general problem or if it is related to the kind of modem or configuration, and if anyone has any idea about which update can have caused this regression.
Last edited by patroclo7 (2008-03-24 14:28:39)
Mortuus in anima, curam gero cutis
Offline
I have tried to recompile wvstreams and wvdial out of abs, but both the compilations fail. The compilation of wvstreams ends with:
compiling uniconf/uniconf.o...
In file included from ./include/uniconf.h:10,
from uniconf/uniconf.cc:7:
./include/uniconfkey.h: In member function 'UniConfKey UniConfKey::last(int) const':
./include/uniconfkey.h:330: error: 'INT_MAX' was not declared in this scope
./include/uniconfkey.h: In member function 'UniConfKey UniConfKey::removefirst(int) const':
./include/uniconfkey.h:341: error: 'INT_MAX' was not declared in this scope
make: *** [uniconf/uniconf.o] Error 1
make: *** Waiting for unfinished jobs....
The compilation of wvdial fails with:
compiling wvdialbrain.o...
In file included from /usr/include/wvstreams/uniconf.h:10,
from /usr/include/wvstreams/uniconfroot.h:10,
from /usr/include/wvstreams/wvconfemu.h:10,
from wvpapchap.h:12,
from wvpapchap.cc:9:
/usr/include/wvstreams/uniconfkey.h: In member function 'UniConfKey UniConfKey::last(int) const':
/usr/include/wvstreams/uniconfkey.h:330: error: 'INT_MAX' was not declared in this scope
/usr/include/wvstreams/uniconfkey.h: In member function 'UniConfKey UniConfKey::removefirst(int) const':
/usr/include/wvstreams/uniconfkey.h:341: error: 'INT_MAX' was not declared in this scope
wvpapchap.cc: In member function 'void WvPapChap::put_secret(WvString, WvString, WvString)':
wvpapchap.cc:29: warning: deprecated conversion from string constant to 'char*'
wvpapchap.cc:31: warning: deprecated conversion from string constant to 'char*'
wvpapchap.cc:36: warning: deprecated conversion from string constant to 'char*'
wvpapchap.cc:38: warning: deprecated conversion from string constant to 'char*'
make: *** [wvpapchap.o] Error 1
make: *** Waiting for unfinished jobs....
Mortuus in anima, curam gero cutis
Offline
Oh, the problem of the compilation seems to be related to the gcc-4.3.0 in testing, downgrading to the version in 4.2.1 solves the compilation problems. And recompiling both wvstreams and wvdial with gcc-4.2.1 prevents also the segfault. Ok, now I am ready for a proper bug report (sorry for the monologue, but if someone meets the same problem, a confirmation would be fine).
Mortuus in anima, curam gero cutis
Offline
See bug 9917
Mortuus in anima, curam gero cutis
Offline
While I was posting the bug, gcc-4.3.0 entered the core repo, so the problem now concerns the version in core
Mortuus in anima, curam gero cutis
Offline
wvdial segfaults now (with the new libc I think)
I had to change to pppd scripts
Offline
If you follow the bug report, you should see that 2.7-9 now in testing should have fixed the problem (it is fixed for me). If not, reopen the bug!
Mortuus in anima, curam gero cutis
Offline