15 Apr
2008
15 Apr
'08
3:48 p.m.
assert is made on "while (*s && *s != '&' && (*s != '%' || t != '%') && !isspace((int) (*s)))" *s contains "ösvan" Full stack trace: > msvcr80d.dll!_chvalidator(int c=-61, int mask=8) Line 56 + 0x2a bytes C++ msvcr80d.dll!isspace(int c=-61) Line 189 + 0xb bytes C++ FreeSwitch.dll!switch_xml_decode(char * s=0x030de516, char * * ent=0x030de790, char t=' ') Line 324 + 0x38 bytes C++ FreeSwitch.dll!switch_xml_parse_str(char * s=0x030de51d, unsigned int len=546) Line 799 + 0x42 bytes C++ FreeSwitch.dll!switch_xml_parse_fd(int fd=3) Line 940 + 0xd bytes C++ FreeSwitch.dll!switch_xml_parse_file(const char * file=0x0485f124) Line 1255 + 0x9 bytes C++ mod_xml_curl.dll!xml_url_fetch(const char * section=0x100e78bc, const char * tag_name=0x100e78b4, const char * key_name=0x100e78ac, const char * key_value=0x030dd3a0, switch_event * params=0x02fa0488, void * user_data=0x027cd870) Line 186 + 0xf bytes C FreeSwitch.dll!switch_xml_locate(const char * section=0x100e78bc, const char * tag_name=0x100e78b4, const char * key_name=0x100e78ac, const char * key_value=0x030dd3a0, switch_xml * * root=0x0485f590, switch_xml * * node=0x0485f59c, switch_event * params=0x02fa0488) Line 1295 + 0x24 bytes C++ FreeSwitch.dll!switch_xml_locate_domain(const char * domain_name=0x030dd3a0, switch_event * params=0x02fa0488, switch_xml * * root=0x0485f590, switch_xml * * domain=0x0485f59c) Line 1363 + 0x24 bytes C++ FreeSwitch.dll!switch_xml_locate_user(const char * key=0x03d5493c, const char * user_name=0x030dd3f0, const char * domain_name=0x030dd3a0, const char * ip=0x0485f748, switch_xml * * root=0x0485f590, switch_xml * * domain=0x0485f59c, switch_xml * * user=0x0485f584, switch_event * params=0x02fa0488) Line 1401 + 0x15 bytes C++ mod_sofia.dll!sofia_reg_parse_auth(sofia_profile * profile=0x02f4ece0, const msg_auth_s * authorization=0x030db6d0, const sip_s * sip=0x02fa3818, const char * regstr=0x03d38864, char * np=0x0485fc98, unsigned int nplen=128, char * ip=0x0485f748, switch_event * * v_event=0x0485fc8c, long exptime=3600, sofia_regtype_t regtype=REG_REGISTER, const char * to_user=0x02fbe83c) Line 934 + 0x3b bytes C mod_sofia.dll!sofia_reg_handle_register(nua_s * nua=0x02f6d0d8, sofia_profile * profile=0x02f4ece0, nua_handle_s * nh=0x030dc8b8, const sip_s * sip=0x02fa3818, sofia_regtype_t regtype=REG_REGISTER, char * key=0x0485fc98, unsigned int keylen=128, switch_event * * v_event=0x0485fc8c) Line 456 + 0x3d bytes C mod_sofia.dll!sofia_reg_handle_sip_i_register(nua_s * nua=0x02f6d0d8, sofia_profile * profile=0x02f4ece0, nua_handle_s * nh=0x030dc8b8, sofia_private * sofia_private=0x00000000, const sip_s * sip=0x02fa3818, tagi_t * tags=0x030dd29c) Line 701 + 0x2a bytes C mod_sofia.dll!sofia_event_callback(nua_event_e event=nua_i_register, int status=100, const char * phrase=0x030dd2a4, nua_s * nua=0x02f6d0d8, sofia_profile * profile=0x02f4ece0, nua_handle_s * nh=0x030dc8b8, sofia_private * sofia_private=0x00000000, const sip_s * sip=0x02fa3818, tagi_t * tags=0x030dd29c) Line 322 + 0x1d bytes C mod_sofia.dll!nua_application_event(nua_s * dummy=0x00000000, su_msg_s * * sumsg=0x0485fe58, nua_ee_data * ee=0x030dd284) Line 407 + 0x7a bytes C mod_sofia.dll!su_base_port_execute_msgs(su_msg_s * queue=0x00000000) Line 276 + 0x2c bytes C mod_sofia.dll!su_base_port_getmsgs(su_port_s * self=0x02f5f2c0) Line 198 + 0x9 bytes C mod_sofia.dll!su_base_port_step(su_port_s * self=0x02f5f2c0, long tout=0) Line 448 + 0x11 bytes C mod_sofia.dll!su_port_step(su_port_s * self=0x02f5f2c0, long tout=1000) Line 324 + 0x15 bytes C mod_sofia.dll!su_root_step(su_root_s * self=0x02f5f408, long tout=1000) Line 728 + 0x10 bytes C mod_sofia.dll!sofia_profile_thread_run(apr_thread_t * thread=0x02f5c870, void * obj=0x02f4ece0) Line 636 + 0x14 bytes C libapr.dll!dummy_worker(void * opaque=0x02f5c870) Line 80 C msvcr80d.dll!_callthreadstartex() Line 348 + 0xf bytes C msvcr80d.dll!_threadstartex(void * ptd=0x02f5f9e0) Line 331 C kernel32.dll!7d4dfe21() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] On Tue, Apr 15, 2008 at 5:31 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote: > That file is deep in windows runtime. > Can you get a more detailed back trace of the issue so we can follow it up > to our code and see if we can prevent it. > > > > > On Tue, Apr 15, 2008 at 10:22 AM, Jonas Gauffin <jonas.gauffin@gmail.com> > wrote: > > > > > > > > > Hello > > > > I get a debug assert failure when using swedish characters in caller id > name. > > > > File: isctype.c > > Line: 56 > > > > Expression: (unsigned)(c + 1) <= 256 > > > > The character i tried with is "ö" (o with two dots over if mailinglist > > cant handle it, html encoding: ö). > > > > Provided directory from my (local testing) server: > > > > 17:20:22 | RuntimeMethodHandle.InvokeMethodFast => > > RuntimeMethodHandle._InvokeMethodFast => SwitchController.Freeswitch | > > Reply: <document type="freeswitch/xml"> > > <section name="directory"><domain name="192.168.1.110"> > > <user id="u1000024" mailbox="1203"> > > <params /> > > <variables> > > <variable name="user_context" value="default" /> > > <variable name="effective_caller_id_name" > > value="Pelle Lösvan" /> > > <variable name="effective_caller_id_number" > > value="1203" /> > > <variable name="gate_userid" value="24" /> > > <variable name="gate_siteid" value="1" /> > > </variables> > > </user> > > </domain></section> > > </document> > > 17:20:22 | LazyAsyncResult.ProtectedInvokeCallback => > > LazyAsyncResult.Complete => HttpServerBase.OnRequest | Processing of > > http://localhost:81/switch/freeswitch/ is done. > > > > //Jonas > > > > _______________________________________________ > > Freeswitch-users mailing list > > Freeswitch-users@lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > -- > Anthony Minessale II > > FreeSWITCH http://www.freeswitch.org/ > ClueCon http://www.cluecon.com/ > > AIM: anthm > MSN:anthony_minessale@hotmail.com > GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com > IRC: irc.freenode.net #freeswitch > > FreeSWITCH Developer Conference > sip:888@conference.freeswitch.org > iax:guest@conference.freeswitch.org/888 > googletalk:conf+888@conference.freeswitch.org > pstn:213-799-1400 > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >