[sage-devel] Re: LinBox crash on OpenSolaris with #4260

2011-11-22 Thread Volker Braun
There is a static object that segfaults in its destructor. Unfortunately 
the name of the instance is not included in the stack trace, but since it 
dies somewhere in iostream code I would guess that it has something to do 
with LinBox's Commentator.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: LinBox crash on OpenSolaris with #4260

2011-11-22 Thread William Stein
On Tue, Nov 22, 2011 at 9:47 AM, Volker Braun vbraun.n...@gmail.com wrote:
 There is a static object that segfaults in its destructor. Unfortunately the
 name of the instance is not included in the stack trace, but since it dies
 somewhere in iostream code I would guess that it has something to do with
 LinBox's Commentator.

The dreaded LinBox Commentator!

 -- Willia


 --
 To post to this group, send an email to sage-devel@googlegroups.com
 To unsubscribe from this group, send an email to
 sage-devel+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/sage-devel
 URL: http://www.sagemath.org




-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: LinBox crash on OpenSolaris with #4260

2011-11-22 Thread Martin Albrecht
On Tuesday 22 November 2011, Volker Braun wrote:
 There is a static object that segfaults in its destructor. Unfortunately
 the name of the instance is not included in the stack trace, but since it
 dies somewhere in iostream code I would guess that it has something to do
 with LinBox's Commentator.

You're right, compiled again with debugging symbols:

#0  0xfec9c7fb in _free_unlocked () from /lib/libc.so.1
#1  0xfec9c7af in free () from /lib/libc.so.1
#2  0xfdb61d01 in operator delete (ptr=0x1) at 
../../../../gcc-4.5.0/libstdc++-v3/libsupc++/del_op.cc:44

#3  0xfa1ca499 in 
__gnu_cxx::new_allocatorLinBox::Commentator::Activity**::deallocate 
(this=0x8046a9b, __p=0x1)
at /usr/local/gcc-4.5.0/lib/gcc/i386-pc-
solaris2.10/4.5.0/../../../../include/c++/4.5.0/ext/new_allocator.h:95

#4  0xfa1c8cd3 in std::_Deque_baseLinBox::Commentator::Activity*, 
std::allocatorLinBox::Commentator::Activity* ::_M_deallocate_map 
(this=0xf99cc730, __p=0x1, __n=0)
at /usr/local/gcc-4.5.0/lib/gcc/i386-pc-
solaris2.10/4.5.0/../../../../include/c++/4.5.0/bits/stl_deque.h:534

#5  0xfa1c794c in ~_Deque_base (this=0xf99cc730) at 
/usr/local/gcc-4.5.0/lib/gcc/i386-pc-
solaris2.10/4.5.0/../../../../include/c++/4.5.0/bits/stl_deque.h:553

#6  0xfa1c6bbe in ~deque (this=0xf99cc730) at 
/usr/local/gcc-4.5.0/lib/gcc/i386-pc-
solaris2.10/4.5.0/../../../../include/c++/4.5.0/bits/stl_deque.h:865

#7  0xfa1c68a9 in ~stack (this=0xf99cc730) at 
/usr/local/gcc-4.5.0/lib/gcc/i386-pc-
solaris2.10/4.5.0/../../../../include/c++/4.5.0/bits/stl_stack.h:93
#8  0xfa1c3aaf in ~Commentator (this=0xf99cc6a0) at commentator.C:111
#9  0xf97bd4bc in __static_initialization_and_destruction_0 (__initialize_p=0, 
__priority=65535) at ../../linbox/util/commentator.h:820
#10 0xf97bd506 in global destructors keyed to linbox_sage.C () at linbox-
sage.C:624

#11 0xf97b5f50 in __do_global_dtors_aux () from 
/export/home/martina/sage-4.8.alpha2/local/lib//liblinboxsage.so.0

#12 0xf9937075 in _fini () from 
/export/home/martina/sage-4.8.alpha2/local/lib//liblinboxsage.so.0

#13 0xfefd15fe in call_fini () from /usr/lib/ld.so.1

#14 0xfefd17b3 in atexit_fini () from /usr/lib/ld.so.1
#15 0xfec8370c in _exithandle () from /lib/libc.so.1
#16 0xfec73f52 in exit () from /lib/libc.so.1
#17 0xfeef3232 in Py_Exit (sts=0) at Python/pythonrun.c:1716
#18 0xfeef3357 in handle_system_exit () at Python/pythonrun.c:1116
#19 0x in ?? ()

Now I only need to fix it :(

Cheers,
Martin

--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://martinralbrecht.wordpress.com/
_jab: martinralbre...@jabber.ccc.de

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org