Re: gnokii --send-sms core dumps
ML mail <[email protected]>
| Newsgroups | gmane.linux.drivers.gnokii |
|---|---|
| Message-ID | <[email protected]> |
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=0xcfbe4d04 "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=0xcfbe4d04 "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=0x8b19039c, 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 <[email protected]> To: ML mail <[email protected]>; Discussion forum for gnokii users. <[email protected]> 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 _______________________________________________ gnokii-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/gnokii-users