473,394 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

embedded python - mpatrol output

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__13PythonContextRCQ42ie3iel6engine7MessageRQ42 ie3iel6engine7MessagePcT3+372
0xFEA7F574 run__9IelPythonGQ42ie3iel6engine7MessageRQ42ie3iel 6engine7MessagePcT3+708
0xFAF3A2EC ???
0xFEA9735C sendMsg__Q42ie3iel6engine6RouterRQ42ie3iel6engine7 MessageT1RCQ24_STLt12basic_string3ZwZQ24_STLt11cha r_traits1ZwZQ24_STLt9allocator1ZwN23GQ42ie3iel6eng ine24TransporterInterface_var+14132
0xFEADA4AC send__21TransporterInterfaceIRCQ42ie3iel6engine15I elUnicodeChars+12060
0xFEAD5DCC send_skel__Q46POA_ie3iel6engine20TransporterInterf aceR17TAO_ServerRequestPvT2R17CORBA_Environment+32 8
0xFF230834 synchronous_upcall_dispatch__15TAO_ServantBaseR17T AO_ServerRequestPvT2R17CORBA_Environment+336
0xFEAD7158 _dispatch__Q46POA_ie3iel6engine20TransporterInterf aceR17TAO_ServerRequestPvR17CORBA_Environment+48
0xFF23DF10 dispatch__30TAO_Default_Servant_DispatcherRQ218TAO _Object_Adapter14Servant_UpcallR17TAO_ServerReques tR17CORBA_Environment+44
0xFF225C08 dispatch__18TAO_Object_AdapterR13TAO_ObjectKeyR17T AO_ServerRequestG16CORBA_Object_outR17CORBA_Enviro nment+316
0xFEE89384 dispatch__20TAO_Adapter_RegistryR13TAO_ObjectKeyR1 7TAO_ServerRequestG16CORBA_Object_outR17CORBA_Envi ronment+92
0xFEEBABC4 process_request__21TAO_GIOP_Message_BaseP13TAO_Tra nsportR12TAO_InputCDRR13TAO_OutputCDR+304
0xFEEBA53C process_request_message__21TAO_GIOP_Message_BaseP1 3TAO_TransportP15TAO_Queued_Data+428
0xFEDA4C38 process_parsed_messages__13TAO_TransportP15TAO_Que ued_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_Handl eP14ACE_Time_Valuei+708
0xFEDB9D18 handle_input__27TAO_IIOP_Connection_Handleri+336
0xFE1E6E84 dispatch_socket_event__14ACE_TP_ReactorR20ACE_EH_D ispatch_Info+132
0xFE1E6240 handle_socket_events__14ACE_TP_ReactorRiR18ACE_TP_ Token_Guard+176
0xFE1E6D10 dispatch_i__14ACE_TP_ReactorP14ACE_Time_ValueR18AC E_TP_Token_Guard+160
0xFE1E5A20 handle_events__14ACE_TP_ReactorP14ACE_Time_Value+5 72
0xFE265854 handle_events__11ACE_ReactorP14ACE_Time_Value+48
0xFEE50D5C run__12TAO_ORB_CoreP14ACE_Time_ValueiR17CORBA_Envi ronment+504
0xFEDFA4E4 run__9CORBA_ORBP14ACE_Time_ValueR17CORBA_Environme nt+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
Jul 18 '05 #1
1 1631
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

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Kim | last post by:
Hi everyone, I'm writing a embeded python program, and I want to evaluate some expression by calling function: PyRun_SimpleString("print 'hello'") I don't want to output it to stdout but...
6
by: Farshid Lashkari | last post by:
Hi, My application has python embedded into it. I noticed that when I run any python code the output is buffered and doesn't get flushed until my application exits. To fix this I simply flush...
1
by: iceColdFire | last post by:
Hi, I have been using mPatrol for sometime now...I want the tool to check on memeory leaks and other memory nicthes in my VC++ 6.0 programs... Does it run on Windows Intel X86 combo... If...
20
by: Jack | last post by:
Is there a Python packaging that is specifically for embedded systems? ie, very small and configurable so the user gets to select what modules to install? For Linux-based embedded systems in...
7
by: wardm | last post by:
I have created a Dict object in a C++ App that calls (embedded) Python functions. The Dict is to be used to pass variable data between the C++ App and the python functions. However I cannot get...
3
by: morris.slutsky | last post by:
So every now and then I like to mess around with hobby projects - I often end up trying to write an OpenGL video game. My last attempt aborted due to the difficulty of automating game elements and...
3
by: Wolfram | last post by:
I have a problem with displaying errors in an embedded situation. The "main program" I want to embed Python into is a windows, MFC, non-console, C++ application. My issue is that I have not been...
0
by: Gabriel Genellina | last post by:
En Tue, 03 Jun 2008 16:58:12 -0300, Pau Freixes <pfreixes@milnou.net> escribió: So the above code corresponds to the standalone version - what about the embedded version? Are you sure it is...
0
by: PlayDough | last post by:
I've embedded Python in an extension for a program we are using here at work. And I'm a bit stumped as to why I am getting an AttributeError only in the embedded Python. First, a bit of what I...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.