[bug #2850] (thuban) Selecting Projection... menu item crashes Thuban (segfault)

Request Tracker thuban-bugs at intevation.de
Thu Dec 16 16:07:58 CET 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2850
-------------------------------------------------------------------------

Subject: Selecting Projection... menu item crashes Thuban (segfault)

Operating System: other, FC2
Thuban version: CVS, 20041216
wxPython version: other, 2.4.2.4-0.fdr.3.2
Python version: other, 2.3.3
PySQLite version: other, 0.5.0-0.fdr.2
SQLite version: 2.8.6
GDAL version: other, 1.2.3
proj version: 4.4.8

If you fire up the CVS HEAD version of thuban, go to the Map menu, and select the Projection... menu entry, Thuban prints the following and crashes:

Could not read "/home/nelson/.thuban/user.proj": [Errno 2] No such file or directory: '/home/nelson/.thuban/user.proj'Segmentation fault

Clearly this is meant to be just a warning, looking at the code, however, later on something is needed which is missing, and which causes one of the libraries to segfault.  It actually gets as far as firing up the dialog box, but then crashes while trying to paint it.  Here's the last few lines of the gdb output.  It actually looks like it's a wxWindows but there may be a work-around for us.

#0  0x00b2da33 in strlen () from /lib/tls/libc.so.6
#1  0x00fea42d in wxWindowDC::DoGetTextExtent ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#2  0x00f6eed9 in wxListLineData::DrawTextFormatted ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#3  0x00f6ed08 in wxListLineData::DrawInReportMode ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#4  0x00f743cf in wxListMainWindow::OnPaint ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#5  0x0106ab07 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#6  0x0106a923 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#7  0x0102a825 in wxWindow::GtkSendPaintEvents ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#8  0x010243a1 in gtk_window_own_expose_callback ()
   from /usr/lib/libwx_gtk2-2.4.so.0
#9  0x008ebd64 in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0


-------------------------------------------- Managed by Request Tracker




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)