Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iTunes Plugin Not Compatible with OS X 10.12.4 #7

Closed
tianranwangcs opened this issue Mar 31, 2017 · 10 comments
Closed

iTunes Plugin Not Compatible with OS X 10.12.4 #7

tianranwangcs opened this issue Mar 31, 2017 · 10 comments

Comments

@tianranwangcs
Copy link

tianranwangcs commented Mar 31, 2017

After I update iTunes in 10.12.4 ver, both of the latest released plugin in official site and here do not work. Hoping for new release.

@tianranwangcs tianranwangcs changed the title Not Compatible with OSX Not Compatible with OS X 10.12.4 Mar 31, 2017
@revmischa
Copy link
Collaborator

Yeah I'm able to reproduce this issue. iTunes isn't give me a whole lot of debugging info about what's going on.

@revmischa
Copy link
Collaborator

Here's a stack trace, something about deallocating GenExpr from PerFrameEqn on preset switch

Process:               VisualizerService [19606]
Path:                  /Applications/iTunes.app/Contents/XPCServices/VisualizerService.xpc/Contents/MacOS/VisualizerService
Identifier:            com.apple.iTunes.VisualizerService
Version:               12.6 (12.6.0)
Build Info:            iTunes-1200012006000100~2
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           iTunes [19605]
User ID:               502

PlugIn Path:             /Library/iTunes/iTunes Plug-ins/iProjectM.bundle/Contents/MacOS/iProjectM
PlugIn Identifier:       biz.int80.iProjectM
PlugIn Version:          2.2 (2)

Date/Time:             2017-04-01 13:27:53.692 -0700
OS Version:            Mac OS X 10.12.4 (16E195)
Report Version:        12
Anonymous UUID:        F99AE2D8-D151-2193-249A-7784344857CD


Time Awake Since Boot: 93000 seconds

System Integrity Protection: enabled

