Por que o iTunes está iniciando e parando de jogar aleatoriamente, e como pará-lo?

4

Desde ontem de manhã, minha cópia do iTunes está começando e parando aleatoriamente. Se o iTunes não estiver rodando, então ele abre e às vezes começa a tocar, outras vezes fica ocioso. Eventualmente, depois de um intervalo aleatório, ele começará a tocar uma música e depois a parar, e assim por diante ... Não é preciso dizer que ela está me enlouquecendo.

(Mac OSX, 10.6.3, em um novo iMac (< 1 ano) 24 "

Eu fiz cinco alterações no meu sistema que podem ou não estar conectadas a isso:

  1. Meu telefone do escritório foi substituído por um Telefone IP da Linksys, o que exigiu uma alteração na minha rede; onde anteriormente meu Mac estava conectado diretamente à porta de rede do escritório, agora ele está conectado por meio do telefone.

  2. Minha conexão de rede agora usa a detecção automática de links em vez de forçar 100 Mbits

  3. Desempalei meu fone de ouvido bluetooth.

  4. Eu removi o dispositivo de áudio USB associado a outro fone de ouvido.

  5. Fiz o upgrade para o Safari 5. Não o uso como navegador principal, mas muitas vezes é aberto para executar aplicativos da web que estou desenvolvendo.

Todas essas coisas aconteceram muito próximas umas das outras, então um ou mais deles podem ser os culpados.

Uma outra coisa que pode ou não estar relacionada; Por algum motivo, meu microfone embutido não está mais captando áudio. Parece que isso pode estar ligado ao problema do iTunes, porque aconteceu mais ou menos na mesma época.

Em termos de coisas que eu tentei para resolver isso, estou em uma pequena perda. Segui as instruções no link para ativar o registro detalhado do launchd para ver se podia rastrear qual processo estava pedindo para o iTunes abrir (quando ainda não está aberto), mas não consegui fazer cara ou coroa na saída. Eu nem tenho certeza se estou olhando no lugar certo, para ser honesto; Na verdade, ele age como se algo estivesse ativando o aplicativo com o AppleScript, mas não tenho nenhum processo em execução que esteja fazendo isso, até onde eu sei.

Estou executando alguns aplicativos que possuem integração com o iTunes: Adium, iChat com Chax, Quicksilver. Nenhum destes foi modificado ultimamente, por isso considero-os baixos riscos de causar isso, mas não é impossível. Além disso, não estou usando nenhum desses recursos intencionalmente.

Este é um trecho de registro de depuração launchd da época em que foi lançado:

10-06-09 9:14:29 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:29 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x10002b230 data = 0x30 ident = 5 filter = EVFILT_READ flags = EV_ADD|EV_RECEIPT fflags = 0x0
10-06-09 9:14:29 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:29 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x100802000 data = 0x0 ident = 26 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_FORK
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.coreservicesd[26]) Dispatching kevent callback.
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.coreservicesd[26]) EVFILT_PROC event for job:
10-06-09 9:14:29 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x1004076f0 data = 0x0 ident = 26 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_FORK
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.coreservicesd[26]) fork()ed
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave) Conceived
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Created PID 22197 anonymously by PPID 26
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Looking up per user launchd for UID: 0
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Per user launchd job found for UID: 505
10-06-09 9:14:29 AM com.apple.launchd[1]    System: Looking up service com.apple.system.notification_center
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.notification_center
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Looking up per user launchd for UID: 0
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Per user launchd job found for UID: 505
10-06-09 9:14:29 AM com.apple.launchd[1]    System: Looking up service com.apple.system.DirectoryService.libinfo_v1
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.DirectoryService.libinfo_v1
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Looking up per user launchd for UID: 0
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Per user launchd job found for UID: 505
10-06-09 9:14:29 AM com.apple.launchd[1]    System: Looking up service com.apple.system.DirectoryService.membership_v1
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.DirectoryService.membership_v1
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Looking up per user launchd for UID: 0
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Per user launchd job found for UID: 505
10-06-09 9:14:29 AM com.apple.launchd[1]    System: Looking up service com.apple.CoreServices.coreservicesd
10-06-09 9:14:29 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.CoreServices.coreservicesd
10-06-09 9:14:29 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:29 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x100802000 data = 0x0 ident = 22197 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_EXIT
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Dispatching kevent callback.
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) EVFILT_PROC event for job:
10-06-09 9:14:29 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x100401720 data = 0x0 ident = 22197 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_EXIT
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22197]) Reaping
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave) Total rusage: utime 0.000000 stime 0.000000 maxrss 0 ixrss 0 idrss 0 isrss 0 minflt 0 majflt 0 nswap 0 inblock 0 oublock 0 msgsnd 0 msgrcv 0 nsignals 0 nvcsw 0 nivcsw 0
10-06-09 9:14:29 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave) Removed
10-06-09 9:14:30 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:30 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x100802000 data = 0x0 ident = 22197 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR|EV_EOF|EV_ONESHOT fflags = NOTE_REAP
10-06-09 9:14:32 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:32 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x10002b230 data = 0x30 ident = 5 filter = EVFILT_READ flags = EV_ADD|EV_RECEIPT fflags = 0x0
10-06-09 9:14:33 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:33 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x100802000 data = 0x0 ident = 143 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_FORK
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Dispatching kevent callback.
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) EVFILT_PROC event for job:
10-06-09 9:14:33 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x10041e9a0 data = 0x0 ident = 143 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_FORK
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) fork()ed
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.distributed_notifications.2
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.distributed_notifications.2
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.system.notification_center
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.notification_center
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.system.DirectoryService.libinfo_v1
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.DirectoryService.libinfo_v1
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.system.DirectoryService.membership_v1
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.DirectoryService.membership_v1
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.CoreServices.coreservicesd
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.CoreServices.coreservicesd
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.SystemConfiguration.configd
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.SystemConfiguration.configd
10-06-09 9:14:33 AM com.apple.launchd[1]    System: Looking up service com.apple.audio.coreaudiod
10-06-09 9:14:33 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.audio.coreaudiod
10-06-09 9:14:34 AM com.apple.launchd[1]    System: Looking up service com.apple.system.logger
10-06-09 9:14:34 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.logger
10-06-09 9:14:35 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:35 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x10002b230 data = 0x30 ident = 5 filter = EVFILT_READ flags = EV_ADD|EV_RECEIPT fflags = 0x0
10-06-09 9:14:35 AM com.apple.launchd[1]    System: Looking up service com.apple.DiskArbitration.diskarbitrationd
10-06-09 9:14:35 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.DiskArbitration.diskarbitrationd
10-06-09 9:14:35 AM com.apple.launchd[1]    System: Looking up service com.apple.system.logger
10-06-09 9:14:35 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.logger
10-06-09 9:14:36 AM com.apple.launchd[1]    System: Looking up service com.apple.FSEvents
10-06-09 9:14:36 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.FSEvents
10-06-09 9:14:36 AM com.apple.launchd[1]    System: Looking up service com.apple.SystemConfiguration.configd
10-06-09 9:14:36 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.SystemConfiguration.configd
10-06-09 9:14:38 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:38 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x10002b230 data = 0x30 ident = 5 filter = EVFILT_READ flags = EV_ADD|EV_RECEIPT fflags = 0x0
10-06-09 9:14:39 AM com.apple.launchd[1]    Dispatching kevent...
10-06-09 9:14:39 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x100802000 data = 0x0 ident = 26 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_FORK
10-06-09 9:14:39 AM com.apple.launchd[1]    (com.apple.coreservicesd[26]) Dispatching kevent callback.
10-06-09 9:14:39 AM com.apple.launchd[1]    (com.apple.coreservicesd[26]) EVFILT_PROC event for job:
10-06-09 9:14:39 AM com.apple.launchd[1]    KEVENT[0]: udata = 0x1004076f0 data = 0x0 ident = 26 filter = EVFILT_PROC flags = EV_ADD|EV_RECEIPT|EV_CLEAR fflags = NOTE_FORK
10-06-09 9:14:39 AM com.apple.launchd[1]    (com.apple.coreservicesd[26]) fork()ed
10-06-09 9:14:39 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave) Conceived
10-06-09 9:14:39 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22211]) Created PID 22211 anonymously by PPID 26
10-06-09 9:14:39 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22211]) Looking up per user launchd for UID: 0
10-06-09 9:14:39 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22211]) Per user launchd job found for UID: 505
10-06-09 9:14:39 AM com.apple.launchd[1]    System: Looking up service com.apple.system.notification_center
10-06-09 9:14:39 AM com.apple.launchd[1]    (com.apple.launchd.peruser.505[143]) Mach service lookup: com.apple.system.notification_center
10-06-09 9:14:39 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22211]) Looking up per user launchd for UID: 0
10-06-09 9:14:39 AM com.apple.launchd[1]    (0x100401720.anonymous.lssave[22211]) Per user launchd job found for UID: 505
10-06-09 9:14:39 AM com.apple.launchd[1]    System: Looking up service com.apple.system.DirectoryService.libinfo_v1
    
por Chris R 09.06.2010 / 17:20

1 resposta

7

Acho que encontrei o problema:

Quando eu desliguei a conexão de rede, parece que eu soltei o fone de ouvido ou o cabo do microfone no alto-falante externo. Isso resulta no OSX detectando a desconexão e a reconexão dos dispositivos de áudio e (por algum motivo) fazendo com que o iTunes inicie e pare a reprodução - independentemente de o iTunes estar sendo executado em primeiro lugar.

Assim, em resumo, caso isso aconteça, verifique suas conexões de microfone e alto-falante.

    
por 09.06.2010 / 18:47