embedded python - mpatrol output

Discussion in 'Python' started by temp1111, May 19, 2004.

  1. temp1111

    temp1111 Guest

    Hi

    Further to my earlier post we're getting the following output when
    embedding a python application
    in C++

    If there is any obvious cause please let us know.

    The version of python is 2.2.1

    Regards



    ERROR: [RNGOVF]: memcpy: range [0x017B8540,0x017B8AA7] overflows
    [0x017B8540,0x017B8A18]
    0x017B8540 (1241 bytes) {malloc:222432:0} [9|-|-|-]
    0xFE7CF8D0 __builtin_new+224
    0xFE7CF9C4 __builtin_vec_new+12
    0xF1AB6B3C ???
    0xF1AB8868 ???
    0xFE8FD4D4 PyCFunction_Call+372
    0xFE8B236C eval_frame+14048
    0xFE8B3C14 PyEval_EvalCodeEx+2472
    0xFE8B66E8 fast_function+88
    0xFE8B2474 eval_frame+14312
    0xFE8B3C14 PyEval_EvalCodeEx+2472
    0xFE8B66E8 fast_function+88
    0xFE8B2474 eval_frame+14312
    0xFE8B3C14 PyEval_EvalCodeEx+2472
    0xFE8B66E8 fast_function+88
    0xFE8B2474 eval_frame+14312
    0xFE8B3C14 PyEval_EvalCodeEx+2472
    0xFE8E20F4 function_call+332
    0xFE8A7C5C PyObject_Call+52
    0xFE8BD460 instancemethod_call+532
    0xFE8A7C5C PyObject_Call+52
    0xFE8B4914 PyEval_CallObjectWithKeywords+284
    0xFE8B8280 PyInstance_New+352
    0xFE8A7C5C PyObject_Call+52
    0xFE8B678C do_call+156
    0xFE8B248C eval_frame+14336
    0xFE8B3C14 PyEval_EvalCodeEx+2472
    0xFE8B66E8 fast_function+88
    0xFE8B2474 eval_frame+14312
    0xFE8B3C14 PyEval_EvalCodeEx+2472
    0xFE8E20F4 function_call+332
    0xFE8A7C5C PyObject_Call+52
    0xFE8B4914 PyEval_CallObjectWithKeywords+284
    0xFE8A7CE0 PyObject_CallObject+20
    0xFEA86A30 run__13PythonContextPcPPcT1T1+5520
    0xFEA84B64 run__13PythonContextRCQ42ie3iel6engine7MessageRQ42ie3iel6engine7MessagePcT3+372
    0xFEA7F574 run__9IelPythonGQ42ie3iel6engine7MessageRQ42ie3iel6engine7MessagePcT3+708
    0xFAF3A2EC ???
    0xFEA9735C sendMsg__Q42ie3iel6engine6RouterRQ42ie3iel6engine7MessageT1RCQ24_STLt12basic_string3ZwZQ24_STLt11char_traits1ZwZQ24_STLt9allocator1ZwN23GQ42ie3iel6engine24TransporterInterface_var+14132
    0xFEADA4AC send__21TransporterInterfaceIRCQ42ie3iel6engine15IelUnicodeChars+12060
    0xFEAD5DCC send_skel__Q46POA_ie3iel6engine20TransporterInterfaceR17TAO_ServerRequestPvT2R17CORBA_Environment+328
    0xFF230834 synchronous_upcall_dispatch__15TAO_ServantBaseR17TAO_ServerRequestPvT2R17CORBA_Environment+336
    0xFEAD7158 _dispatch__Q46POA_ie3iel6engine20TransporterInterfaceR17TAO_ServerRequestPvR17CORBA_Environment+48
    0xFF23DF10 dispatch__30TAO_Default_Servant_DispatcherRQ218TAO_Object_Adapter14Servant_UpcallR17TAO_ServerRequestR17CORBA_Environment+44
    0xFF225C08 dispatch__18TAO_Object_AdapterR13TAO_ObjectKeyR17TAO_ServerRequestG16CORBA_Object_outR17CORBA_Environment+316
    0xFEE89384 dispatch__20TAO_Adapter_RegistryR13TAO_ObjectKeyR17TAO_ServerRequestG16CORBA_Object_outR17CORBA_Environment+92
    0xFEEBABC4 process_request__21TAO_GIOP_Message_BaseP13TAO_TransportR12TAO_InputCDRR13TAO_OutputCDR+304
    0xFEEBA53C process_request_message__21TAO_GIOP_Message_BaseP13TAO_TransportP15TAO_Queued_Data+428
    0xFEDA4C38 process_parsed_messages__13TAO_TransportP15TAO_Queued_DataR17TAO_Resume_Handle+228
    0xFEDA44FC consolidate_message__13TAO_TransportR17ACE_Message_BlockiR17TAO_Resume_HandleP14ACE_Time_Value+1276
    0xFEDA6908 parse_consolidate_messages__13TAO_TransportR17ACE_Message_BlockR17TAO_Resume_HandleP14ACE_Time_Value+120
    0xFEDA3C44 handle_input_i__13TAO_TransportR17TAO_Resume_HandleP14ACE_Time_Valuei+708
    0xFEDB9D18 handle_input__27TAO_IIOP_Connection_Handleri+336
    0xFE1E6E84 dispatch_socket_event__14ACE_TP_ReactorR20ACE_EH_Dispatch_Info+132
    0xFE1E6240 handle_socket_events__14ACE_TP_ReactorRiR18ACE_TP_Token_Guard+176
    0xFE1E6D10 dispatch_i__14ACE_TP_ReactorP14ACE_Time_ValueR18ACE_TP_Token_Guard+160
    0xFE1E5A20 handle_events__14ACE_TP_ReactorP14ACE_Time_Value+572
    0xFE265854 handle_events__11ACE_ReactorP14ACE_Time_Value+48
    0xFEE50D5C run__12TAO_ORB_CoreP14ACE_Time_ValueiR17CORBA_Environment+504
    0xFEDFA4E4 run__9CORBA_ORBP14ACE_Time_ValueR17CORBA_Environment+36
    0xFEDFA49C run__9CORBA_ORBR17CORBA_Environment+20
    0xFEAE9F60 svc__10ThreadPool+408
    0xFE21A220 svc_run__13ACE_Task_BasePv+224
    0xFE1D7A74 invoke_i__18ACE_Thread_Adapter+100
    0xFE1D79D0 invoke__18ACE_Thread_Adapter+108
    0xFE1A5F98 ace_thread_adapter+24
    0xFEBE57BC _lwp_start+8
     
    temp1111, May 19, 2004
    #1
    1. Advertising

  2. temp1111 wrote:
    > Hi
    >
    > Further to my earlier post we're getting the following output when
    > embedding a python application
    > in C++
    >
    > If there is any obvious cause please let us know.
    >
    > The version of python is 2.2.1
    >
    > Regards
    >
    >
    >
    > ERROR: [RNGOVF]: memcpy: range [0x017B8540,0x017B8AA7] overflows
    > [0x017B8540,0x017B8A18]
    > 0x017B8540 (1241 bytes) {malloc:222432:0} [9|-|-|-]
    > 0xFE7CF8D0 __builtin_new+224
    > 0xFE7CF9C4 __builtin_vec_new+12
    > 0xF1AB6B3C ???
    > 0xF1AB8868 ???
    > 0xFE8FD4D4 PyCFunction_Call+372


    Is that a call into a function of yours ? I.e. one that you could
    set a breakpoint into with your debugger ?
    This looks like (builtin) 'new' calling 'malloc' calling 'memcpy',
    which complains because it tries to copy a large block into a small one.
    If that's from a memory corruption error, the cause could be anywhere
    in your program.

    Regards,
    Stefan
     
    Stefan Seefeld, May 19, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Collier

    c++, swig and mpatrol

    Andrew Collier, Dec 17, 2003, in forum: C++
    Replies:
    0
    Views:
    322
    Andrew Collier
    Dec 17, 2003
  2. iceColdFire

    Does mPatrol run on Windows ?

    iceColdFire, May 12, 2005, in forum: C++
    Replies:
    1
    Views:
    464
    Howard
    May 12, 2005
  3. Andrew Collier

    c++, swig and mpatrol

    Andrew Collier, Dec 17, 2003, in forum: Python
    Replies:
    0
    Views:
    332
    Andrew Collier
    Dec 17, 2003
  4. Colin Paul Gloster
    Replies:
    48
    Views:
    1,912
    Colin Paul Gloster
    Apr 10, 2007
  5. Thomas Dodds

    Databind an embedded control in an embedded datagrid

    Thomas Dodds, Jul 26, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    417
    Thomas Dodds
    Jul 26, 2004
Loading...

Share This Page