← Back to team overview

hugin-devs team mailing list archive

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

 

Default branch still fails to build on Fedora 20.
Attempted to build 6621 (365250f51eec) and the build fails with the following error message...
/home/terry/rpmbuild/BUILD/hugin-2014.1.0/src/hugin1/hugin/PanoOperation.cpp:1207:16: error: 'class wxSpinCtrl' has no member named 'SetMax'
     stackSpin->SetMax(pano.getNrOfImages());
                ^
/home/terry/rpmbuild/BUILD/hugin-2014.1.0/src/hugin1/hugin/PanoOperation.cpp:1246:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(size_t i=0; i<stackSize && imgNr<pano.getNrOfImages(); i++)
                               ^
/home/terry/rpmbuild/BUILD/hugin-2014.1.0/src/hugin1/hugin/PanoOperation.cpp: In function 'void PanoOperation::_CleanPanoOperationVector(PanoOperation::PanoOperationVector&)':
/home/terry/rpmbuild/BUILD/hugin-2014.1.0/src/hugin1/hugin/PanoOperation.cpp:1342:21: warning: deleting object of abstract class type 'PanoOperation::PanoOperation' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
         delete vec[i];
                     ^
make[2]: *** [src/hugin1/hugin/CMakeFiles/hugin.dir/PanoOperation.cpp.o] Error 1

Cheers,
Terry

-- 
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:
  Fix Committed

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