segmentation fault as soon as entering 1 function in the arm processor board
Hi everyone,
i'm lost on this one, can someone give me some hints ?
1. downloaded latest stunnel package from web
2. build in the host linux and runs fine
3. build for arm target (am using the same settings from before,
my task is to upgrade to latest stunnel)
4. builds ok, when run in arm board, seg fault.
5. from gdb core,
[New LWP 867]
Cannot access memory at address 0x70797263
(gdb) bt
#0 parse_commandline (name=0xbefdce29 "/opt/ultra/config/stunnel.conf",
parameter=0xbefdce48 "-version") at options.c:1940
#1 0x0003ba04 in main_configure (
arg1=0xbefdce29 "/opt/ultra/config/stunnel.conf",
arg2=0xbefdce48 "-version") at stunnel.c:199
#2 0x0003bd44 in main_unix (argv=<optimized out>, argc=<optimized out>)
at stunnel.c:135
#3 main (argc=3, argv=0xbefdcd24) at stunnel.c:110
my question is, it crashed when just entering parse_commandline( ),
the 2 arguments look fine to me.
How could this happen ?
Many thanks !
|