mailRe: [bug #21324] GUI error on mac OS X Maverics 10.9


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on December 04, 2013 - 08:47:
Hi,

It could be related to the first link.  These issues are difficult to
track down and find, as a GUI must naturally run multi-threaded and
multi-threaded debugging is a nightmare.  The problem is likely to be
fixed by wrapping a call to a wxPython method or function within a
wx.CallAfter() call.  Grep the sources to see how often we have used
this construct already.  This seems to only be triggered on your
system as I do not see it on Mac OS X 10.6, 10.7 and 10.8, Windows
2000, Vista and 7, or Linux (Mandriva 2008.1 32-bit, Mageia 1 64-bit,
Mageia 3 64-bit, SUSE 64-bit, etc.).  It may be related to wxPython
2.9.5.0.

This does not mean that it is not a bug in the relax GUI sources, just
that it has never been uncovered before.  One trick is to find a way
of reliably and quickly reproducing the error, maybe by running a
single GUI test, and then to use the print statements to find exactly
where the error occurred.  Then return statements or massive code
deletion can be used to exit a function early.  If the bug is gone
after that, you know the error was in the part that was deleted.  Then
this can be repeated until the bad function call can be found.  The
error could also be in the GUI test itself.  Here wx.Yield() calls are
often needed to prevent racing, as the test runs the GUI code much,
much faster than what a user sitting at a computer could ever do.

Regards,

Edward



On 3 December 2013 22:23, Troels E. Linnet
<NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:
URL:
  <http://gna.org/bugs/?21324>

                 Summary: GUI error on mac OS X Maverics 10.9
                 Project: relax
            Submitted by: tlinnet
            Submitted on: Tue 03 Dec 2013 09:23:31 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Repository: trunk
        Operating System: Mac OS X (Intel)

    _______________________________________________________

Details:

I have tried to use:
wxPython2.9-osx-2.9.5.0-cocoa-py2.7.dmg
and
brew install wxmac

to get the same GUI errors.

Log attached.

*** Terminating app due to uncaught exception 'NSRangeException', reason: 
'***
-[__NSArrayM objectAtIndex:]: index 18446744073709551615 beyond bounds for
empty array'

Could it be related to this post?
http://stackoverflow.com/questions/17246160/textctrl-providing-an-out-of-bound-exception-in-wxpython

http://stackoverflow.com/questions/13085683/xcode-terminating-app-due-to-uncaught-exception-nsrangeexception

http://stackoverflow.com/questions/4289894/terminating-app-due-to-uncaught-exception-nsrangeexception-reason

I will now try with:
wxPython2.9-osx-2.9.5.0-carbon-py2.7.dmg





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 03 Dec 2013 09:23:31 PM GMT  Name: gui_error.log  Size: 70kB   By:
tlinnet

<http://gna.org/bugs/download.php?file_id=19415>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21324>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel



Related Messages


Powered by MHonArc, Updated Thu Dec 12 11:40:08 2013