IOXperts Video 1.1.2a38 posted
Steve Sisak
steve.sisak at ioxperts.com
Sat Nov 3 09:54:02 EDT 2007
(I'm cc'in the list as this may be of general use)
At 11:02 AM +0100 11/3/07, Francesco Rolando wrote:
>Il giorno 02/nov/07, alle ore 19:58, Steve Sisak ha scritto:
>>Is it always working or only most of the time?
>>I'm hoping for all the time, or I need to do more research into
>>what's happening.
>
>Now, It's _always_ working.
>
>I only have to wait a moment before run iChat after login.
>If I have iChat on auto-run list of my login, and only one time it
>does not dectect my webcam but I simply restart iChat and it's work
>correctly.
>(probably I run iChat before ioxpert daemons are active)
>
>It's ok.
Given that you're running iChat as a Login Item, this starts to make
sense as ioxsessiond is a global login item, it's quite possible that
iChat is running before ioxsessiond and that is the cause of the
problem in this setup. (I hadn't thought of this case, but it makes
sense)
I'd very much like to know if anyone sees _any_ failures at all that
aren't related to applications that are run at login.
Just so the programmers on the list understand what's going on,
here's what our daemons are doing:
ioxdeviced is a lanchd daemon (StartupItem pre-Tiger) which is
priviledged and handles saving/restoring device preferences and
device arbitration -- as a result of being a daemon (so is is shared
between all user), it can't do user interface or send/receive
AppleEvents.
ioxsessiond is a global startup item (could be a launchd user agent
in Leopard) which runs in each user's session, where it can do UI
(launch the registration app, etc) and send/receive AppleEvents,
which it decodes forwards over a private socket to ioxdeviced.
ioxsessiond should be a lanchd user agent which would be launched on
demand, except that user agents are broken in Tiger (but fixed in
Leopard) -- the issue, IIRC, is that they are tracked by UID rather
than login session, so that if you were to ssh into your machine then
log in locally, the agents would end up tied to your ssh session and
bad things happen because it doesn't have a grapic context.
I could probably fix the problem you report on Leopard by making
ioxsessiond a UserAgent -- but let's see if there are any other
problem reports. I might delay to a minor update if it's not too much
trouble for you.
(I'd very much like to get a release out)
>>>On my G5 it's still not working and finder stop working on login ...
>>
>>That shouldn't happen at all -- my best guess would be that the
>>component might be crashing somehow. Is there a chance you can
>>install the logging version of the driver and send me (off list)
>>the contents of /Library/Logs/IOXperts/ and any crash logs from
>>/Library/Logs/CrashReporter/?
>
>I attach my G5 logs.
Based on the crash logs, it looks like a DivX component is crashing
in ifcstart (do "man ifcstart" in a terminal to see that this
rebuilds international caches).
Given that TSMGetInputSourceCount is on the stack -- I'd suspect an
InputManager hack like APE (Unsanity Application Enhancer). See these
articles:
<http://docs.info.apple.com/article.html?artnum=306857>
<http://www.unsanity.org/archives/haxies/leopard.php>
If you have APE on that system, try removing it following the
instructions in the Apple article.
Otherwise, try removing the DivX component, using the same procedure
and see if there's an update. Awhile back I discovered our components
were getting launched from a non-GUI context and crashing accessing
QuickTime (maybe 10.4.8) and added a check on our registration
request code to prevent loading in that context, perhaps the DivX
component needs the same fix.
I copied the relevant stack trace below.
Hope this helps,
-Steve
--------------------------------
Here's the stack crawl from the crash:
Thread 0 Crashed:
0 <<00000000>> 0xfffeff18 objc_msgSend_rtp + 24
1 com.apple.CoreFoundation 0x907c5ed0 CFEqual + 240
2 com.apple.CoreFoundation 0x907cfba0
__CFDictionaryFindBuckets1b + 272
3 com.apple.CoreFoundation 0x907cfa60 CFDictionaryGetValue + 212
4 com.apple.CoreFoundation 0x907e5bcc
_CFStandardApplicationPreferences + 132
5 com.apple.CoreFoundation 0x907e5b18
CFPreferencesCopyAppValue + 28
6 com.DivXInc.DivXDecoder 0x00630b60
DivXImageCodecComponentDispatch + 296
7 com.DivXInc.DivXDecoder 0x00630150 dyld_stub_memmove + 6129200
8 ...ple.CoreServices.CarbonCore 0x90bde04c
CallComponentFunctionCommon + 1044
9 ...ple.CoreServices.CarbonCore 0x90bddbd4 CallComponent + 260
10 ...ple.CoreServices.CarbonCore 0x90bddaac CallComponentOpen + 40
11 ...ple.CoreServices.CarbonCore 0x90bdcd28 OpenAComponent + 520
12 ...ple.CoreServices.CarbonCore 0x90be8900 OpenComponent + 20
13 ...ple.CoreServices.CarbonCore 0x90bddbf4 CallComponent + 292
14 ...ple.CoreServices.CarbonCore 0x90be8938 CallComponentRegister + 36
15 ...ple.CoreServices.CarbonCore 0x90c16904
kissComponent(ComponentRecord*) + 140
16 ...ple.CoreServices.CarbonCore 0x90bcf400 processSerialKissers + 212
17 ...ple.CoreServices.CarbonCore 0x90bcb5b0
registerSystemComponents + 220
18 ...ple.CoreServices.CarbonCore 0x90bcb1e8
FindNextComponentInternal(ComponentRecord*, ComponentDescription*) +
112
19 ...ple.CoreServices.CarbonCore 0x90bcb150 FindNextComponent + 56
20 com.apple.HIToolbox 0x9331b6b0
BuildAllTextServiceCollections + 208
21 com.apple.HIToolbox 0x9331b550 GetGlobalCollection + 36
22 com.apple.HIToolbox 0x9331b500
GetGlobalCollectionOfClass + 24
23 com.apple.HIToolbox 0x9331b484
GetInputMethodListOfClass + 80
24 com.apple.HIToolbox 0x9331b3fc
GetTSMSelectedInputMethodsCount + 84
25 com.apple.HIToolbox 0x93319c20
BuildTempInputMenuItemsInfo + 160
26 com.apple.HIToolbox 0x93320eb0
ReadAllEnabledKeyboardLayoutsIntoInputSourceArray + 76
27 com.apple.HIToolbox 0x93320e14
CreateCompatibilityEnabledInputSourcesArray + 88
28 com.apple.HIToolbox 0x93320c64
CreateCompatibilityEnabledInputSources + 24
29 com.apple.HIToolbox 0x93320b38
GetInputSourceEnabledPrefs + 384
30 com.apple.HIToolbox 0x933205f8
isPrefsCreateCacheFromEnabledInputSources + 28
31 com.apple.HIToolbox 0x933202a4
CreateOrGrowInputSourceList + 120
32 com.apple.HIToolbox 0x933201d8 islGetInputSourceList + 132
33 com.apple.HIToolbox 0x93320124 TSMGetInputSourceCount + 44
34 ifcstart 0x00002d0c 0x1000 + 7436
35 ifcstart 0x00002550 0x1000 + 5456
36 ifcstart 0x000023f4 0x1000 + 5108
--
_________________________________________________________________________
Steve Sisak, CTO steve.sisak at ioxperts.com
IOXperts, Inc. voice: +1 617 876-2572
87 Bristol St #3A fax: +1 617 876-2337
Cambridge, MA 02139 mobile: +1 617 388-6476
More information about the Video-Beta-Discuss
mailing list