{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ_DATA"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":230719170,"authorName":"Henry Pijffers","from":"Henry Pijffers &lt;henry.pijffers@gmail.com&gt;","profile":"henry_pijffers","replyTo":"LIST","senderId":"lV8D97K5uaGI97_6j9zswo-h-WEQN7SUXt3_15p-aXzxoQIv-t2PXBq3UXSIaQYA0GS-krS7b1EclYIwG_6bS2fP1tTy2q3RJXSCdDpSUEs","spamInfo":{"isSpam":false,"reason":"0"},"subject":"Re: [OmT] Re: OmT-1.6.1_1: random crash on Enter to new segment","postDate":"1165144146","msgId":7012,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDQ1NzJCMDUyLjIwODA4MDlAZ21haWwuY29tPg==","inReplyToHeader":"PEFPRUhLQ0tPSU9HUEdDTkxERUtCQ0VKSkREQUEuZC5icmllbEBmcmVlLmZyPg==","referencesHeader":"PEFPRUhLQ0tPSU9HUEdDTkxERUtCQ0VKSkREQUEuZC5icmllbEBmcmVlLmZyPg=="},"prevInTopic":7011,"nextInTopic":7017,"prevInTime":7011,"nextInTime":7013,"topicId":7006,"numMessagesInTopic":8,"msgSnippet":"... Nothing in a computer happens truly at random. Even though something may seem random, there is always a good reason for it. In this case, I believe it s","rawEmail":"Return-Path: &lt;henry.pijffers@gmail.com&gt;\r\nX-Sender: henry.pijffers@gmail.com\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nReceived: (qmail 86084 invoked from network); 3 Dec 2006 11:12:32 -0000\r\nReceived: from unknown (66.218.66.167)\n  by m30.grp.scd.yahoo.com with QMQP; 3 Dec 2006 11:12:32 -0000\r\nReceived: from unknown (HELO mail2.key-systems.net) (81.3.43.247)\n  by mta6.grp.scd.yahoo.com with SMTP; 3 Dec 2006 11:12:31 -0000\r\nReceived: (qmail 26496 invoked from network); 3 Dec 2006 11:09:06 -0000\r\nReceived: from h82151166169.dsl.speedlinq.nl (HELO [10.0.0.2]) (82.151.166.169)\n    by mail2.key-systems.net (qpsmtpd/0.31.1) with ESMTP; Sun, 03 Dec 2006 11:09:06 +0000\r\nMessage-ID: &lt;4572B052.2080809@gmail.com&gt;\r\nDate: Sun, 03 Dec 2006 12:09:06 +0100\r\nUser-Agent: Thunderbird 1.5.0.8 (X11/20061117)\r\nMIME-Version: 1.0\r\nTo: OmegaT@yahoogroups.com\r\nReferences: &lt;AOEHKCKOIOGPGCNLDEKBCEJJDDAA.d.briel@free.fr&gt;\r\nIn-Reply-To: &lt;AOEHKCKOIOGPGCNLDEKBCEJJDDAA.d.briel@free.fr&gt;\r\nContent-Type: text/plain; charset=ISO-8859-1\r\nContent-Transfer-Encoding: 7bit\r\nX-Originating-IP: 81.3.43.247\r\nX-eGroups-Msg-Info: 1:0:0:0\r\nFrom: Henry Pijffers &lt;henry.pijffers@gmail.com&gt;\r\nSubject: Re: [OmT] Re: OmT-1.6.1_1: random crash on Enter to new segment\r\nX-Yahoo-Group-Post: member; u=230719170; y=-tovVdDfyA6mGdLkShesBICarKzD8kYd7omfuG2D4XLp2WhzrVXBPZw\r\nX-Yahoo-Profile: henry_pijffers\r\n\r\nDidier Briel wrote:\n&gt;\n&gt; What we have so far:\n&gt; \n&gt; It always happens when changing segment (not necessarily with Enter. It can\n&gt; be with Ctrl+U, for instance).\n&gt; It always happens on &quot;large&quot; projects.\n&gt; It seems to happen randomly.\n&gt; \nNothing in a computer happens truly at random. Even though something\nmay seem random, there is always a good reason for it.\n\nIn this case, I believe it&#39;s threads interfering with eachother,\nbecause sections of code that should be executed as blocks (in one\ngo, what Java programmers call synchronised) are actually being\nexecuted interleaved/unsynchronised (first a bit of this, then a bit\nof that, then a bit of this again, and oh, let&#39;s do some of that).\n\nThis happens, for example, when you&#39;re changing segments, and at the\nsame time the project finishes loading. When the project finishes\nloading, the active segment is committed and instantly reactivated.\nBut when changing segments, the active segment is also committed,\nand another is activated. You don&#39;t have to be a programmer to see\nhow this could go wrong if this isn&#39;t executed in the correct order.\n\nI&#39;ve tried to solve that by making as many as possible methods in\nthe core and the main window code synchronised, so the threads can&#39;t\ninterfere with eachother. Things like this should no longer happen\nwith the next release.\n\nHenry\n\n"}}