LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2024 Q3 Crashing with Custom Menus

Solved!
Go to solution

I see the same thing using actor framework and custom menu options with LV2024 Q3 64 bit

0 Kudos
Message 11 of 32
(905 Views)

@Gryfffin

 

This custom menu crash issue has been identified as a bug by NI. It was your support case that triggered the investigation.

 

There is an interaction LabVIEW's getting started window and the application that is opened from it. I don't know the precise details. A has been identified as follows:

 

  • Open the .lvproj directly in windows explorer. without using the getting started window.
  • Add skipNavigatorDialog=True to the LabVIEW ini file. 

I can 't give you a date as to when a fix will be released.

Message 12 of 32
(867 Views)

NI support provided me a work-around for this issue.

  • Open the .lvproj directly in windows explorer. without using the getting started window.
  • Add skipNavigatorDialog=True to the LabVIEW ini file. 

It is the Startup Navigator window that is triggering the issue.  If that ever appears, then you will get the crash when using user menus in your application within the IDE.  So, the trick is never letting it appear.  Unfortunately even with the ini key, it will appear when you close your project so you will need quit LabVIEW and then open the next project directly from File Explorer.

 

No date given on when this will be fixed.

-John
------------------------
Certified LabVIEW Architect
Message 13 of 32
(823 Views)

I am seeing the same thing when using the icon editor as well. If I open the icon editor there is a 50/50 chance LabVIEW is going to crash. I also have seen this problem when using VIPM and trying to edit an icon for the palette. If I go to the menu to clear all or to import a glyph. Cross you finger and don't forget to save first. It has been a long time since I need to think about saving before starting something new.

 

The other issue we see is trying to use the menu items. When we go to save in the menu that causes LabVIEW 2024 Q1 and Q3 to crash. This has to be the most unstable version of LabVIEW I have used in the 25 years I have been using it.

Tim
GHSP
0 Kudos
Message 14 of 32
(685 Views)

@aestet This thread discusses a specific issue where custom menus and their user events cause LabVIEW to crash. Do you believe that the crashes you are seeing are related to custom menus?  I want to understand the issues you are seeing so that they can be replicated and investigated.

 

Thanks,

 

David.

0 Kudos
Message 15 of 32
(669 Views)

One of the menus we are using is a custom menu. The other is the menu that is built into the icon editor. 

 

The place we see it for the custom menu that we are using is: If I make a change on the dialog that pops up. When we change things if I hit OK it save these settings to the registry. If I hit OK first then open this window again it will let me save these setting to a file. If I try to save before I hit OK. LabVIEW will crash almost every time.

 

The second one is just trying to use the icon editor. It happens so often I can think it would be too hard to find this crash. If I open the editor, I see a crash sometimes. If I manage to open the icon editor then click on the menu I have about a 50/50 change LabVIEW is going to crash.

Tim
GHSP
0 Kudos
Message 16 of 32
(661 Views)
  • "The place we see it for the custom menu that we are using is: If I make a change on the dialog that pops up. When we change things if I hit OK it save these settings to the registry. If I hit OK first then open this window again it will let me save these setting to a file. If I try to save before I hit OK. LabVIEW will crash almost every time."
    • Does the workaround described above resolve this issue?
    • If it does not, then it could be another issue.
    • A replicating case will be very helpful in understanding the problem and working towards a solution.
  • "The second one is just trying to use the icon editor. It happens so often I can think it would be too hard to find this crash. If I open the editor, I see a crash sometimes. If I manage to open the icon editor, then click on the menu I have about a 50/50 change LabVIEW is going to crash."
    • I can't crash the icon editor in either the 32 or 64 bit versions of LabVIEW 2024 Q3.
    • The same is true of VIPM.
    • If the Icon Editor does not even start, it may not be related to the custom menu issue.
    • I would check the Windows Event logs and see if anything is being logged.
    • Check for crash dumps. You can take a look at them and see if there are any obvious clues (e.g. files being loaded that should not be there).
0 Kudos
Message 17 of 32
(650 Views)

AustinMan@NI wrote:
  • "The place we see it for the custom menu that we are using is: If I make a change on the dialog that pops up. When we change things if I hit OK it save these settings to the registry. If I hit OK first then open this window again it will let me save these setting to a file. If I try to save before I hit OK. LabVIEW will crash almost every time."
    • Does the workaround described above resolve this issue?
    • If it does not, then it could be another issue.
    • A replicating case will be very helpful in understanding the problem and working towards a solution.
  • "The second one is just trying to use the icon editor. It happens so often I can think it would be too hard to find this crash. If I open the editor, I see a crash sometimes. If I manage to open the icon editor, then click on the menu I have about a 50/50 change LabVIEW is going to crash."
    • I can't crash the icon editor in either the 32 or 64 bit versions of LabVIEW 2024 Q3.
    • The same is true of VIPM.
    • If the Icon Editor does not even start, it may not be related to the custom menu issue.
    • I would check the Windows Event logs and see if anything is being logged.
    • Check for crash dumps. You can take a look at them and see if there are any obvious clues (e.g. files being loaded that should not be there).

I will try the work around and see if that helps. We have a lot of projects so adding this to everyone of them will be a pain.

 

I had the Icon editor crash five times yesterday alone. I am build generic loop classes for my team to use to start a new project. I am just building the data accessors and simple code to build out the loops. as I am build the icons for the many different vi's and controls I see this crash way to often. I am not sure how I get it to crash. Just doing the normal stuff and them labview is gone. No crash report or anything just vanishes.

Tim
GHSP
0 Kudos
Message 18 of 32
(641 Views)

Adding to this. I am getting the Icon Editor to crash LabVIEW. I have seen this on 64-bit and 32-bit (Community Edition to be more exact). GIF screen capture is attached.

 

I am starting with a blank project and create a blank VI to cause this to happen.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 19 of 32
(510 Views)

Will the fix for this arrive via a patch for 2024 Q3 or in 2025 Q1? Upgrading to a new version year is an expensive effort for developers so people shouldn't be upgrading to a version with a major bug that won't be fixed.

0 Kudos
Message 20 of 32
(467 Views)