pure virtual function call

조회 수: 3 (최근 30일)
Steffen
Steffen 2012년 5월 30일
hi there,
i'm facing the problem that MATLAB crashes occasionally with the error message "pure virtual function call".
the stack trace from the dump-file looks as follows:
Stack Trace (captured):
[ 0] 0x002d2bc4 C:\Program Files\MATLAB\R2011b\bin\win32\libmwfl.dll+00076740 ???+207463236
[ 1] 0x002d2ce3 C:\Program Files\MATLAB\R2011b\bin\win32\libmwfl.dll+00077027 ???+207463236
[ 2] 0x7f2c0be6 C:\Program Files\MATLAB\R2011b\bin\win32\mcr.dll+00330726 ???+207463236
[ 3] 0x7f2c511c C:\Program Files\MATLAB\R2011b\bin\win32\mcr.dll+00348444 ???+207463236
[ 4] 0x7f2c52be C:\Program Files\MATLAB\R2011b\bin\win32\mcr.dll+00348862 ???+207463236
[ 5] 0x7f2c57d6 C:\Program Files\MATLAB\R2011b\bin\win32\mcr.dll+00350166 ???+207463236
[ 6] 0x785919e9 C:\WINDOWS\WinSxS
\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43\MSVCR90.dll+00465385 ???+207463236
[ 7] 0x754f88e7 C:\Program Files\MATLAB\R2011b\bin\win32\libmwservices.dll+00100583 ???+207463236
[ 8] 0x754f8bc9 C:\Program Files\MATLAB\R2011b\bin\win32\libmwservices.dll+00101321 ???+207463236
[ 9] 0x754f8e54 C:\Program Files\MATLAB\R2011b\bin\win32\libmwservices.dll+00101972 ???+207463236
...
so, as far as i can read this, theres some dll trying to call an abstract(virtual) function. any ideas how this can happen?????? or how to debug such a problem?
my assumption is that it is caused by some memory problems, since the application has runtimes of several hours and runs on a 32bit winXP machine, but i have no idea how to get around this.
sincerely, steffen
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2012년 5월 30일
Could you paste the line in your MATLAB code at which this failure occurs - you can do this by using the debugger to step through your code and figure out which line the crash occurs at. Even better if you have a code snippet that can reproduce the issue.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by