wvdial segmentation fault

yuudai10

Vu+ Newbie
Hi!

I tried to connect my 3G modem (Huawei E1550) on Vu+ Zero 4K (Black Hole 3.0.9.C), but unfortunately 3G Modem Manager did not work correctly. 3 steps passed and "4. Attempt to connect" is freezing. No error popups or something messages.

After that I used `wvdial` utility directly by ssh and catch SIGSEGV. Maybe someone knows how to fix this bug?

```
$ cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 9600
Dial Command = ATDT
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
Init4 = AT+CFUN = 1
Username = 1
Password = 1
Phone = *99#
Modem Type = Analog Modem
ISDN = 0
Carrier Check = 0
Abort on No Dialtone = 0
Stupid Mode = 1
Check DNS = 1
Check Def Route = 1
Auto DNS = 1

$ ls -la /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Jan 4 17:05 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Jan 4 16:43 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Jan 4 16:43 /dev/ttyUSB2

$ wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Sending: AT+CFUN = 1
AT+CFUN = 1
OK
--> Modem initialized.
Segmentation fault
```
 

AlexWilMac

Moderator
In case nobody can help you to directly use this device, remember that nowadays is much easier to use 3G/4G devices that behave like a router, so that you can connect to them by WiFi and there is no need of drivers for whatever client.
Unfortunately, when it comes to use not common devices, Linux systems are not so friendly. But the solution is simple. Until 7/8 years ago, these devices were not so cheap and common.
 

yuudai10

Vu+ Newbie
@Alexwilmac I think it's just a build bug, because, for example, wvdial works on ubuntu correctly.

wvdial-1.61 was provided to 3.0.5 in the first time (I do not have permissions to check package distr for previous releases), and only 4 patches were released till now (3.0.9 is the current version of Black Hole). Maybe this bug not been reproduced and support team does not know about it.

Maybe do you know how to generate a core dump?
 

AlexWilMac

Moderator
No, unfortunately I'm not expert at this aspect, not enough time in my life to come back to programming as in the past!
but I hope that @angelofsky1980 will have a look into this issue: he's the top about driver issue!
 
Top