Crashed Thread:        4  Dispatch queue: com.apple.NSXPCConnection.user.19605

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib        0x00007fffdddaa4b5 OSAtomicEnqueue + 29
1   biz.int80.iProjectM             0x000000010fc91885 GenExpr::~GenExpr() + 21
2   biz.int80.iProjectM             0x000000010fc919ec TreeExpr::~TreeExpr() + 156
3   biz.int80.iProjectM             0x000000010fc91865 TreeExpr::~TreeExpr() + 21
4   biz.int80.iProjectM             0x000000010fc91a4a TreeExpr::~TreeExpr() + 250
5   biz.int80.iProjectM             0x000000010fc91865 TreeExpr::~TreeExpr() + 21
6   biz.int80.iProjectM             0x000000010fc9198e TreeExpr::~TreeExpr() + 62
7   biz.int80.iProjectM             0x000000010fc91865 TreeExpr::~TreeExpr() + 21
8   biz.int80.iProjectM             0x000000010fc91810 GenExpr::~GenExpr() + 272
9   biz.int80.iProjectM             0x000000010fc91885 GenExpr::~GenExpr() + 21
10  biz.int80.iProjectM             0x000000010fc9337b PerFrameEqn::~PerFrameEqn() + 43
11  biz.int80.iProjectM             0x000000010fc933c5 PerFrameEqn::~PerFrameEqn() + 21
12  biz.int80.iProjectM             0x000000010fc4c6d6 TraverseFunctors::Delete<PerFrameEqn>::operator()(PerFrameEqn*) + 102
13  biz.int80.iProjectM             0x000000010fc40276 void traverseVector<TraverseFunctors::Delete<PerFrameEqn>, std::__1::vector<PerFrameEqn*, std::__1::allocator<PerFrameEqn*> > >(std::__1::vector<PerFrameEqn*, std::__1::allocator<PerFrameEqn*> >&) + 454
14  biz.int80.iProjectM             0x000000010fc3e720 MilkdropPreset::~MilkdropPreset() + 128
15  biz.int80.iProjectM             0x000000010fc40825 MilkdropPreset::~MilkdropPreset() + 21
16  biz.int80.iProjectM             0x000000010fc40848 MilkdropPreset::~MilkdropPreset() + 24
17  biz.int80.iProjectM             0x000000010fafe681 projectM::switchPreset(std::__1::auto_ptr<Preset>&) + 305
18  biz.int80.iProjectM             0x000000010fafe0ea projectM::switchPreset(bool) + 474
19  biz.int80.iProjectM             0x000000010fafc621 projectM::selectRandom(bool) + 145
20  biz.int80.iProjectM             0x000000010fb2f3ea projectM::default_key_handler(projectMEvent, projectMKeycode) + 634
21  biz.int80.iProjectM             0x000000010fb2f135 projectM::key_handler(projectMEvent, projectMKeycode, projectMModifier) + 133
22  biz.int80.iProjectM             0x000000010faf4119 _keypressProjectM(VisualPluginData*, projectMEvent, NSEvent*) + 153 (iprojectM_mac.mm:332)
23  biz.int80.iProjectM             0x000000010faf4052 -[iProjectM_VisualView keyDown:] + 38 (iprojectM_mac.mm:301)
24  com.apple.AppKit                0x00007fffc682b33c -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 4086
25  com.apple.AppKit                0x00007fffc6829f7a -[NSWindow(NSEventRouting) sendEvent:] + 541
26  com.apple.ViewBridge            0x00007fffdbcf046a -[NSViewServiceMarshal whileFilteringResponderChain:] + 233
27  com.apple.ViewBridge            0x00007fffdbce7ba7 -[NSViewServiceMarshal wrap:sendEvent:] + 80
28  com.apple.ViewBridge            0x00007fffdbccc779 +[NSViewServiceApplication withHostPID:invoke:] + 46
29  com.apple.ViewBridge            0x00007fffdbce7e3f -[NSViewServiceMarshal sendEvent:to:] + 310
30  com.apple.ViewBridge            0x00007fffdbcd55de -[NSWindow(ViewBridgeSwizzle) swizzledSendEvent:] + 63
31  com.apple.AppKit                0x00007fffc66af518 -[NSApplication(NSEvent) sendEvent:] + 4768
32  com.apple.ViewBridge            0x00007fffdbccd550 __65-[NSViewServiceApplication sendEventWithoutCatch:withForwarding:]_block_invoke + 47
33  com.apple.ViewBridge            0x00007fffdbcccc1e -[NSViewServiceApplication eventHasNotHitWindow:actions:] + 80
34  com.apple.ViewBridge            0x00007fffdbccd514 -[NSViewServiceApplication sendEventWithoutCatch:withForwarding:] + 233
35  com.apple.ViewBridge            0x00007fffdbccdba7 -[NSViewServiceApplication sendEvent:withForwarding:] + 26
36  com.apple.AppKit                0x00007fffc5f297f7 -[NSApplication run] + 1002
37  com.apple.AppKit                0x00007fffc5ef41de NSApplicationMain + 1237
38  libxpc.dylib                    0x00007fffdddf48c7 _xpc_objc_main + 775
39  libxpc.dylib                    0x00007fffdddf32e4 xpc_main + 494
40  com.apple.ViewBridge            0x00007fffdbcf7fa5 -[NSXPCSharedListener resume] + 16
41  com.apple.ViewBridge            0x00007fffdbcd2636 NSViewServiceApplicationMain + 2985
42  com.apple.iTunes.VisualizerService  0x000000010dfd1b73 main + 235
43  libdyld.dylib                   0x00007fffddb9b235 start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fffddcca44e __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fffdddb4695 _pthread_wqthread + 1426
2   libsystem_pthread.dylib         0x00007fffdddb40f1 start_wqthread + 13

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib          0x00007fffddcc234a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fffddcc1797 mach_msg + 55
2   com.apple.CoreFoundation        0x00007fffc84394e4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation        0x00007fffc8438971 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation        0x00007fffc84381c4 CFRunLoopRunSpecific + 420
5   com.apple.AppKit                0x00007fffc60822d2 _NSEventThread + 205
6   libsystem_pthread.dylib         0x00007fffdddb49af _pthread_body + 180
7   libsystem_pthread.dylib         0x00007fffdddb48fb _pthread_start + 286
8   libsystem_pthread.dylib         0x00007fffdddb4101 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fffddcca44e __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fffdddb4502 _pthread_wqthread + 1023
2   libsystem_pthread.dylib         0x00007fffdddb40f1 start_wqthread + 13

