gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii --send-sms core dumps


From: ML mail
Subject: Re: gnokii --send-sms core dumps
Date: Tue, 6 Nov 2012 06:52:18 -0800 (PST)

Hi Daniele,

Thank yo four your fast answer. As asked you will find below the output of the backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 7454, thread 0x809d3000]
0x020753d6 in char_unicode_encode (
    dest=0x7da79130 "????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????"..., src="" "test sms", len=8) at gsm-encoding.c:1016
1016                            dest[pos++] =  wc >> 8 & 0xFF;
(gdb) backtrace
#0  0x020753d6 in char_unicode_encode (
    dest=0x7da79130 "????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????"..., src="" "test sms", len=8) at gsm-encoding.c:1016
#1  0x0207570d in gn_char_def_alphabet (string=0xcfbe4d04 "test sms") at gsm-encoding.c:449
#2  0x1c010c21 in sendsms (argc=3, argv=0xcfbec134, data="" state=0x8b190000) at gnokii-sms.c:338
#3  0x1c003d2e in parse_options (argc=3, argv=0xcfbec134) at gnokii.c:891
#4  0x1c0042ad in main (argc=Cannot access memory at address 0xfffffffe
) at gnokii.c:1234

Regards,
M.L.


From: Daniele Forsi <address@hidden>
To: ML mail <address@hidden>; Discussion forum for gnokii users. <address@hidden>
Sent: Tuesday, November 6, 2012 3:30 PM
Subject: Re: gnokii --send-sms core dumps

2012/11/6 ML mail:

> when I run
> the following command:
>
> gnokii --sendsms 0123456789
>
> and enter a test message and end with CTRL-D I get a core dump...

> Anyone has an idea what could be wrong?

we need a backtrace to see what's wrong

execute gnokii from inside gdb:
gdb --args gnokii --sendsms 0123456789
at the prompt type run to start gnokii, then type your SMS as usual
and after the segfault type backtrace

you can use libtool if want to run gnokii from the build directory:
libtool --mode=execute gdb --args gnokii/gnokii --sendsms 0123456789
--
Daniele Forsi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]