[android-beginners] Re: Issue running the emulator on os x with version 1.0r1

2009-01-03 Thread marcus

Another workaround is to apply the -noaudio command line option on
emulator startup. This can be done by externally starting the emulator
or adding -noaudio to the eclipse run configuration at Additional
Emulator Command Line Options (setting the general android
preferences Launch Settings did not work for me).

On 12 Nov. 2008, 07:29, Nathan nathan.ma...@gmail.com wrote:
 Found the solution a minute after posting... sorry

 had to unplug a USB headset

 http://code.google.com/p/android/issues/detail?id=887

 On Nov 11, 11:13 pm, Nathan nathan.ma...@gmail.com wrote:

  I have tried the fix where you remove your .andriod directory from
  your home directory and I still get the error.

  nathan-mavess-imac:tools nmaves$ ./emulator
  2008-11-11 23:10:13.673 emulator[4432:10b] Warning once: This
  application, or a library it uses, is using NSQuickDrawView, which has
  been deprecated. Apps should cease use of QuickDraw and move to
  Quartz.
  Segmentation fault

  From the apple log

  Process:         emulator [4432]
  Path:            /Applications/android-sdk-mac_x86-1.0_r1/tools/
  emulator
  Identifier:      emulator
  Version:         ??? (???)
  Code Type:       X86 (Native)
  Parent Process:  bash [4175]

  Date/Time:       2008-11-11 23:10:16.135 -0700
  OS Version:      Mac OS X 10.5.5 (9F33)
  Report Version:  6

  Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
  Exception Codes: KERN_INVALID_ADDRESS at 0x1ec43000
  Crashed Thread:  3

  Thread 0:
  0   ???                                 0x0064240d code_gen_buffer +
  3158749
  1   emulator                            0xc7fc inflate + 6236

  Thread 1:
  0   libSystem.B.dylib                   0x9580c4a6 mach_msg_trap + 10
  1   libSystem.B.dylib                   0x95813c9c mach_msg + 72
  2   com.apple.CoreFoundation            0x918a30ce CFRunLoopRunSpecific +
  1790
  3   com.apple.CoreFoundation            0x918a3cf8 CFRunLoopRunInMode + 88
  4   com.apple.audio.CoreAudio           0x914bd464 HALRunLoop::OwnThread
  (void*) + 160
  5   com.apple.audio.CoreAudio           0x914bd300 CAPThread::Entry
  (CAPThread*) + 96
  6   libSystem.B.dylib                   0x9583d6f5 _pthread_start + 321
  7   libSystem.B.dylib                   0x9583d5b2 thread_start + 34

  Thread 2:
  0   libSystem.B.dylib                   0x9580c506
  semaphore_timedwait_signal_trap + 10
  1   libSystem.B.dylib                   0x9583e84f _pthread_cond_wait +
  1244
  2   libSystem.B.dylib                   0x958400d3
  pthread_cond_timedwait_relative_np + 47
  3   com.apple.audio.CoreAudio           0x914cca47 CAGuard::WaitFor
  (unsigned long long) + 213
  4   com.apple.audio.CoreAudio           0x914ce602 CAGuard::WaitUntil
  (unsigned long long) + 70
  5   com.apple.audio.CoreAudio           0x914ccda7 HP_IOThread::WorkLoop()
  + 759
  6   com.apple.audio.CoreAudio           0x914ccaab HP_IOThread::ThreadEntry
  (HP_IOThread*) + 17
  7   com.apple.audio.CoreAudio           0x914bd300 CAPThread::Entry
  (CAPThread*) + 96
  8   libSystem.B.dylib                   0x9583d6f5 _pthread_start + 321
  9   libSystem.B.dylib                   0x9583d5b2 thread_start + 34

  Thread 3 Crashed:
  0   emulator                            0x00036c18 audioInDeviceIOProc + 80

  Thread 3 crashed with X86 Thread State (32-bit):
    eax: 0x  ebx: 0x1ec43000  ecx: 0x01fe  edx: 0x1df3eff0
    edi: 0x0200  esi: 0x01f6e3d0  ebp: 0x01f6e380  esp: 0xb01c8b60
     ss: 0x001f  efl: 0x00010212  eip: 0x00036c18   cs: 0x0017
     ds: 0x001f   es: 0x001f   fs: 0x001f   gs: 0x0037
    cr2: 0x1ec43000

  Binary Images:
      0x1000 -   0x13e9ab +emulator ??? (???) /Applications/android-sdk-
  mac_x86-1.0_r1/tools/emulator
   0x1e17000 -  0x1e19fff +com.unsanity.menuextraenabler 1.0.3 (1.0.3) /
  Library/InputManagers/Menu Extra Enabler/Menu Extra Enabler.bundle/
  Contents/MacOS/Menu Extra Enabler
  0x1df2 - 0x1df23fff  com.apple.audio.AudioIPCPlugIn 1.0.4 (1.0.4)
  9ce6f675ce724b0ba4e78323b79cf95c /System/Library/Extensions/
  AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/
  MacOS/AudioIPCPlugIn
  0x1df29000 - 0x1df2efff  com.apple.audio.AppleHDAHALPlugIn 1.5.7
  (1.5.7a24) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/
  AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
  0x1e339000 - 0x1e521fff  com.apple.RawCamera.bundle 2.0.11 (410)
  7704cc57f7daceb81672bfdc4434da40 /System/Library/CoreServices/
  RawCamera.bundle/Contents/MacOS/RawCamera
  0x8fe0 - 0x8fe2da53  dyld 96.2 (???)
  7af47d3b00b2268947563c7fa8c59a07 /usr/lib/dyld
  0x90003000 - 0x9000affe  libbsm.dylib ??? (???)
  d25c63378a5029648ffd4b4669be31bf /usr/lib/libbsm.dylib
  0x9001e000 - 0x9005cfff  libGLImage.dylib ??? (???)
  f0fe2252f6b1ca341bc7837fe2dcf11a /System/Library/Frameworks/
  OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
  0x9005d000 - 0x9005dffc  com.apple.audio.units.AudioUnit 1.5 (1.5) /
  

