Looks like a graphics driver bug to me. Not that I have seen any recently.
Maybe time to ditch unity? ;)
Johan
On 12/04/2012 11:14 AM, Martin Sandve Alnæs wrote:
> Public bug reported:
>
> Has anyone else seen this when plotting? Latest ubuntu, latest dolfin,
> vtk and qt from ubuntu apt, free ati drivers from ubuntu apt
> (proprietary ati drivers currently doesn't work with unity in ubuntu...)
>
> Full stacktrace from gdb below, this is the last place in dolfin:
>
> #40 dolfin::VTKWindowOutputStage::~VTKWindowOutputStage (this=0x2b2d7a0, __in_chrg=<optimized out>)
> at /home/martinal/dev/fenics/dolfin/work/dolfin/plot/VTKWindowOutputStage.cpp:225
>
>
> VTKWindowOutputStage::~VTKWindowOutputStage()
> {
> // Note: VTK (current 5.6.1) seems to very picky about the order of
> // destruction. This destructor tries to impose an order on the most
> // important stuff.
>
> //log(DBG, "VTK pipeline destroyed");
>
> #ifdef HAS_QVTK
> widget.reset(NULL); // Line 225
> #endif
>
> helptextActor = NULL;
> balloonRep = NULL;
> balloonwidget = NULL;
>
> _renderer = NULL;
> _renderWindow = NULL;
> }
>
>
> --- Stacktrace from gdb:
>
> pure virtual method called
> terminate called without an active exception
>
> Program received signal SIGABRT, Aborted.
> 0x00007ffff6f1a425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> (gdb) where
> #0 0x00007ffff6f1a425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #1 0x00007ffff6f1db8b in __GI_abort () at abort.c:91
> #2 0x00007ffff18bbe2d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> #3 0x00007ffff18b9f26 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> #4 0x00007ffff18b9f53 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> #5 0x00007ffff18baa6f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> #6 0x00007fffc0e7249e in llvm::BumpPtrAllocator::DeallocateSlabs(llvm::MemSlab*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #7 0x00007fffc06922ea in llvm::MemoryDependenceAnalysis::~MemoryDependenceAnalysis() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #8 0x00007fffc06924c9 in llvm::MemoryDependenceAnalysis::~MemoryDependenceAnalysis() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #9 0x00007fffc09d37a6 in llvm::PMDataManager::~PMDataManager() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #10 0x00007fffc09d8fc5 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #11 0x00007fffc09d00ce in llvm::PMTopLevelManager::~PMTopLevelManager() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #12 0x00007fffc09d9096 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #13 0x00007fffc09cfe71 in llvm::FunctionPassManager::~FunctionPassManager() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #14 0x00007fffc09cfec9 in llvm::FunctionPassManager::~FunctionPassManager() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1
> #15 0x00007fffc1c21035 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #16 0x00007fffc1c213b9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #17 0x00007fffc1c0418f in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #18 0x00007fffc1c045ac in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #19 0x00007fffc1a97ef0 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #20 0x00007fffc1a98d7a in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #21 0x00007fffc1b5df05 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #22 0x00007fffc1a9f73e in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #23 0x00007fffc1aa09b1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #24 0x00007fffc1aa0a5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #25 0x00007fffc1a9f8bb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #26 0x00007fffc19f87da in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #27 0x00007fffc1a95e22 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #28 0x00007fffc19e19ea in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #29 0x00007fffc19af903 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
> #30 0x00007fffe0140dbc in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
> #31 0x00007fffe011a0fb in glXMakeCurrentReadSGI () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
> #32 0x00007fffe8734a22 in vtkXOpenGLRenderWindow::MakeCurrent() () from /usr/lib/libvtkRendering.so.5.8
> #33 0x00007fffe8734ce6 in vtkXOpenGLRenderWindow::DestroyWindow() () from /usr/lib/libvtkRendering.so.5.8
> #34 0x00007fffe78e9175 in QVTKWidget::SetRenderWindow(vtkRenderWindow*) () from /usr/lib/libQVTK.so.5.8
> #35 0x00007fffe78e9228 in QVTKWidget::~QVTKWidget() () from /usr/lib/libQVTK.so.5.8
> #36 0x00007fffe78e9289 in QVTKWidget::~QVTKWidget() () from /usr/lib/libQVTK.so.5.8
> #37 0x00007ffff0d63660 in checked_delete<QVTKWidget> (x=<optimized out>) at /usr/include/boost/checked_delete.hpp:34
> #38 ~scoped_ptr (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/scoped_ptr.hpp:80
> #39 reset (p=0x0, this=0x2b2d800) at /usr/include/boost/smart_ptr/scoped_ptr.hpp:86
> #40 dolfin::VTKWindowOutputStage::~VTKWindowOutputStage (this=0x2b2d7a0, __in_chrg=<optimized out>)
> at /home/martinal/dev/fenics/dolfin/work/dolfin/plot/VTKWindowOutputStage.cpp:225
> #41 0x00007ffff0d6fc70 in checked_delete<dolfin::VTKWindowOutputStage> (x=0x2b2d7a0) at /usr/include/boost/checked_delete.hpp:34
> #42 ~scoped_ptr (this=0x30e62c0, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/scoped_ptr.hpp:80
> #43 dolfin::VTKPlotter::~VTKPlotter (this=0x30e6220, __in_chrg=<optimized out>)
> at /home/martinal/dev/fenics/dolfin/work/dolfin/plot/VTKPlotter.cpp:145
> #44 0x00007ffff0d6fd69 in dolfin::VTKPlotter::~VTKPlotter (this=0x30e6220, __in_chrg=<optimized out>)
> at /home/martinal/dev/fenics/dolfin/work/dolfin/plot/VTKPlotter.cpp:148
> #45 0x00007ffff0d5d353 in release (this=0x32dd660) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
> #46 ~shared_count (this=0x32dc1a8, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:305
> #47 ~shared_ptr (this=0x32dc1a0, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:164
> #48 destroy (__p=0x32dc1a0, this=<optimized out>) at /usr/include/c++/4.7/ext/new_allocator.h:123
> #49 std::_List_base<boost::shared_ptr<dolfin::VTKPlotter>, std::allocator<boost::shared_ptr<dolfin::VTKPlotter> > >::_M_clear (
> this=0x7ffff13d1280 <stored_plotters>) at /usr/include/c++/4.7/bits/list.tcc:78
> #50 0x00007ffff6f1f901 in __run_exit_handlers (status=0, listp=0x7ffff729c6a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
> #51 0x00007ffff6f1f985 in __GI_exit (status=<optimized out>) at exit.c:100
> #52 0x00007ffff6f05774 in __libc_start_main (main=0x44b77b <main>, argc=2, ubp_av=0x7fffffffdc88, init=<optimized out>,
> fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdc78) at libc-start.c:258
> #53 0x00000000004ce0ad in _start ()
>
> ** Affects: dolfin
> Importance: Undecided
> Status: New
>
Looks like a graphics driver bug to me. Not that I have seen any recently.
Maybe time to ditch unity? ;)
Johan
On 12/04/2012 11:14 AM, Martin Sandve Alnæs wrote: :VTKWindowOutpu tStage: :~VTKWindowOutp utStage (this=0x2b2d7a0, __in_chrg= <optimized out>) dev/fenics/ dolfin/ work/dolfin/ plot/VTKWindowO utputStage. cpp:225 Stage:: ~VTKWindowOutpu tStage( ) sysdeps/ unix/sysv/ linux/raise. c:64 sysdeps/ unix/sysv/ linux/raise. c: No such file or directory. sysdeps/ unix/sysv/ linux/raise. c:64 :__verbose_ terminate_ handler( ) () from /usr/lib/ x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 x86_64- linux-gnu/ libstdc+ +.so.6 locator: :DeallocateSlab s(llvm: :MemSlab* ) () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 endenceAnalysis ::~MemoryDepend enceAnalysis( ) () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 endenceAnalysis ::~MemoryDepend enceAnalysis( ) () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 ager::~ PMDataManager( ) () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 x86_64- linux-gnu/ libLLVM- 3.1.so. 1 lManager: :~PMTopLevelMan ager() () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 x86_64- linux-gnu/ libLLVM- 3.1.so. 1 assManager: :~FunctionPassM anager( ) () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 assManager: :~FunctionPassM anager( ) () from /usr/lib/ x86_64- linux-gnu/ libLLVM- 3.1.so. 1 x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ dri/r600_ dri.so x86_64- linux-gnu/ mesa/libGL. so.1 eadSGI () from /usr/lib/ x86_64- linux-gnu/ mesa/libGL. so.1 rWindow: :MakeCurrent( ) () from /usr/lib/ libvtkRendering .so.5.8 rWindow: :DestroyWindow( ) () from /usr/lib/ libvtkRendering .so.5.8 :SetRenderWindo w(vtkRenderWind ow*) () from /usr/lib/ libQVTK. so.5.8 :~QVTKWidget( ) () from /usr/lib/ libQVTK. so.5.8 :~QVTKWidget( ) () from /usr/lib/ libQVTK. so.5.8 delete< QVTKWidget> (x=<optimized out>) at /usr/include/ boost/checked_ delete. hpp:34 <optimized out>) at /usr/include/ boost/smart_ ptr/scoped_ ptr.hpp: 80 boost/smart_ ptr/scoped_ ptr.hpp: 86 :VTKWindowOutpu tStage: :~VTKWindowOutp utStage (this=0x2b2d7a0, __in_chrg= <optimized out>) dev/fenics/ dolfin/ work/dolfin/ plot/VTKWindowO utputStage. cpp:225 delete< dolfin: :VTKWindowOutpu tStage> (x=0x2b2d7a0) at /usr/include/ boost/checked_ delete. hpp:34 <optimized out>) at /usr/include/ boost/smart_ ptr/scoped_ ptr.hpp: 80 :VTKPlotter: :~VTKPlotter (this=0x30e6220, __in_chrg= <optimized out>) dev/fenics/ dolfin/ work/dolfin/ plot/VTKPlotter .cpp:145 :VTKPlotter: :~VTKPlotter (this=0x30e6220, __in_chrg= <optimized out>) dev/fenics/ dolfin/ work/dolfin/ plot/VTKPlotter .cpp:148 boost/smart_ ptr/detail/ sp_counted_ base_gcc_ x86.hpp: 145 <optimized out>) at /usr/include/ boost/smart_ ptr/detail/ shared_ count.hpp: 305 <optimized out>) at /usr/include/ boost/smart_ ptr/shared_ ptr.hpp: 164 c++/4.7/ ext/new_ allocator. h:123 base<boost: :shared_ ptr<dolfin: :VTKPlotter> , std::allocator< boost:: shared_ ptr<dolfin: :VTKPlotter> > >::_M_clear ( c++/4.7/ bits/list. tcc:78 9c6a8 <__exit_funcs>, run_list_ atexit= true) at exit.c:78 0x7fffffffdc88, init=<optimized out>, <optimized out>, stack_end= 0x7fffffffdc78) at libc-start.c:258
> Public bug reported:
>
> Has anyone else seen this when plotting? Latest ubuntu, latest dolfin,
> vtk and qt from ubuntu apt, free ati drivers from ubuntu apt
> (proprietary ati drivers currently doesn't work with unity in ubuntu...)
>
> Full stacktrace from gdb below, this is the last place in dolfin:
>
> #40 dolfin:
> at /home/martinal/
>
>
> VTKWindowOutput
> {
> // Note: VTK (current 5.6.1) seems to very picky about the order of
> // destruction. This destructor tries to impose an order on the most
> // important stuff.
>
> //log(DBG, "VTK pipeline destroyed");
>
> #ifdef HAS_QVTK
> widget.reset(NULL); // Line 225
> #endif
>
> helptextActor = NULL;
> balloonRep = NULL;
> balloonwidget = NULL;
>
> _renderer = NULL;
> _renderWindow = NULL;
> }
>
>
> --- Stacktrace from gdb:
>
> pure virtual method called
> terminate called without an active exception
>
> Program received signal SIGABRT, Aborted.
> 0x00007ffff6f1a425 in __GI_raise (sig=<optimized out>) at ../nptl/
> 64 ../nptl/
> (gdb) where
> #0 0x00007ffff6f1a425 in __GI_raise (sig=<optimized out>) at ../nptl/
> #1 0x00007ffff6f1db8b in __GI_abort () at abort.c:91
> #2 0x00007ffff18bbe2d in __gnu_cxx:
> #3 0x00007ffff18b9f26 in ?? () from /usr/lib/
> #4 0x00007ffff18b9f53 in std::terminate() () from /usr/lib/
> #5 0x00007ffff18baa6f in __cxa_pure_virtual () from /usr/lib/
> #6 0x00007fffc0e7249e in llvm::BumpPtrAl
> #7 0x00007fffc06922ea in llvm::MemoryDep
> #8 0x00007fffc06924c9 in llvm::MemoryDep
> #9 0x00007fffc09d37a6 in llvm::PMDataMan
> #10 0x00007fffc09d8fc5 in ?? () from /usr/lib/
> #11 0x00007fffc09d00ce in llvm::PMTopLeve
> #12 0x00007fffc09d9096 in ?? () from /usr/lib/
> #13 0x00007fffc09cfe71 in llvm::FunctionP
> #14 0x00007fffc09cfec9 in llvm::FunctionP
> #15 0x00007fffc1c21035 in ?? () from /usr/lib/
> #16 0x00007fffc1c213b9 in ?? () from /usr/lib/
> #17 0x00007fffc1c0418f in ?? () from /usr/lib/
> #18 0x00007fffc1c045ac in ?? () from /usr/lib/
> #19 0x00007fffc1a97ef0 in ?? () from /usr/lib/
> #20 0x00007fffc1a98d7a in ?? () from /usr/lib/
> #21 0x00007fffc1b5df05 in ?? () from /usr/lib/
> #22 0x00007fffc1a9f73e in ?? () from /usr/lib/
> #23 0x00007fffc1aa09b1 in ?? () from /usr/lib/
> #24 0x00007fffc1aa0a5b in ?? () from /usr/lib/
> #25 0x00007fffc1a9f8bb in ?? () from /usr/lib/
> #26 0x00007fffc19f87da in ?? () from /usr/lib/
> #27 0x00007fffc1a95e22 in ?? () from /usr/lib/
> #28 0x00007fffc19e19ea in ?? () from /usr/lib/
> #29 0x00007fffc19af903 in ?? () from /usr/lib/
> #30 0x00007fffe0140dbc in ?? () from /usr/lib/
> #31 0x00007fffe011a0fb in glXMakeCurrentR
> #32 0x00007fffe8734a22 in vtkXOpenGLRende
> #33 0x00007fffe8734ce6 in vtkXOpenGLRende
> #34 0x00007fffe78e9175 in QVTKWidget:
> #35 0x00007fffe78e9228 in QVTKWidget:
> #36 0x00007fffe78e9289 in QVTKWidget:
> #37 0x00007ffff0d63660 in checked_
> #38 ~scoped_ptr (this=<optimized out>, __in_chrg=
> #39 reset (p=0x0, this=0x2b2d800) at /usr/include/
> #40 dolfin:
> at /home/martinal/
> #41 0x00007ffff0d6fc70 in checked_
> #42 ~scoped_ptr (this=0x30e62c0, __in_chrg=
> #43 dolfin:
> at /home/martinal/
> #44 0x00007ffff0d6fd69 in dolfin:
> at /home/martinal/
> #45 0x00007ffff0d5d353 in release (this=0x32dd660) at /usr/include/
> #46 ~shared_count (this=0x32dc1a8, __in_chrg=
> #47 ~shared_ptr (this=0x32dc1a0, __in_chrg=
> #48 destroy (__p=0x32dc1a0, this=<optimized out>) at /usr/include/
> #49 std::_List_
> this=0x7ffff13d1280 <stored_plotters>) at /usr/include/
> #50 0x00007ffff6f1f901 in __run_exit_handlers (status=0, listp=0x7ffff72
> #51 0x00007ffff6f1f985 in __GI_exit (status=<optimized out>) at exit.c:100
> #52 0x00007ffff6f05774 in __libc_start_main (main=0x44b77b <main>, argc=2, ubp_av=
> fini=<optimized out>, rtld_fini=
> #53 0x00000000004ce0ad in _start ()
>
> ** Affects: dolfin
> Importance: Undecided
> Status: New
>