thanks for the stack-trace, Kornel. On September 27, 2010 02:01:20 am Kornel Benko wrote: > How to crash: > > 1.) start hugin > 2.) Verify "smart undo" is checked > 3.) load some project > 3.) click on "save project" ==> crash. Normally one should get a dialog for > the filename to save.
I can't reproduce it here. Load and save projects normally.
I am no gdb expert. That said, reading throught the lines of cryptic gdb
output I have an intuition:
> Program received signal SIGABRT, Aborted.
> 0x00007fffeefd5a75 in *__GI_raise (sig=<value optimised out>) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64
> ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in
> ../nptl/sysdeps/unix/sysv/linux/raise.c
> (gdb) bt
> #0 0x00007fffeefd5a75 in *__GI_raise (sig=<value optimised out>) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007fffeefd95c0 in
> *__GI_abort () at abort.c:92
> #2 0x00007fffef88b8e5 in __gnu_cxx::__verbose_terminate_handler() () from
> /usr/lib/libstdc++.so.6 #3 0x00007fffef889d16 in ?? () from
> /usr/lib/libstdc++.so.6
> #4 0x00007fffef888c09 in ?? () from /usr/lib/libstdc++.so.6
> #5 0x00007fffef8896b1 in __gxx_personality_v0 () from
> /usr/lib/libstdc++.so.6 #6 0x00007fffef3358a3 in ?? () from
> /lib/libgcc_s.so.1
> #7 0x00007fffef335bcd in _Unwind_RaiseException () from /lib/libgcc_s.so.1
> #8 0x00007fffef889e31 in __cxa_throw () from /usr/lib/libstdc++.so.6
> #9 0x00007fffefae8a90 in makefile::Makefile::remove (item=<value optimised
> out>) at
> /usr/src/hugin/hugin_hg/src/hugin_base/makefilelib/Makefile.cpp:64 #10
this is part of the newly merged code [0]. Can you reproduce the problem with
code from before the merge?
> 0x00007fffefae653c in ~MakefileItem (this=0x1b43400, name_=<value
> optimised out>, value_=<value optimised out>, quotemode_=<value optimised
> out>) at
> /usr/src/hugin/hugin_hg/src/hugin_base/makefilelib/MakefileItem.h:51 #11
> ~VariableRef (this=0x1b43400, name_=<value optimised out>, value_=<value
> optimised out>, quotemode_=<value optimised out>) at
> /usr/src/hugin/hugin_hg/src/hugin_base/makefilelib/VariableRef.h:53 #12
> Variable (this=0x1b43400, name_=<value optimised out>, value_=<value
> optimised out>, quotemode_=<value optimised out>) at
> /usr/src/hugin/hugin_hg/src/hugin_base/makefilelib/Variable.cpp:63 #13
> 0x00007ffff757c1a5 in HuginBase::PanoramaMakefilelibExport::createstacks
> (this=<value optimised out>, stackdata=<value optimised out>,
> stkname=<value optimised out>, filenamecenter=<value optimised out>,
> inputfilenamecenter=<value optimised out>, filenameext=<value optimised
> out>, stacks=..., stacks_shell=..., stacks_input=...,
> stacks_input_shell=..., vstac...@0x7fffffffbf18,
> vstacksshe...@0x7fffffffbf10, allfiles=...) at
> /usr/src/hugin/hugin_hg/src/hugin_base/algorithms/panorama_makefile/Panora
> maMakefilelibExport.cpp:1025 #14 0x00007ffff7583654 in
> HuginBase::PanoramaMakefilelibExport::createItems (this=<value optimised
> out>) at
> /usr/src/hugin/hugin_hg/src/hugin_base/algorithms/panorama_makefile/Panora
> maMakefilelibExport.cpp:450 #15 0x000000000048e6dd in
> HuginBase::PanoramaMakefilelibExport::createMakefile (this=0x98d3a0,
> e=<value optimised out>) at
> /usr/src/hugin/hugin_hg/src/hugin_base/algorithms/panorama_makefile/Panora
> maMakefilelibExport.h:166 #16 MainFrame::OnSaveProject (this=0x98d3a0,
> e=<value optimised out>) at
> /usr/src/hugin/hugin_hg/src/hugin1/hugin/MainFrame.cpp:594
line 594 of this file [1] is the call to the new makefilelib
HuginBase::PanoramaMakefilelibExport::createMakefile(pano,
pano.getActiveImages(),
ptoFn,
resultFn,
progs,
"",
outputFiles,
makefile,
tmpDir);
so what is different on your system than mine, that makes this command fail?
do you have some customized settings for the temporary files directory?
> #17 0x00007ffff28a8ff0 in
> wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
> wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
> #18 0x00007ffff28a9fc4 in wxEventHashTable::HandleEvent(wxEvent&,
> wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0 #19
> 0x00007ffff28aa0a7 in wxEvtHandler::ProcessEvent(wxEvent&) () from
> /usr/lib/libwx_baseu-2.8.so.0 #20 0x00007ffff248e169 in
> wxWindowBase::TryParent(wxEvent&) () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0 #21 0x00007ffff2485b35 in
> wxToolBarBase::OnLeftClick(int, bool) () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0 #22 0x00007ffff24052ee in ?? () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0 #23 0x00007fffeb3255de in
> g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #24
> 0x00007fffeb339598 in ?? () from /usr/lib/libgobject-2.0.so.0
> #25 0x00007fffeb33aa76 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0 #26 0x00007fffeb33b033 in g_signal_emit ()
> from /usr/lib/libgobject-2.0.so.0 #27 0x00007fffec8c24e5 in ?? () from
> /usr/lib/libgtk-x11-2.0.so.0
> #28 0x00007fffeb3255de in g_closure_invoke () from
> /usr/lib/libgobject-2.0.so.0 #29 0x00007fffeb338e61 in ?? () from
> /usr/lib/libgobject-2.0.so.0
> #30 0x00007fffeb33aa76 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0 #31 0x00007fffeb33b033 in g_signal_emit ()
> from /usr/lib/libgobject-2.0.so.0 #32 0x00007fffec8c11ed in ?? () from
> /usr/lib/libgtk-x11-2.0.so.0
> #33 0x00007fffec96e178 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #34 0x00007fffeb3255de in g_closure_invoke () from
> /usr/lib/libgobject-2.0.so.0 #35 0x00007fffeb3391dd in ?? () from
> /usr/lib/libgobject-2.0.so.0
> #36 0x00007fffeb33a8b9 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0 #37 0x00007fffeb33b033 in g_signal_emit ()
> from /usr/lib/libgobject-2.0.so.0 #38 0x00007fffeca850bf in ?? () from
> /usr/lib/libgtk-x11-2.0.so.0
> #39 0x00007fffec966643 in gtk_propagate_event () from
> /usr/lib/libgtk-x11-2.0.so.0 #40 0x00007fffec96771b in gtk_main_do_event
> () from /usr/lib/libgtk-x11-2.0.so.0 #41 0x00007fffec5db86c in ?? () from
> /usr/lib/libgdk-x11-2.0.so.0
> #42 0x00007fffeac6f8c2 in g_main_context_dispatch () from
> /lib/libglib-2.0.so.0 #43 0x00007fffeac73748 in ?? () from
> /lib/libglib-2.0.so.0
> #44 0x00007fffeac73c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
> #45 0x00007fffec967bb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> #46 0x00007ffff238b558 in wxEventLoop::Run() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0 #47 0x00007ffff24102eb in
> wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0 #48
> 0x00007ffff284f47c in wxEntry(int&, wchar_t**) () from
> /usr/lib/libwx_baseu-2.8.so.0 #49 0x0000000000474dd2 in main (argc=1,
> argv=0xec4) at /usr/src/hugin/hugin_hg/src/hugin1/hugin/huginApp.cpp:93
line 93 of this file [2] simply says
IMPLEMENT_APP(huginApp)
and much of the output in between look to me like stuff that Hugin links to.
So, unless my intution is completely wrong, and somebody can teach me how to
read such a backtrace:
a) no places in the code are mentioned that my changeset modified
b) the only pointer I see is to the new makefilelib, which would confirm [3]
as a pesky spurious bug (I swear, I saw it too, but then I was not able to
reproduce anymore).
of course I am no professional bug hunter, so all of this may be just the
result of those weird mushrooms I had for breakfast :)
Yuv
[0] http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/rev/419cd4ab9f7b
[1]
http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/file/default/src/hugin1/hugin/MainFrame.cpp
[2]
http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/file/default/src/hugin1/hugin/huginApp.cpp
[3]
http://sourceforge.net/tracker/?func=detail&aid=3072069&group_id=77506&atid=550441
signature.asc
Description: This is a digitally signed message part.
