[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Re: Segmentation Errors
From:       Stefan Bund <l-pykde.z.xalan () xoxy ! net>
Date:       2004-02-19 7:15:19
Message-ID: 87u11nzgjc.fsf () xoxy ! net
[Download RAW message or body]

Jacob Abraham <jakieabraham@yahoo.com> writes:
> Dear Tutors,
>     While building an application with python and pyqt
> I keep coming across Segmentation errors. Is it a

I can't know for sure, but I had the same problem. I used valgrind
(<http://valgrind.kde.org>) to find out more.

The Problem in my case was, that some intermediary object in a more
complex statement was garbage collected to early. After assigning the
intermediary result to a temporary variable to prolong it's lifetime,
the SEGV ceased.

I can warmly recommend valgrind, it's a *great* tool to find memory
related problems.

Hope this helps,

Stefan.

-- 
-- *DON'T* TRY TO REACH ME DIRECTLY AT ABOVE EMAIL ADDRESS. Any reply
-- received off-list at that address will be *silently* and
-- *unconditionally* dropped. You can attribute this inconvenience to
-- the proliferation of spammers on the Internet. I hope, you can
-- understand my position and accept my counter measures.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic