Hi,
I'm using Arago Project to build core-image-minimal running on beaglebone black with processor-sdk-01.00.00.00-config.txt.
my wvdial program always is Segmentation fault, and the flowing text is gdb trace log.
BTW, I could use pppd / chat to establish 3G connection, so i'm sure my modem, PPP, and USB ACM driver are OK.
Did anyone have same problem?
root@am335x-evm:/etc#
root@am335x-evm:/etc# gdb -q wvdial
Reading symbols from /usr/bin/wvdial...Reading symbols from /usr/bin/.debug/wvdial...done.
done.
(gdb) r
Starting program: /usr/bin/wvdial
warning: File "/lib/libstdc++.so.6.0.17-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libstdc++.so.6.0.17-gdb.py
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
Program received signal SIGILL, Illegal instruction.
0xb69af188 in ?? () from /lib/libcrypto.so.1.0.0
(gdb) c
Continuing.
Cannot access memory at address 0x0
--> WvDial: Internet dialer version 1.61
--> 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
--> Modem initialized.
--> Idle Seconds = 30, disabling automatic reconnect.
Program received signal SIGSEGV, Segmentation fault.
0xb6dce614 in WvTaskMan::_stackmaster () at utils/wvtask.cc:427
warning: Source file is more recent than executable.
427 assert(magic_number == -WVTASK_MAGIC);
(gdb) bt
#0 0xb6dce614 in WvTaskMan::_stackmaster () at utils/wvtask.cc:427
#1 0x00030130 in ?? ()
Cannot access memory at address 0xffffffff
#2 0x00030130 in ?? ()
Cannot access memory at address 0xffffffff
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)