Thread 4 Crashed:: Dispatch queue: com.apple.NSXPCConnection.user.19605
0   biz.int80.iProjectM             0x000000010fc90f9e TreeExpr::eval_tree_expr(int, int) + 286
1   biz.int80.iProjectM             0x000000010fc90f35 TreeExpr::eval_tree_expr(int, int) + 181
2   biz.int80.iProjectM             0x000000010fc90f35 TreeExpr::eval_tree_expr(int, int) + 181
3   biz.int80.iProjectM             0x000000010fc90f35 TreeExpr::eval_tree_expr(int, int) + 181
4   biz.int80.iProjectM             0x000000010fc90f35 TreeExpr::eval_tree_expr(int, int) + 181
5   biz.int80.iProjectM             0x000000010fc90f35 TreeExpr::eval_tree_expr(int, int) + 181
6   biz.int80.iProjectM             0x000000010fc90a9b GenExpr::eval_gen_expr(int, int) + 219
7   biz.int80.iProjectM             0x000000010fc90dcf PrefunExpr::eval_prefun_expr(int, int) + 319
8   biz.int80.iProjectM             0x000000010fc90a71 GenExpr::eval_gen_expr(int, int) + 177
9   biz.int80.iProjectM             0x000000010fc90ed3 TreeExpr::eval_tree_expr(int, int) + 83
10  biz.int80.iProjectM             0x000000010fc90a9b GenExpr::eval_gen_expr(int, int) + 219
11  biz.int80.iProjectM             0x000000010fc5e685 PerPixelEqn::evaluate(int, int) + 149
12  biz.int80.iProjectM             0x000000010fc467d3 MilkdropPreset::evalPerPixelEqns() + 803
13  biz.int80.iProjectM             0x000000010fc4420a MilkdropPreset::evaluateFrame() + 138
14  biz.int80.iProjectM             0x000000010fc4413a MilkdropPreset::Render(BeatDetect const&, PipelineContext const&) + 74
15  biz.int80.iProjectM             0x000000010fafc331 projectM::renderFrame() + 2177
16  biz.int80.iProjectM             0x000000010faf3c99 DrawVisual(VisualPluginData*) + 113 (iprojectM_mac.mm:64)
17  biz.int80.iProjectM             0x000000010faf4bf9 VisualPluginHandler(unsigned int, VisualPluginMessageInfo*, void*) + 609 (iprojectM.mm:346)
18  com.apple.iTunes.VisualizerService  0x000000010dfcd0bd 0x10df81000 + 311485
19  com.apple.iTunes.VisualizerService  0x000000010dfced4d 0x10df81000 + 318797
20  com.apple.iTunes.VisualizerService  0x000000010df8349a 0x10df81000 + 9370
21  com.apple.CoreFoundation        0x00007fffc8435c3c __invoking___ + 140
22  com.apple.CoreFoundation        0x00007fffc8435ac1 -[NSInvocation invoke] + 289
23  com.apple.Foundation            0x00007fffc9e636c4 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 17
24  com.apple.Foundation            0x00007fffc9e6303f -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1134
25  com.apple.Foundation            0x00007fffc9e62b02 message_handler + 685
26  libxpc.dylib                    0x00007fffdddeef96 _xpc_connection_call_event_handler + 35
27  libxpc.dylib                    0x00007fffddded95f _xpc_connection_mach_event + 1707
28  libdispatch.dylib               0x00007fffddb6b726 _dispatch_client_callout4 + 9
29  libdispatch.dylib               0x00007fffddb6b999 _dispatch_mach_msg_invoke + 414
30  libdispatch.dylib               0x00007fffddb7b7db _dispatch_queue_serial_drain + 443
31  libdispatch.dylib               0x00007fffddb6a497 _dispatch_mach_invoke + 868
32  libdispatch.dylib               0x00007fffddb7b7db _dispatch_queue_serial_drain + 443
33  libdispatch.dylib               0x00007fffddb6e306 _dispatch_queue_invoke + 1046
34  libdispatch.dylib               0x00007fffddb7c24c _dispatch_root_queue_drain_deferred_item + 284
35  libdispatch.dylib               0x00007fffddb7f27a _dispatch_kevent_worker_thread + 929
36  libsystem_pthread.dylib         0x00007fffdddb44ef _pthread_wqthread + 1004
37  libsystem_pthread.dylib         0x00007fffdddb40f1 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fffddcc9c22 __psynch_mutexwait + 10
1   libsystem_pthread.dylib         0x00007fffdddb4e6e _pthread_mutex_lock_wait + 100
2   biz.int80.iProjectM             0x000000010fafb957 projectM::thread_func(void*) + 39
3   biz.int80.iProjectM             0x000000010fafd311 thread_callback(void*) + 33
4   libsystem_pthread.dylib         0x00007fffdddb49af _pthread_body + 180
5   libsystem_pthread.dylib         0x00007fffdddb48fb _pthread_start + 286
6   libsystem_pthread.dylib         0x00007fffdddb4101 thread_start + 13

