pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

2010Q2 graphics/hugin on i386/5.1RC3 anyone?



I was positively surprised to see a relatively recent
version of graphics/hugin available in 2010Q2. So I
installed this on my NetBSD 5.1_RC3 (netbsd-5 built
on Sep 4th). It built fine, but when I want to run it
it only coredumps. Is it working for anybody out there?

$ hugin
terminate called after throwing an instance of 
'boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>'
  what():  N5boost16exception_detail10clone_implINS0_10bad_alloc_EEE
Abort (core dumped) 

(gdb) bt
#0  0xba4ae477 in _lwp_kill () from /usr/lib/libc.so.12
#1  0xba4ae42e in raise () from /usr/lib/libc.so.12
#2  0xba4adcb4 in abort () from /usr/lib/libc.so.12
#3  0xba5c11de in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0xba5c5716 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.6
#5  0xba5c575a in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xba5c5666 in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0x08095a7d in boost::exception_detail::get_bad_alloc<42> ()
    at 
/pkg_comp/obj/pkgsrc/graphics/hugin/default/.buildlink/include/boost/exception/detail/exception_ptr.hpp:42
#8  0xbbacb646 in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=<value optimized out>)
    at 
/pkg_comp/obj/pkgsrc/graphics/hugin/default/.buildlink/include/boost/exception/detail/exception_ptr.hpp:94
#9  0xbbad8fc6 in __do_global_ctors_aux ()
   from /usr/pkg/lib/libhuginbase.so.0.0
#10 0xbb5b7dfd in _init ()
    at 
/pkg_comp/obj/pkgsrc/graphics/hugin/default/hugin-2010.0.0/src/hugin_base/nona/Stitcher.h:293
#11 0xbbbebff8 in _rtld_call_init_functions () from /usr/libexec/ld.elf_so
#12 0x00000000 in ?? ()

the ktrace looks funny from here on (not that I, of course, have python26 
installed):

  1727      1 hugin    CALL  open(0xbfbfe3d4,0,0xbfbfe320)
  1727      1 hugin    NAMI  "/usr/pkg/lib/python2.6/config/libz.so.1"
  1727      1 hugin    RET   open -1 errno 2 No such file or directory
  1727      1 hugin    CALL  open(0xbfbfe3d4,0,0xbfbfe320)
  1727      1 hugin    NAMI  "/usr/pkg/lib/python2.6/config/libintl.so.0"
  1727      1 hugin    RET   open -1 errno 2 No such file or directory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  open(0xbfbfe3d4,0,0xbfbfe320)
  1727      1 hugin    NAMI  "/usr/pkg/lib/python2.6/config/libm387.so.0"
  1727      1 hugin    RET   open -1 errno 2 No such file or directory
  1727      1 hugin    CALL  open(0xbfbfe3d4,0,0xbfbfe320)
  1727      1 hugin    NAMI  "/usr/pkg/lib/python2.6/config/libm.so.0"
  1727      1 hugin    RET   open -1 errno 2 No such file or directory
  1727      1 hugin    CALL  open(0xbfbfe3d4,0,0xbfbfe320)
  1727      1 hugin    NAMI  "/usr/pkg/lib/python2.6/config/libpthread.so.0"
  1727      1 hugin    RET   open -1 errno 2 No such file or directory
  1727      1 hugin    CALL  open(0xbfbfe3d4,0,0xbfbfe320)
  1727      1 hugin    NAMI  "/usr/pkg/lib/python2.6/config/libc.so.12"
  1727      1 hugin    RET   open -1 errno 2 No such file or directory

And then from here on things get strange (not lines marked with > ):

  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,1,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
>  1727      1 hugin    RET   __sysctl -1 errno 12 Cannot allocate memory
  1727      1 hugin    CALL  
