[ptx] hugin and gtk2

Bruno Postle bruno at postle.net
Sun Nov 16 11:00:46 GMT 2003


On Sun 16-Nov-2003 at 02:47:54 +0100, Pablo d'Angelo wrote:
> On Sat, 15 Nov 2003, Bruno Postle wrote:
> 
> > The images with borders are drawn in the preview, but then
> > immediately it crashes (it's ok so long as there are no images
> > loaded):
> 
> hmm. strange. no time to compile wxgtk for gtk2 on my system...
> can you send me a backtrace?

This is the output if I load an image, then launch the preview (It's
identical if I launch the preview then load an image):

...
TRACE 10:36:15.945557 (MainFrame.cpp:622) OnTogglePreviewFrame():
TRACE 10:36:15.946651 (PreviewPanel.cpp:323) OnResize():
TRACE 10:36:16.070624 (PreviewPanel.cpp:244) DrawPreview():
DEBUG 10:36:16.071074 (PreviewPanel.cpp:286) DrawPreview(): drawing image 0
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1085109888 (LWP 2197)]
0x00763153 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0  0x00763153 in strlen () from /lib/tls/libc.so.6
#1  0x0034900d in wxWindowDC::DoGetTextExtent(wxString const&, int*, int*, int*, int*, wxFont*) const () from /usr/lib/libwx_gtk2-2.4.so.0
#2  0x003ac616 in wxDCBase::GetTextExtent(wxString const&, long*, long*, long*, long*, wxFont*) const () from /usr/lib/libwx_gtk2-2.4.so.0
#3  0x00313740 in wxStatusBar::DrawFieldText(wxDC&, int) () from /usr/lib/libwx_gtk2-2.4.so.0
#4  0x0031396e in wxStatusBar::DrawField(wxDC&, int) () from /usr/lib/libwx_gtk2-2.4.so.0
#5  0x0031356b in wxStatusBar::OnPaint(wxPaintEvent&) () from /usr/lib/libwx_gtk2-2.4.so.0
#6  0x003c8d37 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk2-2.4.so.0
#7  0x003c8b53 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk2-2.4.so.0
#8  0x00389055 in wxWindow::GtkSendPaintEvents() () from /usr/lib/libwx_gtk2-2.4.so.0
#9  0x00382be1 in gtk_window_expose_callback(_GtkWidget*, _GdkEventExpose*, wxWindow*) () from /usr/lib/libwx_gtk2-2.4.so.0
#10 0x00a5a0f4 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00dcacb0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x00ddcbbf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#13 0x00ddba0d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
(gdb)

-- 
Bruno


More information about the ptX mailing list