Author Topic: Photomechanic Plus Crashes when opening Folder  (Read 3095 times)

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Photomechanic Plus Crashes when opening Folder
« on: October 08, 2024, 12:44:21 PM »
I try to open a folder and t says sorting canceld or some times getting sorting info and the it crashes... no error message nothing.

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #1 on: October 08, 2024, 12:48:58 PM »
it is build 7765

and i use windows 11 intel i7 64 GB RAM amm is on NVME drives

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Photomechanic Plus Crashes when opening Folder
« Reply #2 on: October 08, 2024, 01:25:57 PM »
it is build 7765

and i use windows 11 intel i7 64 GB RAM amm is on NVME drives

I'd like to see your Photo Mechanic log.  In Photo Mechanic go to the Help menu and choose "Reveal Support Data..." and moments later a Windows Explorer window will come forward with the zipped log file selected.  Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your zipped PM log file.

Thanks,

-Kirk

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #3 on: October 08, 2024, 01:28:57 PM »
here it is

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #4 on: October 08, 2024, 01:33:09 PM »
here it is

it seems is the old problem that PM got with videos, but why does the aplication crash? and why is there no error message, if an error like this ocurs while running there sholud just be an exception and it should give a error message and not just crash. thats not clean programed from my point of view.

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #5 on: October 08, 2024, 01:45:21 PM »
so how do we fix this? Seems the setting to switch the video rendering tool of is not there anymore, i need to caption 20k images and for two hours i have this theater now...

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Photomechanic Plus Crashes when opening Folder
« Reply #6 on: October 08, 2024, 01:49:17 PM »
so how do we fix this? Seems the setting to switch the video rendering tool of is not there anymore, i need to caption 20k images and for two hours i have this theater now...

I doubt that videos are crashing Photo Mechanic.  Photo Mechanic runs a sub-process to render videos.  If that sub-process were to crash, it wouldn't take Photo Mechanic down.

I expect that you have one or more images that are causing one of the libraries that Photo Mechanic uses to decode images.  If they're JPEGs or RAWs, then the crash is likely due to malformed JPEG data.

What format are the images?

-Kirk

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #7 on: October 08, 2024, 01:51:38 PM »
the log is pretty clear: [Tue Oct-08-2024 21:05:10.812][0000770c][0104928] NRFWinBitmap.cpp:1088 stderr:
[Tue Oct-08-2024 21:05:10.813][0000770c][0104928] NRFBitmapBase.cpp:680 NRF failed to load 'L:\El Jadida\20241002\2024_10_2_1756 .MOV' with error 5
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1086 ERROR: NRFWinBitmap::LoadVideoFile() VideoRender returned exit code:-1.
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1087 stdout: extract_frame: couldn't render video frame and extract it to a file!