__sysctl(0xbfbfe980,2,0xbb094000,0xbfbfe9b0,0xbfbfe9b4,0x60)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe980,2,0xbfbfea64,0xbfbfea60,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  mprotect(0xba77f000,0x53000,7)
  1727      1 hugin    RET   mprotect 0
  1727      1 hugin    CALL  mprotect(0xba77f000,0x53000,5)
  1727      1 hugin    RET   mprotect 0
  1727      1 hugin    CALL  __sysctl(0xbfbfea18,2,0xba4d1080,0xbfbfea20,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfea10,2,0xba4e0d70,0xbfbfea1c,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfea10,2,0xba4e0d74,0xbfbfea1c,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  _lwp_unpark_all(0,0,0)
  1727      1 hugin    RET   _lwp_unpark_all 1024/0x400
  1727      1 hugin    CALL  __sysctl(0xbfbfe92c,2,0xba4d14e0,0xbfbfe934,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  getrlimit(3,0xbfbfea00)
  1727      1 hugin    RET   getrlimit 0
  1727      1 hugin    CALL  mprotect(0xbf801000,0x1000,0)
  1727      1 hugin    RET   mprotect 0
  1727      1 hugin    CALL  _lwp_self
  1727      1 hugin    RET   _lwp_self 1
  1727      1 hugin    CALL  _lwp_ctl(1,0xbf800184)
  1727      1 hugin    RET   _lwp_ctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe9b8,2,0xbfbfe9c0,0xbfbfe9c4,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  __sysctl(0xbfbfe59c,2,0xba4ca694,0xbfbfe5a4,0,0)
  1727      1 hugin    RET   __sysctl 0
  1727      1 hugin    CALL  readlink(0xba4b4fd8,0xbfbfe5a9,0x400)
  1727      1 hugin    NAMI  "/etc/malloc.conf"
  1727      1 hugin    RET   readlink -1 errno 2 No such file or directory
  1727      1 hugin    CALL  break(0x8300000)
  1727      1 hugin    RET   break 0
  1727      1 hugin    CALL  mmap(0,0x100000,3,0x14001002,0xffffffff,0,0,0)
  1727      1 hugin    RET   mmap -1180696576/0xb9a00000
  1727      1 hugin    CALL  write(2,0xba5ca1a0,0x30)
  1727      1 hugin    GIO   fd 2 wrote 48 bytes
       "terminate called after throwing an instance of '"
  1727      1 hugin    RET   write 48/0x30
  1727      1 hugin    CALL  write(2,0xb9a04100,0x48)
  1727      1 hugin    GIO   fd 2 wrote 72 bytes
       "boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc\
        _>"
  1727      1 hugin    RET   write 72/0x48
  1727      1 hugin    CALL  write(2,0xba5ca18e,2)
  1727      1 hugin    GIO   fd 2 wrote 2 bytes
       "'\n"
  1727      1 hugin    RET   write 2
  1727      1 hugin    CALL  write(2,0xba5ca191,0xb)
  1727      1 hugin    GIO   fd 2 wrote 11 bytes
       "  what():  "
  1727      1 hugin    RET   write 11/0xb
  1727      1 hugin    CALL  write(2,0x81dcee0,0x39)
  1727      1 hugin    GIO   fd 2 wrote 57 bytes
       "N5boost16exception_detail10clone_implINS0_10bad_alloc_EEE"
  1727      1 hugin    RET   write 57/0x39
  1727      1 hugin    CALL  write(2,0xba4c1a33,1)
  1727      1 hugin    GIO   fd 2 wrote 1 bytes
       "\n"
  1727      1 hugin    RET   write 1
  1727      1 hugin    CALL  __sigprocmask14(3,0xbfbfe914,0)
  1727      1 hugin    RET   __sigprocmask14 0
  1727      1 hugin    CALL  _lwp_self
  1727      1 hugin    RET   _lwp_self 1
  1727      1 hugin    CALL  _lwp_kill(1,6)
  1727      1 hugin    RET   _lwp_kill 0
  1727      1 hugin    PSIG  SIGABRT SIG_DFL: code=-5 unimplemented)
  1727      1 hugin    NAMI  "hugin.core"

Well, I tried increasing the ulimits ... to 3 GB but it still won't
start:

$ ulim
 -l: 1017216 -> 3051648
 -n: 64 -> 3404
 -p: 512 -> 1024
 -s: 4096 -> 65536
$ ulimit -a
time(cpu-seconds)    unlimited
file(blocks)         unlimited
coredump(blocks)     unlimited
data(kbytes)         524288
stack(kbytes)        65536
lockedmem(kbytes)    3051648
memory(kbytes)       3051648
nofiles(descriptors) 3404
processes            1024
vmemory(kbytes)      unlimited
sbsize(bytes)        unlimited
$ hugin
terminate called after throwing an instance of 
'boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>'
  what():  N5boost16exception_detail10clone_implINS0_10bad_alloc_EEE
Abort (core dumped) 


So .. did anybody out there get this running? and if so, how?

TIA,

-Martin


Home | Main Index | Thread Index | Old Index