Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6688115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:22:01+00:00 2026-05-26T05:22:01+00:00

I have problem I cannot find the cause. I have menu and application crashes

  • 0

I have problem I cannot find the cause. I have menu and application crashes as soon as app name menu item, or File or Edit is selected. Other 4 menu options work fine.

I cannot track the error, since the crash occurs as soon as you select menu drop down, you actually don’t even come so far to select a menu option.

This is declaration code:

    IBOutlet NSMenu *miFile;
IBOutlet NSMenuItem *miNewProduct;
IBOutlet NSMenuItem *miDeleteProduct;
IBOutlet NSMenuItem *miDataupdateUndo;
IBOutlet NSMenuItem *miExit;

IBOutlet NSMenu *miEdit;

IBOutlet NSMenu *miExtra;
IBOutlet NSMenuItem *miSettings;
IBOutlet NSMenuItem *miFilestoreCleanup;
IBOutlet NSMenuItem *miEAN;
IBOutlet NSMenuItem *miBeatport;

IBOutlet NSMenu *miInvoice;
IBOutlet NSMenuItem *miInvoicePreview;
IBOutlet NSMenuItem *miInvoiceEnd;
IBOutlet NSMenuItem *miInvoiceExport;
IBOutlet NSMenuItem *miAccounting;

IBOutlet NSMenu *miStockList;
IBOutlet NSMenuItem *miServerRecieve;
IBOutlet NSMenuItem *miExport;
IBOutlet NSMenuItem *miImportModule;

IBOutlet NSMenu *miHelp;
IBOutlet NSMenuItem *miSendProtocol;
IBOutlet NSMenuItem *miHelpLink;
IBOutlet NSMenuItem *miReleaseNotes;
IBOutlet NSMenuItem *miCheckUpdate;
IBOutlet NSMenuItem *miRebeatDotCom;
IBOutlet NSMenuItem *miAbout;

Does anybody have an idea, what could cause a crash? It is EXC_BAD_ACCESS crash, I have used all Intsruments tools and found nothing…

Here is assembly code at point of crash if useful:

0x00007fff8461d39c  <+0000>  push   %rbp
0x00007fff8461d39d  <+0001>  mov    %rsp,%rbp
0x00007fff8461d3a0  <+0004>  push   %r14
0x00007fff8461d3a2  <+0006>  push   %rbx
0x00007fff8461d3a3  <+0007>  mov    (%rdi),%rbx   ///CRASH
0x00007fff8461d3a6  <+0010>  cmp    %rsi,%rbx
0x00007fff8461d3a9  <+0013>  je     0x7fff8461d3c6     <_ZN11TCFRetainedIPK8__CTFontE6RetainES2_+42>
0x00007fff8461d3ab  <+0015>  mov    %rdi,%r14
0x00007fff8461d3ae  <+0018>  test   %rsi,%rsi
0x00007fff8461d3b1  <+0021>  je     0x7fff8461d3be <_ZN11TCFRetainedIPK8__CTFontE6RetainES2_+34>
0x00007fff8461d3b3  <+0023>  mov    %rsi,%rdi
0x00007fff8461d3b6  <+0026>  callq  0x7fff8469c642 <dyld_stub_CFRetain>
0x00007fff8461d3bb  <+0031>  mov    %rax,%rsi
0x00007fff8461d3be  <+0034>  mov    %rsi,(%r14)
0x00007fff8461d3c1  <+0037>  test   %rbx,%rbx
0x00007fff8461d3c4  <+0040>  jne    0x7fff8461d3cb <_ZN11TCFRetainedIPK8__CTFontE6RetainES2_+47>
0x00007fff8461d3c6  <+0042>  pop    %rbx
0x00007fff8461d3c7  <+0043>  pop    %r14
0x00007fff8461d3c9  <+0045>  pop    %rbp
0x00007fff8461d3ca  <+0046>  retq   
0x00007fff8461d3cb  <+0047>  mov    %rbx,%rdi
0x00007fff8461d3ce  <+0050>  pop    %rbx
0x00007fff8461d3cf  <+0051>  pop    %r14
0x00007fff8461d3d1  <+0053>  pop    %rbp
0x00007fff8461d3d2  <+0054>  jmpq   0x7fff8469c63c <dyld_stub_CFRelease>
0x00007fff8461d3d7  <+0059>  nop    

Menu was created completely in IB. it is ran on 10.7.2. Crashes on 10.6 as well. Uses GC. No Zombies, Allocations, leaks or any other things that can be caught with Instruments of whatsoever – I need to repeat this obviously…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:22:02+00:00Added an answer on May 26, 2026 at 5:22 am

    I can not comment about your code by only seeing interface file. you should refer MenuItemView code. “MenuItemView” is a Cocoa application that demonstrates embedding NSViews inside NSMenuItems. This sample is intended to show how this is done with various user interface elements such as controls as well as the application’s menu bar. you can also refer
    First Steps in GNUstep GUI Programming: NSApplication, NSMenu
    .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple problem but cannot find a nice solution. I have
I have a XAML file which I have pared down to find the cause
It is known that the halting problem cannot have a definite solution, one that
I have a problem where I cannot identify visitors to my intranet page because
I have a simple problem that i cannot solve. I have a dictionary: aa
I have a problem with a client, who cannot log in to our system.
I have this little problem, that I cannot figure out which arguments to pass
I have got a strange problem about in_array recently which I cannot understand. e.g.
Friends, I have a strange need and cannot think my way through the problem.
I have looked through these forums to find a solution to this problem, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.