Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in ShowMenuBar in Mac mini Intel Core duo



Hi all,

I am working on new INTEL Dual Core mac mini.My application is a java application and I am making  native function call through java
and the  problem is that a crash  occurs  when I call method showMenuBar() and HideMenuBar() in my application through JNI.
                               To visualize this crash I made a sample JNI  application in  Xcode ,and made following changes in Jnilib file

  int j, i  = 0;
  for(i = 0;i <8;i++)
  {
     
      HideMenuBar();
     for(j = 0;j <50000;j++);
      ShowMenuBar();
     
  }


and java file

        JFrame f = new JFrame();
        f.setVisible(true);

this crash is occuring very frequently in Intel Core Duo and on other Mac machines it doesn't occur.The crash Report is following :


Thread 1 Crashed:

0   libRIP.A.dylib                    0x943f2463 ripc_GetClipState + 267

1   libRIP.A.dylib                    0x943f2062 ripc_GetRenderingState + 182

2   libRIP.A.dylib                    0x943f0c5e ripc_DrawImage + 137

3   com.apple.CoreGraphics           0x90331773 CGContextDrawImage + 403

4   com.apple.HIToolbox                  0x92f32ac1 _ThemeImageDrawMultiple + 1807

5   com.apple.HIToolbox                  0x92f323a6 _ThemeImageDraw3Piece + 622

6   com.apple.HIToolbox                  0x92f32063 HIThemeDrawMenuBarBackground + 269

7   com.apple.HIToolbox                  0x92f2e59e HIMenuBarView::DrawSelf(short, __HIShape const*, CGContext*) + 272

8   com.apple.HIToolbox                  0x92f2e150 HIView::DrawCacheOrSelf(short, __HIShape const*, CGContext*) + 86

9   com.apple.HIToolbox                 0x92f2df5b HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 97

10  com.apple.HIToolbox                 0x930a2d52 HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, CGContext*, unsigned char) + 874

11  com.apple.HIToolbox                 0x930a2ee4 HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, CGContext*, unsigned char) + 1276

12  com.apple.HIToolbox                 0x930a36d4 HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*) + 600

13  com.apple.HIToolbox                 0x92f2db26 HIView::Draw(short, OpaqueGrafPtr*, unsigned long) + 74

14  com.apple.HIToolbox                 0x92f2da63 HIView::Render(unsigned long, CGContext*) + 45

15  com.apple.HIToolbox                 0x92f1d5a2 _ShowHideWindows + 504

16  com.apple.HIToolbox                 0x92f1d3a6 ShowHide + 38

17  com.apple.HIToolbox                 0x92f2d2f0 MBarDraw() + 68

18  com.apple.HIToolbox                 0x92f248e3 DrawMenuBar + 223

19  com.apple.HIToolbox                 0x92f24bb8 ShowBar(unsigned char, unsigned char) + 272

20  com.apple.HIToolbox                 0x92fde9ee SetSystemUIMode + 228

21  com.apple.HIToolbox                 0x92fde8fa ShowMenuBar + 122

22  libHideMenu.jnilib           0x017eefab Java_JNIWrapper_native_1method + 81 (HideMenujnilib.c:26)

23  <<00000000>>   0x03f36c5b 0 + 66284635

24  <<00000000>>   0x03f31c6f 0 + 66264175

25  <<00000000>>   0x03f2f0ed 0 + 66253037

26  libclient.dylib                    0x95c436cc jio_snprintf + 250442

27  libclient.dylib                    0x95c434c6 jio_snprintf + 249924

28  libclient.dylib                    0x95c5b167 JVM_MaxMemory + 3779

29  libclient.dylib                    0x95c60ac3 JVM_FindLoadedClass + 2719

30  java                       0x000041ea 0x1000 + 12778

31  java                       0x000047cd 0x1000 + 14285

32  libSystem.B.dylib            0x90024b07 _pthread_body + 84

 

regards,
Amber
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.