Am Montag 27 September 2010 schrieb Yuval Levy: > 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: ... > > 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?
Will try, but I doubt. Disabling "smart undo" causes the error to disappear
too. Isn't it
nearly the same as going before the merge?
...
> > /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?
tempdir is set to "/tmp" according to preferences
The next differences may be:
1.) 64 bit
2.) 4 cores
...
> 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
>
I cannot help much either.
I commented out the "throw()", and now I get a message-window saying
Could not save project makefile .... But the project file was saved.
Maybe the file or folder is read-only.
(Error code: Bad Variable value: $(HDR_STATCK_0) $(HDR_STACK_1))
The makefile itself is was created (0 bytes) and writable.
Reverted the change now. But from now on it crashes on each save. Regardless of
setting
of smart undo :(
reverting to 419cd4ab9f7b
...
hg up -r 419cd4ab9f7b
...
make -j5 package
...
Problem is still there. But now I also received a mail from Thomas Modes. It
looks like a known problem already
bugtracker. I will now compile in debug mode, maybe this helps
Kornel
--
Kornel Benko
[email protected]
signature.asc
Description: This is a digitally signed message part.
