Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

takeing screenshot crash #4377

Closed
wzdev-ci opened this issue May 13, 2016 · 31 comments
Closed

takeing screenshot crash #4377

wzdev-ci opened this issue May 13, 2016 · 31 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_external type_bug | by terminator


game crashed while takeing screenshot(after crash, however screenshots has been made). I noticed that only happens on my Nvidia GT740, on integrated Intel HD4000 - works fine.


Issue migrated from trac:4377 at 2022-04-16 11:56:14 -0700

@wzdev-ci
Copy link
Contributor Author

terminator uploaded file logs.zip (2.4 KiB)

@wzdev-ci
Copy link
Contributor Author

terminator commented


nvidia driver 365.10, win7sp1 64bit.

@wzdev-ci
Copy link
Contributor Author

Cyp changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Cyp changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Cyp changed blockedby which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Cyp changed resolution from `` to external

@wzdev-ci
Copy link
Contributor Author

Cyp commented


From the stack trace, it looks like there's nothing we can do, since it doesn't crash in any of the Warzone game code. If I'm mistaken, please reopen.

Your graphics driver is 11 days old, you could try updating your driver to the latest from today and hope.

Call stack:
00020052
6A3D2CEC  C:\Windows\system32\nvoglv32.DLL:6A3D2CEC
6A3D2E16  C:\Windows\system32\nvoglv32.DLL:6A3D2E16
6A3D2DC5  C:\Windows\system32\nvoglv32.DLL:6A3D2DC5
6A5C7F75  C:\Windows\system32\nvoglv32.DLL:6A5C7F75  DrvPresentBuffers
6A66B9CF  C:\Windows\system32\nvoglv32.DLL:6A66B9CF  DrvPresentBuffers
69C4A872  C:\Windows\system32\nvoglv32.DLL:69C4A872
69C2DA91  C:\Windows\system32\nvoglv32.DLL:69C2DA91
69C2368C  C:\Windows\system32\nvoglv32.DLL:69C2368C
6A66BF6A  C:\Windows\system32\nvoglv32.DLL:6A66BF6A  DrvPresentBuffers
69C236A0  C:\Windows\system32\nvoglv32.DLL:69C236A0
69C21E03  C:\Windows\system32\nvoglv32.DLL:69C21E03
69C40A54  C:\Windows\system32\nvoglv32.DLL:69C40A54
69C20E91  C:\Windows\system32\nvoglv32.DLL:69C20E91
6A599894  C:\Windows\system32\nvoglv32.DLL:6A599894  DrvValidateVersion
6A65704E  C:\Windows\system32\nvoglv32.DLL:6A65704E  DrvPresentBuffers
6A647D83  C:\Windows\system32\nvoglv32.DLL:6A647D83  DrvPresentBuffers
69C4348C  C:\Windows\system32\nvoglv32.DLL:69C4348C
69C43407  C:\Windows\system32\nvoglv32.DLL:69C43407
6A5A72CF  C:\Windows\system32\nvoglv32.DLL:6A5A72CF  DllMain
6A5A7419  C:\Windows\system32\nvoglv32.DLL:6A5A7419  DllMain
6A5A7256  C:\Windows\system32\nvoglv32.DLL:6A5A7256  DllMain
6A5A6DE1  C:\Windows\system32\nvoglv32.DLL:6A5A6DE1  DllMain
6A594922  C:\Windows\system32\nvoglv32.DLL:6A594922  DrvSwapLayerBuffers
6A59467D  C:\Windows\system32\nvoglv32.DLL:6A59467D  DrvSwapBuffers
6B4FC79F  C:\Windows\system32\OPENGL32.dll:6B4FC79F  wglGetProcAddress
6B505E90  C:\Windows\system32\OPENGL32.dll:6B505E90  wglSwapBuffers
772C5A20  C:\Windows\syswow64\GDI32.dll:772C5A20  SwapBuffers
00718386  D:\Games\Warzone 2100-3.2.0_beta1\warzone2100.exe:00718386  SDL_LogCritical
00698314  D:\Games\Warzone 2100-3.2.0_beta1\warzone2100.exe:00698314  SDL_LogCritical

@wzdev-ci
Copy link
Contributor Author

terminator commented


D:\Games\Warzone 2100-3.2.0_beta1\warzone2100.exe:00622A60  wzScreenFlip  /home/wz2100/build/warzone2100-3.2.0_beta1/lib/sdl/main_sdl.cpp:445
005F1412  D:\Games\Warzone 2100-3.2.0_beta1\warzone2100.exe:005F1412  pie_ScreenFlip  /home/wz2100/build/warzone2100-3.2.0_beta1/lib/ivis_opengl/piemode.cpp:98


Could it be the problem here ?

I've tested few previous driver versions and the latest for Doom release. But all the same. :(

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Do you mean that you can't take screenshots in Doom either? If so, then I'd think it's extra likely to be the driver.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 13, 2016

terminator commented


Replying to Warzone2100/old-trac-import#4377 (comment:4):

Do you mean that you can't take screenshots in Doom either? If so, then I'd think it's extra likely to be the driver.

Nope, Doom its just a driver release name or something of latest verion 365.19-notebook-win8-win7-64bit-international-whql.exe (optimizations for doom ). I believe its only crashes in warzone.

@wzdev-ci
Copy link
Contributor Author

klasskill commented


1600x900 is the problem

@wzdev-ci
Copy link
Contributor Author

Berg changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Berg commented


make sure your screen resolution is correct I edited my master res by hand as its true screen resolution was not available in options now no crash for me that is.
In the .warzone2100 config file

@wzdev-ci
Copy link
Contributor Author

Cyp changed status from closed to reopened

@wzdev-ci
Copy link
Contributor Author

Cyp changed resolution from external to ``

@wzdev-ci
Copy link
Contributor Author

Cyp commented


If it crashes for multiple people on multiple OSs, then maybe there is a bug somewhere after all. Weird that I can't reproduce it, though…

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Would someone else please attach crash logs? (Especially if running Linux?)

I don't see anything in the crash logs showing what triggered it, hopefully other crash logs would.

@wzdev-ci
Copy link
Contributor Author

klasskill commented


I tried 1600x900 but it still works here

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Can someone who can reproduce the issue test if the patch in #4421 fixes the issue?

@wzdev-ci
Copy link
Contributor Author

terminator commented


Just tested on warzone2100-master-20160619-225501-6744ea2 , but windows7sp1 64 GT740 driver 368.22

checked warzone's config file, resolution same as in ..everywhere.

Same crash still uppers.

@wzdev-ci
Copy link
Contributor Author

terminator uploaded file Warzone2100.RPT (7.9 KiB)

@wzdev-ci
Copy link
Contributor Author

terminator commented


3.2 release still have this bug. 3.1.5 - works fine.

p.s.
too early Per, too Early

@wzdev-ci
Copy link
Contributor Author

Cyp commented


The problem is if noone that would be able to fix the bug can reproduce it, and the stack traces don't give any useful information at all, just that it crashes somewhere in the NV graphics driver, in some thread created by the graphics driver, so there's nowhere to even start looking.

Is there anyone that can reproduce it, who can try to fix it?

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg commented


I ran cppcheck 1.79 recursively through warzone and it did yield these warnings with the latest master and could be helpful:

[ivis_opengl/png_util.cpp:319]: (warning) Size of pointer 'buffer' used instead of size of its data. This is likely to lead to a buffer overflow. You probably intend to write 'sizeof(*buffer)'.
[ivis_opengl/png_util.cpp:334]: (warning) Size of pointer 'jpeg' used instead of size of its data. This is likely to lead to a buffer overflow. You probably intend to write 'sizeof(*jpeg)'.
[ivis_opengl/png_util.cpp:323]: (error) Memory leak: buffer
[ivis_opengl/png_util.cpp:339]: (error) Memory leak: jpeg

@wzdev-ci
Copy link
Contributor Author

Cyp commented


The first two are weird but harmless, unless you are on a 8-bit or 16-bit machine; see the comment on the same lines. The last two look like bugs in cppcheck.

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg commented


Marked #4714 as duplicate.

@wzdev-ci
Copy link
Contributor Author

Quenton commented


Still doing it in latest master build warzone2100-master-20180124-215933-d49d9de.exe and just updated video drivers yet again and it has the exact same issue and the exact same crash dump.

It crashes the moment you press F10.

Tried 8 different driver versions and they all crash. It does not seem like a driver bug if this does it through all these versions and no other game crashes when you take screenshots.

@wzdev-ci
Copy link
Contributor Author

terminator commented


yesterday made a screenshot. & its wroks for master version. However my hardware has been completly changed (new CPU & Gpu)

@wzdev-ci
Copy link
Contributor Author

Forgon changed status from reopened to closed

@wzdev-ci
Copy link
Contributor Author

Forgon changed resolution from `` to external

@wzdev-ci
Copy link
Contributor Author

Forgon commented


Replying to [comment:19 terminator]:

yesterday made a screenshot. & its wroks for master version. However my hardware has been completly changed (new CPU & Gpu)

So this is most likely an external problem, as Cyp said. The ticket is thus closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant