Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
mac + localconnection = вешается браузер
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Valentin Simonov  
View profile   Translate to Translated (View Original)
 More options Jun 1, 11:12 pm
From: Valentin Simonov <valy...@gmail.com>
Date: Tue, 2 Jun 2009 10:12:12 +0700
Local: Mon, Jun 1 2009 11:12 pm
Subject: mac + localconnection = вешается браузер
Hello,

Для тестирования я использую Alcon, который через localconnection
ловит специальные трейсы и показывает в удобном окошечке.

Но сегодня утром словил такую странную фигню -- при каком-то обращении
через localconnection мой уютный mac входит в странное состояние, в
котором любой другой localconnection в любом месте на любой странице
вешает нафиг любой браузер и даже standalone player. Лечится только
перезагрузкой(!) мака....

Потребовалось какое-то время, чтобы локализовать проблему. И это
делает именно какой-то вызов Debug.trace(), который в свою очередь
через localconnection общается с Alcon'ом. При чем не понятно какой,
т.к. проблема проявляется не сразу.

Что изменилось с ночи -- я добавил компонентик, который грузит
сторонний swf и содержимое которого я не знаю, без этого компонентика,
вроде бы проблем не наблюдается. А с ним либо сразу, либо через раз
тестирования.

При чем с этой загружаемой флэшкой работало раньше другое приложение
нормально. Вопрос уже даже не в том ломает ли все именно эта флэшка, а
в том, каким, блин, образом? Такое ощущение, что что-то как-то
забивает "общую трубу" локалконекшена так, что любая другая попытка
туда пролезть не дожидается результата и браузер целиком висит. Даже
это письмо я пишу из Simple HTML View, потому что, видать, флэшки для
заливания аттачей в нормальном View тоже используют localconnection и
все виснет.

Гугление нашло только одну страничку со следующим коментарием.

"I am running into the same problems you are describing. We are only
using 2 local connections on our pages and Local Connect will crash
Mac Firefox so bad you will have to restart your system just to be
able to use your browser again. Has anyone found, seen any fixes for
this?"
http://www.joshdura.com/2005/09/01/odd-localconnectionmac-bug/

Кто-нибудь с чем-нибудь подобным сталкивался?

~ Валентин.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Dembicki  
View profile   Translate to Translated (View Original)
 More options Jun 2, 5:02 am
From: Ivan Dembicki <ivan.dembi...@gmail.com>
Date: Tue, 2 Jun 2009 11:02:28 +0200
Local: Tues, Jun 2 2009 5:02 am
Subject: Re: [ruFlash] mac + localconnection = вешается браузер
Hello Valentin,

я совсем недавно писал вещатель через LC
и основной проблемой было то, что плеер
наказывал падением за ошибки.
Но у меня была проблема не в LC, а в SO
и проблема возникала при попытке создания
двух so в одном потоке.
Может это натолкнет на мысль.

--
iv
http://www.bezier.ru
http://bezier.googlecode.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vasiliy Vasilyev  
View profile   Translate to Translated (View Original)
 More options Jun 2, 7:46 am
From: Vasiliy Vasilyev <actionscript...@gmail.com>
Date: Tue, 2 Jun 2009 15:46:36 +0400
Local: Tues, Jun 2 2009 7:46 am
Subject: Re: [ruFlash] Re: mac + localconnection = вешается браузер
> двух so в одном потоке.

Уточни, плз. Во флеше байткод (пока) всегда выполняется в одном потоке
(имея ввиду threads).

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Dembicki  
View profile   Translate to Translated (View Original)
 More options Jun 2, 8:41 am
From: Ivan Dembicki <ivan.dembi...@gmail.com>
Date: Tue, 2 Jun 2009 14:41:22 +0200
Local: Tues, Jun 2 2009 8:41 am
Subject: Re: [ruFlash] Re: mac + localconnection = вешается браузер
Hello Vasiliy,

> Уточни, плз. Во флеше байткод (пока) всегда выполняется в одном потоке
> (имея ввиду threads).

- в данном случае речь не о threads, разумеется, а о коннектах swf-ки
к flash плееру. Там несинхронные потоки, которые запросто друг с
другом конфликтуют. Или не потоки, но конфликтуют.
Если тебе интересно о чем речь, могу дать класс LocalConnectionEventDispatcher
и сказать что сделать, чтобы ошибка вылезла.

--
iv
http://www.bezier.ru
http://bezier.googlecode.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Valentin Simonov  
View profile   Translate to Translated (View Original)
 More options Jun 2, 8:44 am
From: Valentin Simonov <valy...@gmail.com>
Date: Tue, 2 Jun 2009 19:44:34 +0700
Local: Tues, Jun 2 2009 8:44 am
Subject: Re: [ruFlash] Re: mac + localconnection = вешается браузер

 Потыкавшись пальцем в стену, я установил, что эта ошибка происходит только
когда флэшка пускается в дебаг моде из флекс билдер 3.
Ну оооочень странно.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andriy Oblivantsev  
View profile   Translate to Translated (View Original)
 More options Jun 2, 12:11 pm
From: Andriy Oblivantsev <viscreat...@gmail.com>
Date: Tue, 02 Jun 2009 18:11:05 +0200
Local: Tues, Jun 2 2009 12:11 pm
Subject: Re: [ruFlash] Re: mac + localconnection = вешается браузер
Может оффтоп, но модная фишка!
Eсли создать два LC с одинаковыми именами то происходит ошибка, которую
можно отловить (try ... except), при этом принудительно вызывается
сборщик мусора. Что полезно, к примеру, после выгрузки Loader'ом
модулей... Эдайкий хак GC %)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Dembicki  
View profile   Translate to Translated (View Original)
 More options Jun 2, 12:17 pm
From: Ivan Dembicki <ivan.dembi...@gmail.com>
Date: Tue, 2 Jun 2009 18:17:42 +0200
Local: Tues, Jun 2 2009 12:17 pm
Subject: Re: [ruFlash] Re: mac + localconnection = вешается браузер
Hello Andriy,

> Eсли создать два LC с одинаковыми именами то происходит ошибка, которую
> можно отловить (try ... except), при этом принудительно вызывается
> сборщик мусора. Что полезно, к примеру, после выгрузки Loader'ом
> модулей... Эдайкий хак GC %)

- да, но только в дебаг плеере, насколько мне известно.
Но это наталкивает на мысль в свете толго, что писал выше Валентин.

--
iv
http://www.bezier.ru
http://bezier.googlecode.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Valentin Simonov  
View profile   Translate to Translated (View Original)
 More options Jul 1, 5:05 pm
From: Valentin Simonov <valy...@gmail.com>
Date: Thu, 2 Jul 2009 04:05:57 +0700
Local: Wed, Jul 1 2009 5:05 pm
Subject: Re: [ruFlash] Re: mac + localconnection = вешается браузер

Займемся некропостингом. Но вдруг кому пригодится. Ребята ответили вот что.

This is a bug in the Adobe Debugger.  You can see more information about it
here (http://bugs.adobe.com/jira/browse/FP-1476) and here (
http://bugs.adobe.com/jira/browse/FB-17202).

Basically, we use LocalConnections to communicate between AS2 and AS3.  If
someone is debugging in Flex Debugger and exits the player in the middle of
the debug session, the debugger does not close the LocalConnections
properly.  After this, no more LocalConnections can be opened until the user
restarts their computer.

Никуда я не exits the player in the middle of, оно просто виснет. Но все
равно весело.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google