[Pidgin] #5448: MSN Mobile Message Length Error
Pidgin
trac at pidgin.im
Wed Jul 15 00:08:25 EDT 2009
#5448: MSN Mobile Message Length Error
-------------------------------------+--------------------------------------
Reporter: Maiku | Owner: QuLogic
Type: patch | Status: new
Milestone: | Component: MSN
Version: 2.4.1 | Resolution:
Keywords: msn mobile length error |
-------------------------------------+--------------------------------------
Comment(by darkrain42):
{{{
(18:10:11) QuLogic: so any luck with it?
(18:10:33) Maiku: it didn't apply so I took my best guess to get it to
compile, but then it crashes
(18:10:39) Maiku: looks like the who is royally screwed up
(18:12:01) QuLogic: which frame?
(18:15:38) Maiku: QuLogic: http://www.pidgin.im/nopaste/146
(18:16:45) QuLogic: interesting message...
(18:16:49) Maiku: heh
(18:16:59) Maiku: that's correct :P
(18:17:22) Maiku: just try decoding it :D jk
(18:19:34) QuLogic: you have it in gdb?
(18:20:47) Maiku: not anymore
(18:21:28) QuLogic: I think I know the problem
(18:21:39) Maiku: ?
(18:21:41) QuLogic: IPG's come in the NS, right?
(18:21:49) Maiku: sure?
(18:22:18) QuLogic: so the cmdproc is for the NS, and cmdproc->data is not
a switchboard
(18:22:28) Maiku: sounds familiar
(18:23:09) QuLogic: thus swboard->im_user is who knows what
}}}
the mentioned nopaste's contents:
{{{
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb70ea750 (LWP 9721)]
0xb733d078 in strcmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0 0xb733d078 in strcmp () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1 0xb74fac64 in IA__g_str_equal (v1=0x0, v2=0xb6996fab)
at /build/buildd/glib2.0-2.20.1/glib/gstring.c:77
No locals.
#2 0xb6995778 in writing_chat_msg_cb (account=0xa2d6b28,
who=0x9e8e290 "(k-\n�k-\n\200Wh\t`G+\n�(�\b���\tP�K\t�h�\t",
message=0xbffe67a8, conv=0xa2d6ba8, flags=PURPLE_MESSAGE_ERROR)
at irchelper.c:649
name = (const gchar *) 0x161 <Address 0x161 out of bounds>
topic = (const gchar *) 0x162 <Address 0x162 out of bounds>
__PRETTY_FUNCTION__ = "writing_chat_msg_cb"
#3 0xb78757e8 in
purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_UINT
(cb=0xb6995746 <writing_chat_msg_cb>,
args=0xbffe6768 "(k-\n\220��\t�g���k-\n", data=0x0,
return_val=0xbffe6728)
at signals.c:969
ret_val = 0
#4 0xb7875c91 in purple_signal_emit_vargs_return_1 (instance=0xb78e81e8,
signal=0xb78c7faa "writing-chat-msg",
args=0xbffe6768 "(k-\n\220��\t�g���k-\n") at signals.c:563
ret_val = (void *) 0x0
handler_data = (PurpleSignalHandlerData *) 0xb6996fab
l = <value optimized out>
---Type <return> to continue, or q <return> to quit---
l_next = (GList *) 0x0
__PRETTY_FUNCTION__ = "purple_signal_emit_vargs_return_1"
#5 0xb7875e93 in purple_signal_emit_return_1 (instance=0x0,
signal=0xb6996fab "prpl-irc") at signals.c:506
ret_val = <value optimized out>
__PRETTY_FUNCTION__ = "purple_signal_emit_return_1"
#6 0xb784a004 in purple_conversation_write (conv=0xa2d6ba8,
who=0x9e8e290 "(k-\n�k-\n\200Wh\t`G+\n�(�\b���\tP�K\t�h�\t",
message=0xb5800e70 "Mobile message was not sent because it was too
long:",
flags=PURPLE_MESSAGE_ERROR, mtime=1247611349) at conversation.c:888
gc = (PurpleConnection *) 0x0
account = (PurpleAccount *) 0xa2d6b28
ops = (PurpleConversationUiOps *) 0x9ecfe78
alias = <value optimized out>
displayed = 0xb14a8a0 "Mobile message was not sent because it was
too long:"
b = <value optimized out>
type = PURPLE_CONV_TYPE_UNKNOWN
__PRETTY_FUNCTION__ = "purple_conversation_write"
#7 0xb57ee36f in msn_switchboard_report_user (swboard=0x9f868b0,
flags=PURPLE_MESSAGE_ERROR,
msg=0xb5800e70 "Mobile message was not sent because it was too long:")
at switchboard.c:326
---Type <return> to continue, or q <return> to quit---
conv = (PurpleConversation *) 0xa2d6ba8
__PRETTY_FUNCTION__ = "msn_switchboard_report_user"
#8 0xb57ee68a in msg_error_helper (cmdproc=0x9e8e290, msg=0xb152dc8,
error=MSN_MSG_ERROR_LENGTH) at switchboard.c:500
str_reason = 0xb5800e70 "Mobile message was not sent because it
was too long:"
body_str = <value optimized out>
pre = 0xaaada98 "�d+\n\0343U�\0043U�\001"
post = 0xa322428 "\b\237\024\vingChatMsg"
format = <value optimized out>
body_enc = 0x94c17d0 "��\024\v�\234�\n��\024\v�\234�\nefiuah
wefliua heiufh alwiue hfliauw ehfliuah weliufah wleiufh awliue hflaiuw
ehflaiuw hefliauw hefliua hwelfiua hwleifuh awlieuf hlawiufh elaiuwfeh
aliweuh fiauwehf liauwh fleiuah eli"...
swboard = (MsnSwitchBoard *) 0x9f868b0
__PRETTY_FUNCTION__ = "msg_error_helper"
#9 0xb57e18ad in ipg_cmd_post (cmdproc=0x9e8e290, cmd=0xa2b4760,
payload=0xb142871 "<NOTIFICATION id=\"15\" siteid=\"111100400\"
siteurl=\"http://mobile.msn.com/\"><TO name=\"me at hotmail.com\"><VIA
agent=\"mobile\"/></TO><FROM name=\"tel:+11234567890\"/><MSG pri=\"1\"
id=\"407\"><CAT Id=\""..., len=323) at notification.c:1186
trans = (MsnTransaction *) 0x0
gc = (PurpleConnection *) 0x9e8e2f0
---Type <return> to continue, or q <return> to quit---
userlist = (MsnUserList *) 0x9f86910
who = 0xa342318 "contact at hotmail.com"
text = 0x0
id = <value optimized out>
payloadNode = (xmlnode *) 0x8ae85a8
from = <value optimized out>
msg = (xmlnode *) 0xa2ebd60
textNode = <value optimized out>
#10 0xb57ccd6d in msn_cmdproc_process_payload (cmdproc=0x9e8e290,
payload=0xb142871 "<NOTIFICATION id=\"15\" siteid=\"111100400\"
siteurl=\"http://mobile.msn.com/\"><TO name=\"me at hotmail.com\"><VIA
agent=\"mobile\"/></TO><FROM name=\"tel:+11234567890\"/><MSG pri=\"1\"
id=\"407\"><CAT Id=\""..., payload_len=323) at cmdproc.c:239
last = (MsnCommand *) 0xa2b4760
__PRETTY_FUNCTION__ = "msn_cmdproc_process_payload"
#11 0xb57e682b in msn_servconn_process_data (servconn=0xa2d6ba8)
at servconn.c:436
end = 0xb1429b4 ""
old_rx_buf = 0xb142868 "IPG 323"
cur_len = <value optimized out>
#12 0xb57e69e1 in read_cb (data=0xa2d6ba8, source=23,
cond=PURPLE_INPUT_READ)
at servconn.c:394
buf = "IPG 323\r\n<NOTIFICATION id=\"15\" siteid=\"111100400\"
siteurl=\---Type <return> to continue, or q <return> to quit---
"http://mobile.msn.com/\"><TO name=\"me at hotmail.com\"><VIA
agent=\"mobile\"/></TO><FROM name=\"tel:+11234567890\"/><MSG pri=\"1\"
id=\"407\">"...
len = <value optimized out>
#13 0x080aee53 in pidgin_io_invoke (source=0xa2e6d00,
condition=<value optimized out>, data=0x9da1dc0) at gtkeventloop.c:78
purple_cond = PURPLE_INPUT_READ
#14 0xb750cdad in g_io_unix_dispatch (source=0xa2e6f90,
callback=0x80aee10 <pidgin_io_invoke>, user_data=0x9da1dc0)
at /build/buildd/glib2.0-2.20.1/glib/giounix.c:162
buffer_condition = 3063508907
#15 0xb74d5b88 in IA__g_main_context_dispatch (context=0x8a0e3f8)
at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
No locals.
#16 0xb74d90eb in g_main_context_iterate (context=0x8a0e3f8, block=1,
dispatch=1, self=0x89df3e8)
at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
max_priority = 2147483647
timeout = 385
some_ready = 1
nfds = 21
allocated_nfds = <value optimized out>
fds = (GPollFD *) 0xa397a88
__PRETTY_FUNCTION__ = "g_main_context_iterate"
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/5448#comment:13>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list