pure virtual function call

16 次查看(过去 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