Thread 6:
0   libsystem_pthread.dylib         0x00007fffdddb40e4 start_wqthread + 0
1   ???                             0x7f0065737300513a 0 + 9151425989341892922

Thread 4 crashed with X86 Thread State (64-bit):
  rax: 0x000061000003f500  rbx: 0x00007fa9a200c200  rcx: 0xbadd1806f5cabead  rdx: 0xbadd1806f5cabead
  rdi: 0x000061000003f500  rsi: 0x0000000000000009  rbp: 0x00007000050ecc50  rsp: 0x00007000050ecc10
   r8: 0x00000000000000ff   r9: 0x0000000000001800  r10: 0x0000000000001800  r11: 0x0000000000000500
  r12: 0x0000000000000020  r13: 0x000000000000006f  r14: 0x00007fffdd2a8040  r15: 0x00007000050ed7e0
  rip: 0x000000010fc90f9e  rfl: 0x0000000000010286  cr2: 0x000061800011b000
  
Logical CPU:     6
Error Code:      0x00000000
Trap Number:     13


@twilsonco
Copy link

twilsonco commented May 15, 2017

+1

Otherwise, I just found this, and I'm very grateful you took the time to get the iTunes plugin back up and running!

@twilsonco
Copy link

How's the Mac App Store submission coming along? I ask because I'd like to support you on this. Do you have a donation page?

@revmischa
Copy link
Collaborator

Sorry I've been busy with work. I'm happy to provide guidance to anyone who wants to hack on it.

@revmischa
Copy link
Collaborator

I truly do not know what iTunes' problem is, I've been investigating. I'm working on a SDL standalone version that reads audio input instead 83ca579

@Librebowski
Copy link

Librebowski commented Feb 10, 2018

Hope we can resolve this somehow, projectM is truly is an amazing visualizer. I have noticed iTunes removed the "run in 32bit mode" option and most visualizers don't work on iTunes anymore. Not sure if the issue is related but it might be worth a look

@revmischa
Copy link
Collaborator

That's interesting, I'm not sure if anything is 32-bit in the plugin

@revmischa revmischa changed the title Not Compatible with OS X 10.12.4 iTunes Plugin Not Compatible with OS X 10.12.4 Mar 18, 2018
@revmischa
Copy link
Collaborator

projectM is now running again inside of iTunes on osx 10.13. It looks ugly and not as fast as could be and not as great as could be, but it at least isn't crashing.
Needs more work but it's getting closer.

@revmischa
Copy link
Collaborator

ProjectM works now in most recent macOS/iTunes (in #26)

screen shot 2018-09-02 at 23 40 21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants