Dear All,
Good Day.

I am using "Sofia-SIP 1.12.10" in unimrcp server (http://www.unimrcp.org/)
and when I stress on the server it crashes. I debug many times and the
system crash inside "libsofia_sip_ua.dll" due to memory corruption. I ran
insure++ to find the error and I got the attached repeort with some overrun
memory errors. This report is produced from the whole unimrcp server which
use libsofia_sip_ua.dll.

Could you help us to fix these problems?

Thanks in advance
SK
[sip_basic.c:2615] **WRITE_OVERFLOW**
>>   MSG_STRING_DUP(b, v->v_host, o->v_host);

  Writing overflows memory: <argument 1>

          bbbbbbbbbbb
          | 68 | 16 |              2147483631               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x012339e4 thru 0x812339e2 (2147483647 bytes)
   To block (b) : 0x012339a0 thru 0x012339f3 (84 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
                     sip_via_dup()  sip_protos.h, 714
                  agent_init_via()  nta.c, 1865
             nta_agent_add_tport()  nta.c, 1710
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
                 sip_via_dup_one()  sip_basic.c, 2615
               msg_header_dup_as()  msg_header_copy.c, 283
                     sip_via_dup()  sip_protos.h, 714
                  agent_init_via()  nta.c, 1865
             nta_agent_add_tport()  nta.c, 1710
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()


[sip_basic.c:2617] **READ_OVERFLOW**
>>   MSG_STRING_DUP(b, v->v_comment, o->v_comment);

  Reading overflows memory: <argument 2>

          bbbbb
          | 4 |              2147483643               |
          rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

   Reading    (r) : 0x012335a8 thru 0x812335a6 (2147483647 bytes)
   From block (b) : 0x012335a8 thru 0x012335ab (4 bytes)
                   block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                       su_strdup()  su_strdup.c, 55
             tport_alloc_primary()  tport.c, 642
                    tport_listen()  tport.c, 730
               tport_bind_server()  tport.c, 1654
                     tport_tbind()  tport.c, 1491
             nta_agent_add_tport()  nta.c, 1690
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
                 sip_via_dup_one()  sip_basic.c, 2617
               msg_header_dup_as()  msg_header_copy.c, 283
                     sip_via_dup()  sip_protos.h, 714
                  agent_init_via()  nta.c, 1865
             nta_agent_add_tport()  nta.c, 1710
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()


[sip_basic.c:2617] **WRITE_OVERFLOW**
>>   MSG_STRING_DUP(b, v->v_comment, o->v_comment);

  Writing overflows memory: <argument 1>

          bbbbbbbbbb
          | 80 | 4 |              2147483643               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x012339f0 thru 0x812339ee (2147483647 bytes)
   To block (b) : 0x012339a0 thru 0x012339f3 (84 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
                     sip_via_dup()  sip_protos.h, 714
                  agent_init_via()  nta.c, 1865
             nta_agent_add_tport()  nta.c, 1710
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
                 sip_via_dup_one()  sip_basic.c, 2617
               msg_header_dup_as()  msg_header_copy.c, 283
                     sip_via_dup()  sip_protos.h, 714
                  agent_init_via()  nta.c, 1865
             nta_agent_add_tport()  nta.c, 1710
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()


[sip_basic.c:2615] **READ_OVERFLOW**
>>   MSG_STRING_DUP(b, v->v_host, o->v_host);

  Reading overflows memory: <argument 2>

          bbbbbbbbbbb
          | 68 | 16 |              2147483631               |
               rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

   Reading    (r) : 0x01233b04 thru 0x81233b02 (2147483647 bytes)
   From block (b) : 0x01233ac0 thru 0x01233b13 (84 bytes)
                   block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
                     sip_via_dup()  sip_protos.h, 714
                  agent_init_via()  nta.c, 1867
             nta_agent_add_tport()  nta.c, 1710
        nua_stack_init_transport()  nua_register.c, 1150
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
                 sip_via_dup_one()  sip_basic.c, 2615
               msg_header_dup_as()  msg_header_copy.c, 283
                     sip_via_dup()  sip_protos.h, 714
       nua_registration_from_via()  nua_register.c, 1369
    nua_stack_init_registrations()  nua_register.c, 1261
        nua_stack_init_transport()  nua_register.c, 1162
                  nua_stack_init()  nua_stack.c, 204
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()


[sip_basic.c:854] **WRITE_OVERFLOW**
>>     MSG_STRING_DUP(b, *d_display, display);

  Writing overflows memory: <argument 1>

          bbbbbbbbbb
          | 92 | 1 |              2147483646               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x01234234 thru 0x81234232 (2147483647 bytes)
   To block (b) : 0x012341d8 thru 0x01234234 (93 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
                    sip_from_dup()  sip_protos.h, 1904
              nua_stack_set_from()  nua_params.c, 240
                  nua_stack_init()  nua_stack.c, 209
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
               sip_name_addr_dup()  sip_basic.c, 854
                sip_addr_dup_one()  sip_basic.c, 930
               msg_header_dup_as()  msg_header_copy.c, 283
                    sip_from_dup()  sip_protos.h, 1904
              nua_stack_set_from()  nua_params.c, 240
                  nua_stack_init()  nua_stack.c, 209
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()


[msg_parser_util.c:534] **READ_OVERFLOW**
>>     MSG_STRING_DUP(b, pp[i], s[i]);

  Reading overflows memory: <argument 2>

          bbbbbbbbbbb
          | 32 | 37 |              2147483610               |
               rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

   Reading    (r) : 0x012300b8 thru 0x812300b6 (2147483647 bytes)
   From block (b) : 0x01230098 thru 0x012300dc (69 bytes)
                   block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
                 msg_header_make()  msg_header_make.c, 86
                  sip_allow_make()  sip_protos.h, 7925
          nua_stack_set_defaults()  nua_params.c, 182
                  nua_stack_init()  nua_stack.c, 178
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
                  msg_params_dup()  msg_parser_util.c, 534
                msg_list_dup_one()  msg_generic.c, 191
               msg_header_dup_as()  msg_header_copy.c, 283
                 nhp_merge_lists()  nua_params.c, 1052
                    nhp_set_tags()  nua_params.c, 919
            nua_stack_set_params()  nua_params.c, 516
                nua_stack_signal()  nua_stack.c, 576
       su_base_port_execute_msgs()  su_base_port.c, 276
            su_base_port_getmsgs()  su_base_port.c, 198
                su_base_port_run()  su_base_port.c, 331
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[msg_parser_util.c:534] **WRITE_OVERFLOW**
>>     MSG_STRING_DUP(b, pp[i], s[i]);

  Writing overflows memory: <argument 1>

          bbbbbbbbbbb
          | 64 | 34 |              2147483613               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x01234590 thru 0x8123458e (2147483647 bytes)
   To block (b) : 0x01234550 thru 0x012345b1 (98 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
                 nhp_merge_lists()  nua_params.c, 1052
                    nhp_set_tags()  nua_params.c, 919
            nua_stack_set_params()  nua_params.c, 516
                nua_stack_signal()  nua_stack.c, 576
       su_base_port_execute_msgs()  su_base_port.c, 276
            su_base_port_getmsgs()  su_base_port.c, 198
                su_base_port_run()  su_base_port.c, 331
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
                  msg_params_dup()  msg_parser_util.c, 534
                msg_list_dup_one()  msg_generic.c, 191
               msg_header_dup_as()  msg_header_copy.c, 283
                 nhp_merge_lists()  nua_params.c, 1052
                    nhp_set_tags()  nua_params.c, 919
            nua_stack_set_params()  nua_params.c, 516
                nua_stack_signal()  nua_stack.c, 576
       su_base_port_execute_msgs()  su_base_port.c, 276
            su_base_port_getmsgs()  su_base_port.c, 198
                su_base_port_run()  su_base_port.c, 331
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[msg_mime.c:1129] **READ_OVERFLOW**
>>     MSG_STRING_DUP(b, ac->ac_type, o->ac_type);

  Reading overflows memory: <argument 2>

          bbbbbbbbbbb
          | 40 | 16 |              2147483631               |
               rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

   Reading    (r) : 0x01230438 thru 0x81230436 (2147483647 bytes)
   From block (b) : 0x01230410 thru 0x01230447 (56 bytes)
                   block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
                 msg_header_make()  msg_header_make.c, 86
                 sip_accept_make()  sip_protos.h, 7211
                  nua_stack_init()  nua_stack.c, 184
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
              msg_accept_dup_one()  msg_mime.c, 1129
              msg_header_add_dup()  msg_parser.c, 2570
                     sip_add_dup()  sip_header.c, 119
         nua_session_server_init()  nua_session.c, 1894
          nua_invite_server_init()  nua_session.c, 1828
       nua_stack_process_request()  nua_stack.c, 1383
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[msg_mime.c:1129] **WRITE_OVERFLOW**
>>     MSG_STRING_DUP(b, ac->ac_type, o->ac_type);

  Writing overflows memory: <argument 1>

          bbbbbbbbbbb
          | 40 | 16 |              2147483631               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x01238bc8 thru 0x81238bc6 (2147483647 bytes)
   To block (b) : 0x01238ba0 thru 0x01238bd7 (56 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
              msg_header_add_dup()  msg_parser.c, 2567
                     sip_add_dup()  sip_header.c, 119
         nua_session_server_init()  nua_session.c, 1894
          nua_invite_server_init()  nua_session.c, 1828
       nua_stack_process_request()  nua_stack.c, 1383
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
              msg_accept_dup_one()  msg_mime.c, 1129
              msg_header_add_dup()  msg_parser.c, 2570
                     sip_add_dup()  sip_header.c, 119
         nua_session_server_init()  nua_session.c, 1894
          nua_invite_server_init()  nua_session.c, 1828
       nua_stack_process_request()  nua_stack.c, 1383
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[msg_generic.c:106] **READ_OVERFLOW**
>>   MSG_STRING_DUP(b, dst->sh_generic->g_string, src->sh_generic->g_string);

  Reading overflows memory: <argument 2>

          bbbbbbbbbbbbb
          | 316 | 562 |              2147483085               |
                rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

   Reading    (r) : 0x0123715c thru 0x8123715a (2147483647 bytes)
   From block (b) : 0x01237020 thru 0x0123738d (878 bytes)
                   block allocated at su_alloc.c, 1249
                         realloc()  (interface)
                      su_realloc()  su_alloc.c, 1249
                  msg_buf_commit()  msg_parser.c, 218
                 msg_recv_commit()  msg_parser.c, 551
                tport_recv_dgram()  tport_type_udp.c, 348
                 tport_recv_data()  tport.c, 2821
                tport_recv_event()  tport.c, 2835
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
             msg_generic_dup_one()  msg_generic.c, 106
               msg_header_dup_as()  msg_header_copy.c, 283
              sip_user_agent_dup()  sip_protos.h, 6664
      nua_dialog_store_peer_info()  nua_dialog.c, 172
       nua_stack_incoming_handle()  nua_stack.c, 1043
       nua_stack_process_request()  nua_stack.c, 1389
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[msg_generic.c:106] **WRITE_OVERFLOW**
>>   MSG_STRING_DUP(b, dst->sh_generic->g_string, src->sh_generic->g_string);

  Writing overflows memory: <argument 1>

          bbbbbbbbbbb
          | 28 | 17 |              2147483630               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x0123944c thru 0x8123944a (2147483647 bytes)
   To block (b) : 0x01239430 thru 0x0123945c (45 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
              sip_user_agent_dup()  sip_protos.h, 6664
      nua_dialog_store_peer_info()  nua_dialog.c, 172
       nua_stack_incoming_handle()  nua_stack.c, 1043
       nua_stack_process_request()  nua_stack.c, 1389
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
             msg_generic_dup_one()  msg_generic.c, 106
               msg_header_dup_as()  msg_header_copy.c, 283
              sip_user_agent_dup()  sip_protos.h, 6664
      nua_dialog_store_peer_info()  nua_dialog.c, 172
       nua_stack_incoming_handle()  nua_stack.c, 1043
       nua_stack_process_request()  nua_stack.c, 1389
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[sip_basic.c:1099] **READ_OVERFLOW**
>>   MSG_STRING_DUP(b, i->i_id, o->i_id);

  Reading overflows memory: <argument 2>

          bbbbbbbbbbbbb
          | 209 | 669 |              2147482978               |
                rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

   Reading    (r) : 0x012370f1 thru 0x812370ef (2147483647 bytes)
   From block (b) : 0x01237020 thru 0x0123738d (878 bytes)
                   block allocated at su_alloc.c, 1249
                         realloc()  (interface)
                      su_realloc()  su_alloc.c, 1249
                  msg_buf_commit()  msg_parser.c, 218
                 msg_recv_commit()  msg_parser.c, 551
                tport_recv_dgram()  tport_type_udp.c, 348
                 tport_recv_data()  tport.c, 2821
                tport_recv_event()  tport.c, 2835
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
             sip_call_id_dup_one()  sip_basic.c, 1099
               msg_header_dup_as()  msg_header_copy.c, 283
                 sip_call_id_dup()  sip_protos.h, 2380
                 nta_leg_tcreate()  nta.c, 3644
       nua_stack_incoming_handle()  nua_stack.c, 1050
       nua_stack_process_request()  nua_stack.c, 1389
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()


[sip_basic.c:1099] **WRITE_OVERFLOW**
>>   MSG_STRING_DUP(b, i->i_id, o->i_id);

  Writing overflows memory: <argument 1>

          bbbbbbbbbbb
          | 32 | 37 |              2147483610               |
               wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

   Writing  (w) : 0x01239808 thru 0x81239806 (2147483647 bytes)
   To block (b) : 0x012397e8 thru 0x0123982c (69 bytes)
                 block allocated at su_alloc.c, 482
                          malloc()  (interface)
                       sub_alloc()  su_alloc.c, 482
                        su_alloc()  su_alloc.c, 763
                msg_header_alloc()  msg_parser.c, 2299
               msg_header_dup_as()  msg_header_copy.c, 277
                 sip_call_id_dup()  sip_protos.h, 2380
                 nta_leg_tcreate()  nta.c, 3644
       nua_stack_incoming_handle()  nua_stack.c, 1050
       nua_stack_process_request()  nua_stack.c, 1389
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()

  Stack trace where the error occurred:
                        _memccpy()  (interface)
             sip_call_id_dup_one()  sip_basic.c, 1099
               msg_header_dup_as()  msg_header_copy.c, 283
                 sip_call_id_dup()  sip_protos.h, 2380
                 nta_leg_tcreate()  nta.c, 3644
       nua_stack_incoming_handle()  nua_stack.c, 1050
       nua_stack_process_request()  nua_stack.c, 1389
               incoming_callback()  nta.c, 4738
                        leg_recv()  nta.c, 4055
              agent_recv_request()  nta.c, 2437
              agent_recv_message()  nta.c, 2205
              tport_base_deliver()  tport.c, 3010
                   tport_deliver()  tport.c, 2999
                     tport_parse()  tport.c, 2916
                tport_recv_event()  tport.c, 2858
               tport_base_wakeup()  tport.c, 2760
                tport_wakeup_pri()  tport.c, 2723
     su_wsevent_port_wait_events()  su_win32_port.c, 605
                su_base_port_run()  su_base_port.c, 342
                     su_port_run()  su_port.h, 310
                     su_root_run()  su_root.c, 684
      su_pthread_port_clone_main()  su_pthread_port.c, 321
       pthreadVC2.dll 0x006b1e05()



************************* INSURE SUMMARY ************************ v7.0.8 **
*   Program      : unimrcpserver                                          *
*   Arguments    : Not available                                          *
*   Directory    : \unimrcp-0.5.0\Debug\bin            *
*   Compiled on  : Not available                                          *
*   Run on       : Mar 27, 2009  17:24:01                                 *
*   Elapsed time : 00:00:49                                               *
*   Malloc HWM   : 630643 bytes (615K)                                    *
***************************************************************************

PROBLEM SUMMARY - by type
===============

          Problem                Reported      Suppressed
          -------------------------------------------------
          FREE_NULL                    0               32
          READ_OVERFLOW                6              110
          RETURN_FAILURE               0               32
          WRITE_OVERFLOW               7              118
          -------------------------------------------------
          TOTAL                       13              292
          -------------------------------------------------

PROBLEM SUMMARY - by location
===============

FREE_NULL: Freeing null pointer, 1 unique occurrence
        32 at su_alloc.c, 827

READ_OVERFLOW: Reading overflows memory, 6 unique occurrences
         4 at msg_generic.c, 106
         2 at msg_mime.c, 1129
       101 at msg_parser_util.c, 534
         1 at sip_basic.c, 1099
         2 at sip_basic.c, 2615
         6 at sip_basic.c, 2617

RETURN_FAILURE: Function returned an error, 23 unique occurrences
         1 at crtlib.c, 555
         1 at crtlib.c, 556
         1 at demo_synth_engine.c, 370
         1 at heapinit.c, 87
         1 at nta.c, 423
         1 at nua_common.c, 135
         1 at nua_params.c, 160
         1 at sres.c, 2150
         1 at sres.c, 2175
         1 at sres.c, 2181
         1 at sres.c, 2204
         1 at su_log.c, 152
         9 at su_log.c, 157
         1 at su_port.c, 171
         1 at tidtable.c, 362
         1 at tidtable.c, 365
         1 at tidtable.c, 368
         1 at tidtable.c, 371
         1 at time.c, 44
         2 at tport_logging.c, 98
         1 at tport_logging.c, 105
         1 at tport_logging.c, 107
         1 at user.cpp, 81

WRITE_OVERFLOW: Writing overflows memory, 7 unique occurrences
         4 at msg_generic.c, 106
         2 at msg_mime.c, 1129
       101 at msg_parser_util.c, 534
         5 at sip_basic.c, 854
         1 at sip_basic.c, 1099
         6 at sip_basic.c, 2615
         6 at sip_basic.c, 2617



************************* INSURE SUMMARY ************************ v7.0.8 **
*   Program      : unimrcpserver                                          *
*   Arguments    : Not available                                          *
*   Directory    : unimrcp-0.5.0\Debug\bin            *
*   Compiled on  : Not available                                          *
*   Run on       : Mar 27, 2009  17:24:01                                 *
*   Elapsed time : 00:00:49                                               *
*   Malloc HWM   : 630643 bytes (615K)                                    *
***************************************************************************

MEMORY LEAK SUMMARY
===================

70 outstanding memory references for 22309 bytes (21K).

Leaks detected at exit
----------------------
      1064 bytes      2 chunks allocated at crtlib.c, 434
                     _calloc_dbg()  (interface)
                   __CRTDLL_INIT()  crtlib.c, 434
                    _CRTDLL_INIT()  crtlib.c, 214


Outstanding allocated memory
----------------------------
      4096 bytes 1 chunk allocated at _getbuf.c, 58
                     _malloc_dbg()  (interface)
                         _getbuf()  _getbuf.c, 58
                         _filbuf()  _filbuf.c, 125
                 _fread_nolock_s()  fread.c, 268
                         fread_s()  fread.c, 109
                           fread()  fread.c, 303
                           fread()  (interface)
          demo_synth_stream_read()  demo_synth_engine.c, 370
              mpf_bridge_process()  mpf_bridge.c, 24
             mpf_context_process()  mpf_context.c, 112
                 mpf_engine_main()  mpf_engine.c, 263
                   mm_timer_proc()  mpf_timer.c, 85
            WINMM.dll 0x76b454e3()

      4096 bytes 1 chunk allocated at _sftbuf.c, 91
                     _malloc_dbg()  (interface)
                          _stbuf()  _sftbuf.c, 91
                          printf()  printf.c, 61
                            main()  main.c, 139

      4096 bytes 1 chunk allocated at _sftbuf.c, 91
                     _malloc_dbg()  (interface)
                          _stbuf()  _sftbuf.c, 91
                 vfprintf_helper()  vfprintf.c, 68
                        vfprintf()  vfprintf.c, 117
                        vfprintf()  (interface)
                  default_logger()  su_default_log.c, 46
                        su_vllog()  su_log.c, 137
                      su_debug_3()  su_debug.h, 130
             sres_parse_win32_ip()  sres.c, 1970
          sres_parse_resolv_conf()  sres.c, 2160
              sres_update_config()  sres.c, 1933
            sres_resolver_update()  sres.c, 1887
      sres_resolver_new_internal()  sres.c, 766
 sres_resolver_new_with_cache_va()  sres.c, 699
    sres_resolver_new_with_cache()  sres.c, 659
            sres_resolver_create()  sresolv.c, 119
                nta_agent_create()  nta.c, 487
                  nua_stack_init()  nua_stack.c, 194
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()

      3591 bytes     55 chunks allocated at stdenvp.c, 127
                     _calloc_dbg()  (interface)
                        _setenvp()  stdenvp.c, 127
                   __CRTDLL_INIT()  crtlib.c, 336
                    _CRTDLL_INIT()  crtlib.c, 214

      2048 bytes 1 chunk allocated at _file.c, 134
                     _calloc_dbg()  (interface)
                     __initstdio()  _file.c, 134
                     _initterm_e()  crt0dat.c, 905
                          _cinit()  crt0dat.c, 283
                   __CRTDLL_INIT()  crtlib.c, 336
                    _CRTDLL_INIT()  crtlib.c, 214

      1792 bytes 1 chunk allocated at ioinit.c, 137
                     _calloc_dbg()  (interface)
                         _ioinit()  ioinit.c, 137
                   __CRTDLL_INIT()  crtlib.c, 305
                    _CRTDLL_INIT()  crtlib.c, 214

       544 bytes 1 chunk allocated at mbctype.c, 593
                     _malloc_dbg()  (interface)
                        _setmbcp()  mbctype.c, 593
                  __initmbctable()  mbctype.c, 846
                   __CRTDLL_INIT()  crtlib.c, 325
                    _CRTDLL_INIT()  crtlib.c, 214

       532 bytes 1 chunk allocated at tidtable.c, 428
                     _calloc_dbg()  (interface)
                         _mtinit()  tidtable.c, 428
                   __CRTDLL_INIT()  crtlib.c, 294
                    _CRTDLL_INIT()  crtlib.c, 214

       224 bytes 1 chunk allocated at stdenvp.c, 117
                     _calloc_dbg()  (interface)
                        _setenvp()  stdenvp.c, 117
                   __CRTDLL_INIT()  crtlib.c, 336
                    _CRTDLL_INIT()  crtlib.c, 214

       128 bytes 1 chunk allocated at onexit.c, 208
                     _calloc_dbg()  (interface)
                    __onexitinit()  onexit.c, 208
                     _initterm_e()  crt0dat.c, 905
                          _cinit()  crt0dat.c, 283
                   __CRTDLL_INIT()  crtlib.c, 336
                    _CRTDLL_INIT()  crtlib.c, 214

        26 bytes 1 chunk allocated at stdargv.c, 140
                     _malloc_dbg()  (interface)
                        _setargv()  stdargv.c, 140
                   __getmainargs()  crtlib.c, 158
                    pre_cpp_init()  crtexe.c, 341
                       _initterm()  crt0dat.c, 854
               __tmainCRTStartup()  crtexe.c, 512
                  mainCRTStartup()  crtexe.c, 413

        24 bytes 1 chunk allocated at mlock.c, 279
                     _malloc_dbg()  (interface)
                  _mtinitlocknum()  mlock.c, 279
                   _alloc_osfhnd()  osfinfo.c, 58
                  _tsopen_nolock()  open.c, 385
                   _sopen_helper()  open.c, 170
                        _sopen_s()  open.c, 910
                       _openfile()  _open.c, 253
                         _fsopen()  fopen.c, 85
                           fopen()  fopen.c, 124
                           fopen()  (interface)
               apt_log_file_open()  apt_log.c, 75
                            main()  main.c, 182

        24 bytes 1 chunk allocated at mlock.c, 279
                     _malloc_dbg()  (interface)
                  _mtinitlocknum()  mlock.c, 279
                      _getstream()  stream.c, 71
                         _fsopen()  fopen.c, 61
                           fopen()  fopen.c, 124
                           fopen()  (interface)
               apt_log_file_open()  apt_log.c, 75
                            main()  main.c, 182

        24 bytes 1 chunk allocated at mlock.c, 279
                     _malloc_dbg()  (interface)
                  _mtinitlocknum()  mlock.c, 279
                      _getstream()  stream.c, 71
                         _fsopen()  fopen.c, 61
                           fopen()  fopen.c, 124
                           fopen()  (interface)
          sres_parse_resolv_conf()  sres.c, 2150
              sres_update_config()  sres.c, 1933
            sres_resolver_update()  sres.c, 1887
      sres_resolver_new_internal()  sres.c, 766
 sres_resolver_new_with_cache_va()  sres.c, 699
    sres_resolver_new_with_cache()  sres.c, 659
            sres_resolver_create()  sresolv.c, 119
                nta_agent_create()  nta.c, 487
                  nua_stack_init()  nua_stack.c, 194
      su_pthread_port_clone_main()  su_pthread_port.c, 318
       pthreadVC2.dll 0x006b1e05()



------------------------------------------------------------------------------
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to