Subject: pkg/37553: math/octave-current crashed on current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Aleksej Saushev <asau@inbox.ru>
List: pkgsrc-bugs
Date: 12/16/2007 22:55:00
>Number:         37553
>Category:       pkg
>Synopsis:       math/octave-current crashes on current (segfault)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 22:55:00 +0000 2007
>Originator:     Aleksej Saushev <asau@inbox.ru>
>Release:        NetBSD 4.99.42
>Organization:
>Environment:
System: NetBSD asau.local 4.99.42 NetBSD 4.99.42 (KERN) #0: Fri Dec 14 23:17:21 MSK 2007 asau@asau.local:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:

Core was generated by `octave-2.9.19'.
Program terminated with signal 11, Segmentation fault.
#0  0xba1414d4 in std::string::find () from /usr/lib/libstdc++.so.6
(gdb) bt
#0  0xba1414d4 in std::string::find () from /usr/lib/libstdc++.so.6
#1  0xbaaac9ce in file_ops::is_dir_sep () from /usr/pkg/lib/liboctave.so.2
#2  0xbaab0215 in file_ops::concat () from /usr/pkg/lib/liboctave.so.2
#3  0xbb4af42b in __static_initialization_and_destruction_0 ()
   from /usr/pkg/lib/liboctinterp.so.2
#4  0xbba5196a in __do_global_ctors_aux () from /usr/pkg/lib/liboctinterp.so.2
#5  0xbb3341ad in _init () from /usr/pkg/lib/liboctinterp.so.2
#6  0xbbbf5549 in _rtld_call_init_functions () from /usr/libexec/ld.elf_so
#7  0xbbbebba0 in ?? ()
#8  0xbbbfeb80 in ?? () from /usr/libexec/ld.elf_so
#9  0xbbbff3e4 in _rtld_debug () from /usr/libexec/ld.elf_so
#10 0xbbbff2c8 in _rtld_objtail () from /usr/libexec/ld.elf_so
#11 0xbbbf59b8 in _rtld () from /usr/libexec/ld.elf_so
#12 0x00000000 in ?? ()

>How-To-Repeat:
	Build and install math/octave-current, try running it.
>Fix: