Skip to main content
Participant
October 12, 2022

P: Photoshop crashes with an EXCEPTION_INT_DIVIDE_BY_ZERO in the report

  • October 12, 2022
  • 2 replies
  • 542 views

Hello all,

 

I have this problem with Photoshop where it crashes upon opening one specific file. The crash report is attached below. I'm not at liberty to share the PSD file at this moment.

 

Not sure if this is related, but it is worth noting that in the crash report, the Nvidia GPU seems to be detected as offline, which seems wrong as:

  • It shows up correctly in PS under Settings / Preferences / Performance
  • I have double-checked the Nvidia settings to make sure PS is set to run on the Nvidia GPU
  • I have double-checked the Windows graphics settings to make sure PS is set to run on the High performance (Nvidia) GPU

 

Being a dev myself I can get a few clues from the crash log, but nothing to save my life. As I said so far I know this is a division by zero exception that occurred in a call to boost::archive::codecvt_null<wchar_t>::do_max_length (according to stack trace), which is AFAIK a function related to serialization in the Boost C++ lib. This tells me this is probably not related to the GPU but rather to the file save / load functions of PS.

 

Anyway, any help would very much be appreciated.

 

Thank you,

Saad.

This topic has been closed for replies.

2 replies

CShubert
Community Manager
Community Manager
February 13, 2023

This issue was fixed in release 24.1

 

Thank you,

Cory

Legend
October 18, 2022

A quick test would be to disable the GPU under Preferences > Performance... and uncheck "Use Graphics Processor"

 

I'm not seeing any submitted crash reports from you in our system. If you haven't done so already, please submit all Crash Reports along with your email address: https://helpx.adobe.com/photoshop/kb/submit-crash-reports.html That will help us diagnose the crash - the crash reporter system symbolicates the report making it easier to diagnose.