All of lore.kernel.org
 help / color / mirror / Atom feed
* failed to send Concatenated sms message with ofono v0.33:
@ 2010-11-22  9:48 Ding, HaitaoX
  2010-11-22  9:55 ` Arun Ravindran
  0 siblings, 1 reply; 2+ messages in thread
From: Ding, HaitaoX @ 2010-11-22  9:48 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

Hi,

failed to send Concatenated sms message with ofono v0.33 due to buffer overflow.
The message which was sent is "HELLO WORLD! FIRST TIME! HELLO WORLD! SECOND TIME! HELLO WORLD! THIRD TIME! HELLO WORLD! FOURTH TIME! HELLO WORLD! FIFTH TIME! HELLO WORLD! SIXTH TIME!! HELLO WORLD! SEVENTH TIME!"

How can I clear buffer which save sms message.

Attached is ofono chat log . please FYI.

Best Regards
Haitao




[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1721 bytes --]

[-- Attachment #3: send_concatenated_sms_log.txt --]
[-- Type: text/plain, Size: 6921 bytes --]

[root@localhost test]# ofonod[1366]: src/sms.c:sms_send_message() ref: 0,
offset: 3
ofonod[1366]: src/sms.c:tx_queue_entry_new() pdu_len: 155, tpdu_len: 154
ofonod[1366]: src/sms.c:tx_queue_entry_new() pdu_len: 44, tpdu_len: 43
ofonod[1366]: Sending SMS on modem: 0x97a6f68
ofonod[1366]: InternalMessageId: 16DBAC331CC54049CC229E70EEAE600F197EF61E
ofonod[1366]: To: 18601203279:
ofonod[1366]: Local Time: 2010-01-01T00:10:01+0000
ofonod[1366]: Text: HELLO WORLD! FIRST TIME! HELLO WORLD! SECOND TIME!
HELLO WORLD! THIRD TIME! HELLO WORLD! FOURTH TIME! HELLO WORLD! FIFTH TIME! HELLO WORLD! SIXTH TIME!! HELLO WORLD! SEVENTH TIME!
*** buffer overflow detected ***: ofonod terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x4d)[0x70f59d]
/lib/libc.so.6[0x70d55a]
/lib/libc.so.6[0x70cc48]
/lib/libc.so.6(_IO_default_xsputn+0x135)[0x682875]
/lib/libc.so.6(_IO_vfprintf+0xf83)[0x6559f3]
/lib/libc.so.6(__vsprintf_chk+0xbb)[0x70cd0b]
/lib/libc.so.6(__sprintf_chk+0x2e)[0x70cc3e]
/usr/lib/ofono/plugins/smshistory.so(+0x22e3)[0xb78372e3]
/usr/lib/ofono/plugins/smshistory.so(+0x2796)[0xb7837796]
/usr/lib/ofono/plugins/smshistory.so(+0x2a3d)[0xb7837a3d]
ofonod[0x80cb65f]
ofonod[0x80a6909]
ofonod[0x80cb928]
ofonod[0x80b2e46]
ofonod[0x80531eb]
/lib/libdbus-1.so.3[0xbfdaf3]
/lib/libdbus-1.so.3(dbus_connection_dispatch+0x3ea)[0xbec51a]
ofonod[0x8051cb0]
/lib/libglib-2.0.so.0[0x8749cd]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1b7)[0x8737f9]
/lib/libglib-2.0.so.0[0x873e20]
/lib/libglib-2.0.so.0(g_main_loop_run+0x221)[0x8743b7]
ofonod[0x80a4ba9]
/lib/libc.so.6(__libc_start_main+0xe7)[0x628bb7]
ofonod[0x8051851]
======= Memory map: ========
00283000-00291000 r-xp 00000000 b3:09 267988     /lib/libudev.so.0.9.1
00291000-00292000 rw-p 0000d000 b3:09 267988     /lib/libudev.so.0.9.1
005ed000-0060e000 r-xp 00000000 b3:09 267948     /lib/ld-2.11.90.so
0060e000-0060f000 r--p 00020000 b3:09 267948     /lib/ld-2.11.90.so
0060f000-00610000 rw-p 00021000 b3:09 267948     /lib/ld-2.11.90.so
00612000-007a6000 r-xp 00000000 b3:09 268163     /lib/libc-2.11.90.so
007a6000-007a8000 r--p 00193000 b3:09 268163     /lib/libc-2.11.90.so
007a8000-007a9000 rw-p 00195000 b3:09 268163     /lib/libc-2.11.90.so
007a9000-007ad000 rw-p 00000000 00:00 0
007af000-007c7000 r-xp 00000000 b3:09 268493     /lib/libpthread-2.11.90.so
007c7000-007c8000 r--p 00017000 b3:09 268493     /lib/libpthread-2.11.90.so
007c8000-007c9000 rw-p 00018000 b3:09 268493     /lib/libpthread-2.11.90.so
007c9000-007cb000 rw-p 00000000 00:00 0
007cd000-007d0000 r-xp 00000000 b3:09 267963     /lib/libdl-2.11.90.so
007d0000-007d1000 r--p 00002000 b3:09 267963     /lib/libdl-2.11.90.so
007d1000-007d2000 rw-p 00003000 b3:09 267963     /lib/libdl-2.11.90.so
007d4000-007ed000 r-xp 00000000 b3:09 267962     /lib/libgcc_s-4.5.0.so.1
007ed000-007ee000 rw-p 00018000 b3:09 267962     /lib/libgcc_s-4.5.0.so.1
007f0000-007f8000 r-xp 00000000 b3:09 268097     /lib/librt-2.11.90.so
007f8000-007f9000 r--p 00007000 b3:09 268097     /lib/librt-2.11.90.so
007f9000-007fa000 rw-p 00008000 b3:09 268097     /lib/librt-2.11.90.so
00841000-00909000 r-xp 00000000 b3:09 267975     /lib/libglib-2.0.so.0.2400.2
00909000-0090a000 rw-p 000c8000 b3:09 267975     /lib/libglib-2.0.so.0.2400.2
0090c000-00945000 r-xp 00000000 b3:09 268166     /lib/libpcre.so.0.0.1
00945000-00946000 rw-p 00038000 b3:09 268166     /lib/libpcre.so.0.0.1
00948000-0094c000 r-xp 00000000 b3:09 267974    
/lib/libgthread-2.0.so.0.2400.2
0094c000-0094d000 rw-p 00003000 b3:09 267974    
/lib/libgthread-2.0.so.0.2400.2
0094f000-00988000 r-xp 00000000 b3:09 267945    
/lib/libgobject-2.0.so.0.2400.2
00988000-00989000 rw-p 00039000 b3:09 267945    
/lib/libgobject-2.0.so.0.2400.2
00bdf000-00c26000 r-xp 00000000 b3:09 267951     /lib/libdbus-1.so.3.4.0
00c26000-00c27000 r--p 00046000 b3:09 267951     /lib/libdbus-1.so.3.4.0
00c27000-00c28000 rw-p 00047000 b3:09 267951     /lib/libdbus-1.so.3.4.0
08047000-08122000 r-xp 00000000 b3:09 307744     /usr/sbin/ofonod
08122000-08129000 rw-p 000db000 b3:09 307744     /usr/sbin/ofonod
08129000-0812a000 rw-p 00000000 00:00 0
09787000-097c6000 rw-p 00000000 00:00 0          [heap]
b782f000-b7831000 rwxs 00000000 b3:09 16617     
/var/cache/callhistory/voicecallhistorydata
b7831000-b7835000 rwxs 00000000 b3:09 16615     
/var/cache/smshistory/smshistorydata
b7835000-b783a000 r-xp 00000000 b3:09 356573    
/usr/lib/ofono/plugins/smshistory.so
b783a000-b783b000 rw-p 00004000 b3:09 356573    
/usr/lib/ofono/plugins/smshistory.so
b783b000-b783e000 rw-p 00000000 00:00 0
b7840000-b7843000 r-xp 00000000 b3:09 356574    
/usr/lib/ofono/plugins/callhistory.so
b7843000-b7844000 rw-p 00003000 b3:09 356574    
/usr/lib/ofono/plugins/callhistory.so
b7844000-b784b000 r--s 00000000 b3:09 309015    
/usr/lib/gconv/gconv-modules.cache
b784b000-b784c000 rw-p 00000000 00:00 0
b784c000-b784d000 r-xp 00000000 00:00 0          [vdso]
bfb5c000-bfb7d000 rw-p 00000000 00:00 0          [stack]
ofonod[1366]: Aborting (signal 6)
ofonod[1366]: ++++++++ backtrace ++++++++
ofonod[1366]: [0]: [0xb784c400]
ofonod[1366]: [1]: [0xb784c424]
ofonod[1366]: [2]: /lib/libc.so.6(gsignal+0x52) [0x63f252]
ofonod[1366]: [3]: /lib/libc.so.6(abort+0x188) [0x640ea8]
ofonod[1366]: [4]: /lib/libc.so.6() [0x67e51d]
ofonod[1366]: [5]: /lib/libc.so.6(__fortify_fail+0x4d) [0x70f59d]
ofonod[1366]: [6]: /lib/libc.so.6() [0x70d55a]
ofonod[1366]: [7]: /lib/libc.so.6() [0x70cc48]
ofonod[1366]: [8]: /lib/libc.so.6(_IO_default_xsputn+0x135) [0x682875]
ofonod[1366]: [9]: /lib/libc.so.6(_IO_vfprintf+0xf83) [0x6559f3]
ofonod[1366]: [10]: /lib/libc.so.6(__vsprintf_chk+0xbb) [0x70cd0b]
ofonod[1366]: [11]: /lib/libc.so.6(__sprintf_chk+0x2e) [0x70cc3e]
ofonod[1366]: [12]: /usr/lib/ofono/plugins/smshistory.so(+0x22e3)
[0xb78372e3]
ofonod[1366]: [13]: /usr/lib/ofono/plugins/smshistory.so(+0x2796)
[0xb7837796]
ofonod[1366]: [14]: /usr/lib/ofono/plugins/smshistory.so(+0x2a3d)
[0xb7837a3d]
ofonod[1366]: [15]: ofonod() [0x80cb65f]
ofonod[1366]: [16]: ofonod() [0x80a6909]
ofonod[1366]: [17]: ofonod() [0x80cb928]
ofonod[1366]: [18]: ofonod() [0x80b2e46]
ofonod[1366]: [19]: ofonod() [0x80531eb]
ofonod[1366]: [20]: /lib/libdbus-1.so.3() [0xbfdaf3]
ofonod[1366]: [21]: /lib/libdbus-1.so.3(dbus_connection_dispatch+0x3ea)
[0xbec51a]
ofonod[1366]: [22]: ofonod() [0x8051cb0]
ofonod[1366]: [23]: /lib/libglib-2.0.so.0() [0x8749cd]
ofonod[1366]: [24]: /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1b7)
[0x8737f9]
ofonod[1366]: [25]: /lib/libglib-2.0.so.0() [0x873e20]
ofonod[1366]: [26]: /lib/libglib-2.0.so.0(g_main_loop_run+0x221) [0x8743b7]
ofonod[1366]: [27]: ofonod() [0x80a4ba9]
ofonod[1366]: [28]: /lib/libc.so.6(__libc_start_main+0xe7) [0x628bb7]
ofonod[1366]: [29]: ofonod() [0x8051851]
ofonod[1366]: +++++++++++++++++++++++++++

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-22  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-22  9:48 failed to send Concatenated sms message with ofono v0.33: Ding, HaitaoX
2010-11-22  9:55 ` Arun Ravindran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.