[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1088 stderr:
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFBitmapBase.cpp:680 NRF failed to load 'L:\El Jadida\20241002\2024_10_2_1770 .MOV' with error 5
[Tue Oct-08-2024 21:05:13.552][00007bfc][0110128] NRFWinBitmap.cpp:1086 ERROR: NRFWinBitmap::LoadVideoFile() VideoRender returned exit code:-1.
[Tue Oct-08-2024 21:05:13.552][00007bfc][0110148] NRFWinBitmap.cpp:1087 stdout: extract_frame: couldn't render video frame and extract it to a file!



I use only raw in this case NEF if images get edited with plugins there will be also TIFF files and if i crops some images inside the camera then there will be a jpg what the camera was rendering. so nothing special at all

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #8 on: October 08, 2024, 01:56:43 PM »

Deleting the video files does not help, and there is no new entry in the log, so how to fix it ?

the log is pretty clear: [Tue Oct-08-2024 21:05:10.812][0000770c][0104928] NRFWinBitmap.cpp:1088 stderr:
[Tue Oct-08-2024 21:05:10.813][0000770c][0104928] NRFBitmapBase.cpp:680 NRF failed to load 'L:\El Jadida\20241002\2024_10_2_1756 .MOV' with error 5
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1086 ERROR: NRFWinBitmap::LoadVideoFile() VideoRender returned exit code:-1.
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1087 stdout: extract_frame: couldn't render video frame and extract it to a file!

[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1088 stderr:
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFBitmapBase.cpp:680 NRF failed to load 'L:\El Jadida\20241002\2024_10_2_1770 .MOV' with error 5
[Tue Oct-08-2024 21:05:13.552][00007bfc][0110128] NRFWinBitmap.cpp:1086 ERROR: NRFWinBitmap::LoadVideoFile() VideoRender returned exit code:-1.
[Tue Oct-08-2024 21:05:13.552][00007bfc][0110148] NRFWinBitmap.cpp:1087 stdout: extract_frame: couldn't render video frame and extract it to a file!



I use only raw, in this case NEF If images get edited with plugins, there will also be TIFF files and if i crop some images inside the camera, then there will be a jpg what the camera was rendering. so nothing special at all

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #9 on: October 08, 2024, 01:58:47 PM »
opening the folder with PM 6 build 6890 works without any problems. but i need the Catalog functions as i need to search images in defferent folders...

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Photomechanic Plus Crashes when opening Folder
« Reply #10 on: October 08, 2024, 02:13:21 PM »

Deleting the video files does not help, and there is no new entry in the log, so how to fix it ?

the log is pretty clear: [Tue Oct-08-2024 21:05:10.812][0000770c][0104928] NRFWinBitmap.cpp:1088 stderr:
[Tue Oct-08-2024 21:05:10.813][0000770c][0104928] NRFBitmapBase.cpp:680 NRF failed to load 'L:\El Jadida\20241002\2024_10_2_1756 .MOV' with error 5
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1086 ERROR: NRFWinBitmap::LoadVideoFile() VideoRender returned exit code:-1.
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1087 stdout: extract_frame: couldn't render video frame and extract it to a file!

[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFWinBitmap.cpp:1088 stderr:
[Tue Oct-08-2024 21:05:11.773][000056ac][0108392] NRFBitmapBase.cpp:680 NRF failed to load 'L:\El Jadida\20241002\2024_10_2_1770 .MOV' with error 5
[Tue Oct-08-2024 21:05:13.552][00007bfc][0110128] NRFWinBitmap.cpp:1086 ERROR: NRFWinBitmap::LoadVideoFile() VideoRender returned exit code:-1.
[Tue Oct-08-2024 21:05:13.552][00007bfc][0110148] NRFWinBitmap.cpp:1087 stdout: extract_frame: couldn't render video frame and extract it to a file!



I use only raw, in this case NEF If images get edited with plugins, there will also be TIFF files and if i crop some images inside the camera, then there will be a jpg what the camera was rendering. so nothing special at all

I already told you that the video files were not relevant.

-Kirk

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Photomechanic Plus Crashes when opening Folder
« Reply #11 on: October 08, 2024, 02:14:27 PM »
opening the folder with PM 6 build 6890 works without any problems. but i need the Catalog functions as i need to search images in defferent folders...

https://forums.camerabits.com/index.php?topic=15911.0

The above is build 6890 for Photo Mechanic Plus.

-Kirk

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #12 on: October 08, 2024, 02:15:26 PM »
But i have the new version from PM plus the subscription version....

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Photomechanic Plus Crashes when opening Folder
« Reply #13 on: October 08, 2024, 02:25:01 PM »
But i have the new version from PM plus the subscription version....

Then I suggest separating your set of images in half, placing each half in its own folder.  Then browse each folder.  If one of them crashes (and the other does not), then divide that folder in two and repeat.  Eventually you'll get an image or two that cause the crash.  Share it with me.  If it crashes on my system, then I will find and fix the issue so that it does not crash and I'll make you a build.

Without a way to reproduce a crash, I cannot possibly fix the issue.

-Kirk

Offline threiner

  • Member
  • **
  • Posts: 85
    • View Profile
Re: Photomechanic Plus Crashes when opening Folder
« Reply #14 on: October 08, 2024, 02:26:46 PM »
But i have the new version from PM plus the subscription version....

I asks me for a license. as i have only a PM6 license i dont have one, I use the PM all in one version what makes this problems. I need a solution for this please ASAP