Hi Christian,
I'm seeing some pretty serious hangs when using PictureMBS.ScaleMT - the hang
appears to be caused by one of the subthreads getting stuck in a semaphore wait
condition. Consequences are that the app can not quit or be killed without
great effort.
I've not isolated the cause of the bug, but I have some theories:
* out of memory when using very large pictures and passing nil as the temporary
picture?
* calling scaleMT when an existing scaleMT operation is already in progress?
If I can identify it, I'll report it directly, but for the moment I'm a bit
afraid to use ScaleMT since the hang is so disruptive...
Here's an example where I sampled the app while hung:
Thread 35fc11
User stack:
1 thread_start + 34 (in libSystem.B.dylib) [0x974c30de]
1 _pthread_start + 345 (in libSystem.B.dylib) [0x974c3259]
1 CooperativeThread + 309 (in CarbonCore) [0x96d29847]
1 threadRun + 600 (in rbframework.dylib) [0x12b3e0e]
1 cStage.Event_Run%%o<cStage> + 1971 (in iScreensaver Designer
5.debug) [0x999a5b]
1
cStage.TransitionThread%%o<cStage>o<SequenceItem>o<SequenceItem> + 14061 (in
iScreensaver Designer 5.debug) [0x9abd76]
1 SeqMedia.GetTexture%o<GLTex>%o<SeqMedia>bbo<GLEffectCanvas> +
3740 (in iScreensaver Designer 5.debug) [0xcbc628]
1
SeqMedia.GetTexture_Run%o<GLTex>%o<SeqMedia>bo<GLEffectCanvas> + 2181 (in
iScreensaver Designer 5.debug) [0xcb8c45]
1 GLTex.MakeFromPicture%%o<GLTex>o<Picture>bc + 4841 (in
iScreensaver Designer 5.debug) [0xaf78ee]
1
Utils.StretchPictureToMemoryBlockYielding%o<MemoryBlock>%o<Picture>i4<Utils.eStretch>i4i4b&i4&i4
+ 17199 (in iScreensaver Designer 5.debug) [0xba21b2]
1
PictureMBS.ScaleMT%b%o<PictureMBS>i4o<PictureMBS>o<PictureMBS>i4i4i4 + 160 (in
iScreensaver Designer 5.debug) [0x3711e2]
1 ??? (in MBS Real Studio LargePicture
Plugin.rbx_0.dylib + 59437) [0x263682d]
1 ??? (in MBS Real Studio LargePicture
Plugin.rbx_0.dylib + 899215) [0x270388f]
1 ??? (in MBS Real Studio LargePicture
Plugin.rbx_0.dylib + 1214441) [0x27507e9]
1 semaphore_wait_signal_trap + 10 (in
libSystem.B.dylib) [0x97495b42]
Kernel stack:
1 semaphore_wait_continue + 0 [0x22a88f]
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info