The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

Suggestion to instrument pure virtual function calls

Forums » Opera for Windows/Mac/Linux » Beta testing (including snapshots and previews)

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

28. September 2011, 16:21:42

Tringi

Posts: 32

Suggestion to instrument pure virtual function calls

Hi, I am using Opera 12 (build 1065) rather extensively, both at home and at work, and dutifully send all crash reports.
But more than any other crashes, I experience MSVC++ Runtime message box(es) with "R6025 - C++ error - Pure virtual function call" message and abort. It would be wise to instrument this exit point so I can send these crash reports as well. I don't know how exactly is this implemented in MSVC++ runtime, so I can't provide any further guidelines, but I would expect there to be a call to std::terminate.
Myself being user of GCC/MinGW I would be "overriding" the __cxxabiv1::__cxa_pure_virtual function :)

28. September 2011, 20:39:02

Hades32

What I use:

Posts: 1917

I never had that. Maybe you should update MSVC++ Runtime ...
Using Windows 7 64Bit SP1 and of course Opera
(If nothing else stated the most current weekly) on a nice Dell Studio XPS 16!

29. September 2011, 10:05:01

Tringi

Posts: 32

It might be just me, but I have experienced the same crash on both Windows 7 (at work) and Windows Server 2008 (Vista) (converted to ±workstation at home). But well, I have yet to see that crash in 1076, now that this new version is available.

29. September 2011, 11:15:49

Originally posted by Tringi:

dutifully send all crash reports.


The latest snapshot - Opera 12 build 1076 has a lot of crash fixes, try it.
Windows 7 SP1 x86 edition and Windows XP Service Pack 3.
If you need any help from me with regards to Opera, please make a comment on any of my blog posts.
Support Opera wishes

30. September 2011, 22:14:44

Tringi

Posts: 32

Bad news, happened again :-(
So far only on my 2k8/Vista machine.

1. October 2011, 13:35:56

Hades32

What I use:

Posts: 1917

Do you use the "close all" command on a tab stack? Then this is a known issue.

Otherwise: Do you have reproduction steps?
Using Windows 7 64Bit SP1 and of course Opera
(If nothing else stated the most current weekly) on a nice Dell Studio XPS 16!

1. October 2011, 15:23:19

Tringi

Posts: 32

I wish I could.
If I could trace steps leading (with some probability) to these crashes I would have already filled a bug report.
These happens to me after half a day (maybe longer) of using the browser, thats why I am asking for a way to report them, so the developers could go through the stack traces and dumps to find out what is wrong.

Regarding tab stacks, I use them only occasionally, still waiting for that "wheel-click or ctrl+click opens tab in same stack" functionality.

1. October 2011, 23:43:16

Tringi

Posts: 32

I tried to reproduce your steps but no crash for me (1076) that way.
Anyway I can't really 100% tell if the crash happened in 1047 for me, but it is likely it did. I think it started with first build of Opera 12, but I don't remember the build number.
What might be important is, that often I see that error message multiple times, as if invoked recursively or, more likely, from different threads.

2. October 2011, 15:53:26

Tringi

Posts: 32

Yep, this crashes here too.
AMD Phenom II, 8 GB RAM, Windows Server 2008 (Vista) 64-bit ;-)

22. October 2011, 09:27:03

Tringi

Posts: 32

Again the same crash with 1116 after few hours of intensive use.

22. October 2011, 17:07:36

Hades32

What I use:

Posts: 1917

Maybe if you update Microsoft Visual C++ 2010 Redistributable Package (x86) ...
http://www.microsoft.com/download/en/details.aspx?id=5555
Using Windows 7 64Bit SP1 and of course Opera
(If nothing else stated the most current weekly) on a nice Dell Studio XPS 16!

9. March 2012, 23:52:31

TheDenys

Posts: 6

In 12.00.1325 it got fixed.

11. March 2012, 17:05:54

Tringi

Posts: 32

I am just curious...
Is it really that difficult to stuck std::set_terminate(whatever); somewhere near the beginning of the program and in the "whatever" function to invoke the same stack trace and error reporting facility as for regular crashes?

25. March 2012, 08:53:47

Andrey

Posts: 12

I also often get "pure virtual function call" on 12.00.1328 on Win7 x64 and on couple of previous 12.00.x versions. There is no exact steps to reproduce, but it seems it sometimes happens few seconds after I close some tab when 30+ tabs are opened. And also this message very often appears after I close Opera, few seconds after Opera main window dissapears.

Forums » Opera for Windows/Mac/Linux » Beta testing (including snapshots and previews)