wx2.5 and wxproj.cpp segfault
Daniel Calvelo Aros
dcalvelo at minag.gob.pe
Tue Feb 8 05:49:03 CET 2005
Ooops. Forgot the attachment.
Daniel.
-- Daniel Calvelo Aros
---------- Original Message -----------
From: "Daniel Calvelo Aros" <dcalvelo at minag.gob.pe>
To: thuban-devel at intevation.de
Sent: Mon, 7 Feb 2005 23:46:14 -0500
Subject: wx2.5 and wxproj.cpp segfault
> Hi all.
>
> I'm trying to work out the segfaults I get in wxproj when trying to port
> thuban to wx2.5.
>
> The story so far:
>
> - the segfault arises when trying to access the C++ object obtained
> from the Python repr of the object
>
> - I isolated the problematic code in wxproj.cpp
>
> - according to gdb and valgrind, the address given by wxPython's
> repr of the wxDC is not an allocated or known address
>
> I have tried to build my own debugging version of wxPython to dig
> deeper, suspecting some weirdness in the unicode version I have
> (Debian unstable: wxPython-2.5.3.2pre), but I have had no success to
> date.
>
> So, linuxian thubaneers, can anybody with a wx2.5 installed try the following?
> I attached a small archive that mimics the problematic code in
> wxproj.cpp; if I run the build_and_run.sh three-liner, I get some
> output, with coherent addresses for all objects and a segfault when
> trying to access from C++ the wxDC created in Python. This is
> precisely what happens in wxproj.cpp.
>
> Can you reproduce the problem? If so, I reckon the problem is somewhere
> between SWIG and its use by wxPython, far beyond my current
> knowledge. Google is of no use, and the only remotely related bug I
> found happened (once) in aMule and went so far unresolved.
>
> Cheers,
>
> Daniel.
>
> -- Daniel Calvelo Aros
>
> _______________________________________________
> Thuban-devel mailing list
> Thuban-devel at intevation.de
> https://intevation.de/mailman/listinfo/thuban-devel
------- End of Original Message -------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wx_test.tgz
Type: application/x-gzip
Size: 1185 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050207/c027c155/wx_test.tgz
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)