[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Document Viewer plugin crash
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Document Viewer plugin crash |
Date: |
Sun, 23 Mar 2003 03:21:32 +0100 |
User-agent: |
Mutt/1.3.22.1i |
>>>>> the new document viewer plugin crashes on my machine the hard way, i.e.
>>>>> without even leaving a log message.
>>>> Are you getting _any_ log output at all ?
>>> That's all I get:
>>> ./startGnumed: line 4: 3110 Speicherzugriffsfehler python
>>> $GNUMED_DIR/wxpython/gnumed.py --debug >&gnumed.log
> I finally found the bug: have a look at gmShowMedDocs at the very end of
> plugin initialization in ReceiveFocus: seems that the tree in cDocTree
> wasn't initialized (thus None) and the next call to a wxPython internal
> method (SelectItem) tried to do something with this None-Object. Obviously
> this error was not caught by Python and materialized in some c++ function
> leading to a crash.
Thank you ! I have reviewed your fix and modified it somewhat.
Please recheck if I broke things again.
Also added a few more messages popping up if things go wrong.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346