[android-beginners] Re: Issue running the emulator on os x with version 1.0r1

2008-11-11 Thread Nathan

Found the solution a minute after posting... sorry

had to unplug a USB headset

http://code.google.com/p/android/issues/detail?id=887

On Nov 11, 11:13 pm, Nathan [EMAIL PROTECTED] wrote:
 I have tried the fix where you remove your .andriod directory from
 your home directory and I still get the error.

 nathan-mavess-imac:tools nmaves$ ./emulator
 2008-11-11 23:10:13.673 emulator[4432:10b] Warning once: This
 application, or a library it uses, is using NSQuickDrawView, which has
 been deprecated. Apps should cease use of QuickDraw and move to
 Quartz.
 Segmentation fault

 From the apple log

 Process:         emulator [4432]
 Path:            /Applications/android-sdk-mac_x86-1.0_r1/tools/
 emulator
 Identifier:      emulator
 Version:         ??? (???)
 Code Type:       X86 (Native)
 Parent Process:  bash [4175]

 Date/Time:       2008-11-11 23:10:16.135 -0700
 OS Version:      Mac OS X 10.5.5 (9F33)
 Report Version:  6

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x1ec43000
 Crashed Thread:  3

 Thread 0:
 0   ???                                 0x0064240d code_gen_buffer +
 3158749
 1   emulator                            0xc7fc inflate + 6236

 Thread 1:
 0   libSystem.B.dylib                   0x9580c4a6 mach_msg_trap + 10
 1   libSystem.B.dylib                   0x95813c9c mach_msg + 72
 2   com.apple.CoreFoundation            0x918a30ce CFRunLoopRunSpecific +
 1790
 3   com.apple.CoreFoundation            0x918a3cf8 CFRunLoopRunInMode + 88
 4   com.apple.audio.CoreAudio           0x914bd464 HALRunLoop::OwnThread
 (void*) + 160
 5   com.apple.audio.CoreAudio           0x914bd300 CAPThread::Entry
 (CAPThread*) + 96
 6   libSystem.B.dylib                   0x9583d6f5 _pthread_start + 321
 7   libSystem.B.dylib                   0x9583d5b2 thread_start + 34

 Thread 2:
 0   libSystem.B.dylib                   0x9580c506
 semaphore_timedwait_signal_trap + 10
 1   libSystem.B.dylib                   0x9583e84f _pthread_cond_wait +
 1244
 2   libSystem.B.dylib                   0x958400d3
 pthread_cond_timedwait_relative_np + 47
 3   com.apple.audio.CoreAudio           0x914cca47 CAGuard::WaitFor
 (unsigned long long) + 213
 4   com.apple.audio.CoreAudio           0x914ce602 CAGuard::WaitUntil
 (unsigned long long) + 70
 5   com.apple.audio.CoreAudio           0x914ccda7 HP_IOThread::WorkLoop()
 + 759
 6   com.apple.audio.CoreAudio           0x914ccaab HP_IOThread::ThreadEntry
 (HP_IOThread*) + 17
 7   com.apple.audio.CoreAudio           0x914bd300 CAPThread::Entry
 (CAPThread*) + 96
 8   libSystem.B.dylib                   0x9583d6f5 _pthread_start + 321
 9   libSystem.B.dylib                   0x9583d5b2 thread_start + 34

 Thread 3 Crashed:
 0   emulator                            0x00036c18 audioInDeviceIOProc + 80

 Thread 3 crashed with X86 Thread State (32-bit):
   eax: 0x  ebx: 0x1ec43000  ecx: 0x01fe  edx: 0x1df3eff0
   edi: 0x0200  esi: 0x01f6e3d0  ebp: 0x01f6e380  esp: 0xb01c8b60
    ss: 0x001f  efl: 0x00010212  eip: 0x00036c18   cs: 0x0017
    ds: 0x001f   es: 0x001f   fs: 0x001f   gs: 0x0037
   cr2: 0x1ec43000

 Binary Images:
     0x1000 -   0x13e9ab +emulator ??? (???) /Applications/android-sdk-
 mac_x86-1.0_r1/tools/emulator
  0x1e17000 -  0x1e19fff +com.unsanity.menuextraenabler 1.0.3 (1.0.3) /
 Library/InputManagers/Menu Extra Enabler/Menu Extra Enabler.bundle/
 Contents/MacOS/Menu Extra Enabler
 0x1df2 - 0x1df23fff  com.apple.audio.AudioIPCPlugIn 1.0.4 (1.0.4)
 9ce6f675ce724b0ba4e78323b79cf95c /System/Library/Extensions/
 AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/
 MacOS/AudioIPCPlugIn
 0x1df29000 - 0x1df2efff  com.apple.audio.AppleHDAHALPlugIn 1.5.7
 (1.5.7a24) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/
 AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
 0x1e339000 - 0x1e521fff  com.apple.RawCamera.bundle 2.0.11 (410)
 7704cc57f7daceb81672bfdc4434da40 /System/Library/CoreServices/
 RawCamera.bundle/Contents/MacOS/RawCamera
 0x8fe0 - 0x8fe2da53  dyld 96.2 (???)
 7af47d3b00b2268947563c7fa8c59a07 /usr/lib/dyld
 0x90003000 - 0x9000affe  libbsm.dylib ??? (???)
 d25c63378a5029648ffd4b4669be31bf /usr/lib/libbsm.dylib
 0x9001e000 - 0x9005cfff  libGLImage.dylib ??? (???)
 f0fe2252f6b1ca341bc7837fe2dcf11a /System/Library/Frameworks/
 OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
 0x9005d000 - 0x9005dffc  com.apple.audio.units.AudioUnit 1.5 (1.5) /
 System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
 0x9049c000 - 0x904ddfe7  libRIP.A.dylib ??? (???)
 1f09316e876fe813271bdfb9eb5b229e /System/Library/Frameworks/
 ApplicationServices.framework/Versions/A/Frameworks/
 CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
 0x90b5f000 - 0x90be6ff7  libsqlite3.0.dylib ??? (???)
 6978bbcca4277d6ae9f042beff643f7d /usr/lib/libsqlite3.0.dylib
 0x90be7000 - 0x90c0fff7  com.apple.shortcut 1 (1.0)