← Back to team overview

hugin-devs team mailing list archive

Re: [Bug 1318207] Re: segfault on exit if built against wxwidgets3.0

 

On 2014-05-16 tmodes <1318207@xxxxxxxxxxxxxxxxxx> wrote:
> Thanks for update. Could you please try if changeset 5e144ef0d7fb
> fixes the issue?
> (I have currently no Linux version of wxWidgets 3.0 running.)

Hello,

It fixes the crash with wx3.0, thank you. (I have tried tried
2014.0.0rc2 plus this changeset, which applies just with a little bit
of fuzz).

However it breaks building against wx2.8:
[ 54%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/treelistctrl.cpp.o
/tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/treelistctrl.cpp: In member function 'void wxTreeListMainWindow::OnChar(wxKeyEvent&)':
/tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/treelistctrl.cpp:3998:48: error: 'WXK_NONE' was not declared in this scope
             int key = event.GetUnicodeKey() != WXK_NONE ? event.GetUnicodeKey() : event.GetKeyCode();
                                                ^
/tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/treelistctrl.cpp:4003:36: error: 'wxUniChar' was not declared in this scope
                 m_findStr.Append ((wxUniChar)key);
                                    ^
src/hugin1/hugin/CMakeFiles/hugin.dir/build.make:1365: recipe for target 'src/hugin1/hugin/CMakeFiles/hugin.dir/treelistctrl.cpp.o' failed

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1318207

Title:
  segfault on exit if built against wxwidgets3.0

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  Hello,

  hugin 2014.0.0 rc2 segfaults when I exit the program if I build hugin
  against wxwidgets3.0 (instead of 2.8):

  ----------------
  Program received signal SIGSEGV, Segmentation fault.
  0xf698e517 in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-3.0.so.0
  (gdb) bt
  #0  0xf698e517 in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-3.0.so.0
  #1  0xf64b9343 in __cxa_finalize ()
     from /lib/i386-linux-gnu/i686/cmov/libc.so.6
  #2  0xf6913983 in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-3.0.so.0
  #3  0xf7febdcc in ?? () from /lib/ld-linux.so.2
  #4  0xf64b8fb1 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
  #5  0xf64b900d in exit () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
  #6  0xf649fa6b in __libc_start_main ()
     from /lib/i386-linux-gnu/i686/cmov/libc.so.6
  #7  0x080f5b10 in _start ()
  ----------------

  Olly Betts  got a diffferent bt in <https://bugs.debian.org/746528>:
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000000031 in ?? ()
  (gdb) bt
  #0  0x0000000000000031 in ?? ()
  #1  0x00007ffff41c121f in ?? ()
     from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
  #2  0x00007ffff29d4f2f in __cxa_finalize (d=0x7ffff4456fc0)
      at cxa_finalize.c:56
  #3  0x00007ffff4154723 in ?? ()
     from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
  #4  0x00007fffffffe210 in ?? ()
  #5  0x00007ffff7debf3a in _dl_fini () at dl-fini.c:252
  Backtrace stopped: frame did not save the PC

  cu Andreas

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1318207/+subscriptions


References