View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012108 | ParaView | Bug | public | 2011-04-19 22:35 | 2011-05-09 12:07 | ||||
Reporter | Alan Scott | ||||||||
Assigned To | Utkarsh Ayachit | ||||||||
Priority | urgent | Severity | crash | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | 3.12 | Fixed in Version | 3.12 | ||||||
Summary | 0012108: Hang when resizing window with text | ||||||||
Description | This one is really hard to track down, but I think I have a case that replicates. ParaView 3.10.1. Local client is Linux, remote server is Mesa. Mesa version seems to have this problem with 7.4.2 and 7.10.2. I replicated it with 7.10.2. I am using 16 pvserver processes. Default settings (I believe). One thing I did do is change remote rendering size to 0. Open 32 file Whipple Shield. All variables On. Apply. Sources/ Text. Apply. Make sure that your window can be resized (i.e., isn't full screen.). Now, grab the window at the bottom right and drag that corner up and left. Drag it back where it was. If necessary, go back and forth. Within one or two itterations, it will freeze, without dying. Upon killing the server, the client prints out that the server connection has closed, followed by the following line: VTK/Parallel/vtkSyncronizeRenderers.cxx line 617 Only 3 or 4 component images are handled. Server death output looks as follows: slurmd[rs1748]: *** JOB 4009534 CANCELLED AT 2011-04-19T20:23:36 *** mpiexec: killing job... [rs1748:27781] [[39288,0],0]-[[39288,0],1] mca_oob_tcp_msg_recv: readv failed: Connection reset by peer (104) pvserver:27790 terminated with signal 11 at PC=2af11bf82f77 SP=7fff0a7d48a0. Backtrace: pvserver:27791 terminated with signal 11 at PC=2b6c7b861522 SP=7fffb659e6b8. Backtrace: pvserver:27792 terminated with signal 11 at PC=2adadbacff77 SP=7fffa8ad56a0. Backtrace: pvserver:27796 terminated with signal 11 at PC=2aaab0604000 SP=7fff7c022df8. Backtrace: pvserver:27795 terminated with signal 11 at PC=2aaab065c000 SP=7fff8e4fba08. Backtrace: -------------------------------------------------------------------------- mpiexec was unable to cleanly terminate the daemons on the nodes shown below. Additional manual cleanup may be required - please refer to the "orte-clean" tool for assistance. -------------------------------------------------------------------------- rs1749 pvserver:2378 terminated with signal 11 at PC=2b9db795436f SP=7fffea402510. Backtrace: /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libopen-pal.so.0(opal_memory_ptmalloc2_int_free+0xbf)[0x2b9db795436f] /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libopen-pal.so.0[0x2b9db7958a40] /lib64/libc.so.6(cfree+0xd1)[0x2b9dc11137f1] /projects/viz/support/Linux-redsky-x86_64/install/Mesa-7.4.2/lib/libGL.so.1(_mesa_delete_texture_object+0x44)[0x2b9db4ee6ea4] /projects/viz/support/Linux-redsky-x86_64/install/Mesa-7.4.2/lib/libGL.so.1(_mesa_HashDeleteAll+0x4d)[0x2b9db4eb51cd] /projects/viz/support/Linux-redsky-x86_64/install/Mesa-7.4.2/lib/libGL.so.1[0x2b9db4e91c1a] /projects/viz/support/Linux-redsky-x86_64/install/Mesa-7.4.2/lib/libGL.so.1(_mesa_free_context_data+0x181)[0x2b9db4e92dc1] /projects/viz/support/Linux-redsky-x86_64/install/Mesa-7.4.2/lib/libOSMesa.so.7(OSMesaDestroyContext+0x61)[0x2b9db3d52c51] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkRendering.so.pv3.10(_ZN22vtkXOpenGLRenderWindow22DestroyOffScreenWindowEv+0x73)[0x2b9db9bfb943] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkRendering.so.pv3.10(_ZN22vtkXOpenGLRenderWindow21ResizeOffScreenWindowEii+0x38)[0x2b9db9bfe358] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkRendering.so.pv3.10(_ZN22vtkXOpenGLRenderWindow7SetSizeEii+0xd1)[0x2b9db9bfe481] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVFilters.so(_ZN30vtkPVSynchronizedRenderWindows18UpdateWindowLayoutEv+0x317)[0x2b9db17a0237] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVFilters.so(_ZN30vtkPVSynchronizedRenderWindows15RootStartRenderEP15vtkRenderWindow+0x5d)[0x2b9db17a26bd] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkCommon.so.pv3.10(_ZN16vtkSubjectHelper11InvokeEventEmPvP9vtkObject+0x3b4)[0x2b9dbf8b0dd4] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkRendering.so.pv3.10(_ZN15vtkRenderWindow6RenderEv+0x69)[0x2b9db9b0f1d9] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkRendering.so.pv3.10(_ZN22vtkXOpenGLRenderWindow6RenderEv+0x40)[0x2b9db9bfabd0] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVFilters.so(_ZN30vtkPVSynchronizedRenderWindows6RenderEj+0x42)[0x2b9db179fbd2] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVFilters.so[0x2b9db179fc46] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkParallel.so.pv3.10(_ZN25vtkMultiProcessController10ProcessRMIEiPvii+0x88)[0x2b9db924f6b8] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkParallel.so.pv3.10(_ZN25vtkMultiProcessController11ProcessRMIsEii+0x8d)[0x2b9db924f8ad] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN19vtkRemoteConnection20ProcessCommunicationEv+0x26)[0x2b9db12009e6] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN33vtkProcessModuleConnectionManager18MonitorConnectionsEm+0x21a)[0x2b9db11a877a] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN16vtkProcessModule11StartServerEm+0x76)[0x2b9db11adc76] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN16vtkProcessModule5StartEiPPc+0x22e)[0x2b9db11adbde] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libvtkPVFilters.so(_ZN9vtkPVMain3RunEP12vtkPVOptions+0x59)[0x2b9db177a5a9] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/pvserver(main+0x8d)[0x40145d] /lib64/libc.so.6(__libc_start_main+0xf4)[0x2b9dc10be994] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/pvserver(__gxx_personality_v0+0xb9)[0x4012b9] slurmd[rs1746]: *** JOB 4009544 CANCELLED AT 2011-04-19T20:30:42 *** mpiexec: killing job... pvserver:2381 terminated with signal 11 at PC=2b0e98c39522 SP=7fffeae84858. Backtrace: pvserver:2383 terminated with signal 11 at PC=2b386acd4522 SP=7fff590f5538. Backtrace: pvserver:2379 terminated with signal 11 at PC=2b2db24abf77 SP=7fffa046e7f0. Backtrace: -------------------------------------------------------------------------- mpiexec noticed that process rank 0 with PID 2378 on node rs1746 exited on signal 0 (Unknown signal 0). -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpiexec was unable to cleanly terminate the daemons on the nodes shown below. Additional manual cleanup may be required - please refer to the "orte-clean" tool for assistance. -------------------------------------------------------------------------- rs1747 pvserver:2380 terminated with signal 11 at PC=2aaab05d0000 SP=7fff28657218. Backtrace: pvserver:2384 terminated with signal 11 at PC=2b34a385b726 SP=7fffae94dc60. Backtrace: pvserver:2384 terminated with signal 11 at PC=2b34a50c5621 SP=40d21650. Backtrace: /lib64/libc.so.6(__cxa_finalize+0x21)[0x2b34a50c5621] /projects/viz/paraview/ParaView/3.10.1-Mesa/Linux-redsky-x86_64/lib/paraview-3.10/libavtdatabase_par.so[0x2b34a0158dc6] pvserver:2385 terminated with signal 11 at PC=2abd74be6726 SP=7fff27b32830. Backtrace: pvserver:2385 terminated with signal 11 at PC=2abd76450621 SP=40f50650. Backtrace: /lib64/libc.so.6(__cxa_finalize+0x21)[0x2abd76450621] I don't have either in a debugger, but could fairly easily if desired. This is a showstopper for us. If possible, and if found, I would take a patch to apply on the 3.10.1 release. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0026235) Alan Scott (manager) 2011-04-20 22:06 |
I tried tonight to replicate this bug with hardware OpenGL on the servers, and could not. Thus, I suspect it is some interplay with Mesa. The problem versions of Mesa are 7.4.2 and 7.10.2. ParaView 3.6.2 - and Mesa 6.4.2 (I believe) worked fine. Not sure if it was a ParaView problem or Mesa. |
(0026402) Alan Scott (manager) 2011-05-02 20:23 |
It is significantly harder to replicate, but it can be done with one remote server. Just keep moving the window size, drop it, pick it up, repeat. Should crash within a fraction of a minute. |
(0026403) Alan Scott (manager) 2011-05-02 21:02 |
Here is a stack trace with one process. Crash one: #0 _mesa_delete_texture_object (ctx=0x17221650, texObj=0x19f42200) at main/texobj.c:190 #1 0x00002b38d56721cd in _mesa_HashDeleteAll (table=0x1895aa10, callback=0x2b38d564e610 <delete_texture_cb>, userData=0x17221650) at main/hash.c:278 #2 0x00002b38d564ec1a in free_shared_state (ctx=0x17221650, ss=0x1720d190) at main/context.c:765 #3 0x00002b38d564fdc1 in _mesa_free_context_data (ctx=0x17221650) at main/context.c:1329 #4 0x00002b38d44ffc51 in OSMesaDestroyContext (osmesa=0x17221650) at osmesa.c:1315 #5 0x00002b38dad051f2 in vtkXOpenGLRenderWindow::DestroyOffScreenWindow ( this=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:971 #6 0x00002b38dad05536 in vtkXOpenGLRenderWindow::ResizeOffScreenWindow ( this=0x124e14f0, width=681, height=545) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1021 #7 0x00002b38dad055de in vtkXOpenGLRenderWindow::SetSize (this=0x124e14f0, width=681, height=545) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1207 #8 0x00002b38dad05712 in vtkXOpenGLRenderWindow::SetSize (this=0x124e14f0, a=0x7ffffbe7baf0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.h:79 0000009 0x00002b38d18b6441 in vtkPVSynchronizedRenderWindows::UpdateWindowLayout ( this=0x1242b2f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVSynchronizedRenderWindows.cxx:1097 #10 0x00002b38d18b6f2a in vtkPVSynchronizedRenderWindows::RootStartRender ( this=0x1242b2f0, renWin=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVSynchronizedRenderWindows.cxx:856 0000011 0x00002b38d18b4d62 in vtkPVSynchronizedRenderWindows::HandleStartRender ( this=0x1242b2f0, renWin=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVSynchronizedRenderWindows.cxx:762 #12 0x00002b38d18b943a in vtkPVSynchronizedRenderWindows::vtkObserver::Execute (this=0x12428260, ocaller=0x124e14f0, eventId=3) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVSynchronizedRenderWindows.cxx:219 #13 0x00002b38e1df422e in vtkSubjectHelper::InvokeEvent (this=0x124e9850, event=3, callData=0x0, self=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Common/vtkObject.cxx:602 #14 0x00002b38e1df4346 in vtkObject::InvokeEvent (this=0x124e14f0, event=3, callData=0x0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Common/vtkObject.cxx:770 #15 0x00002b38dabb61cc in vtkRenderWindow::Render (this=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkRenderWindow.cxx:258 #16 0x00002b38dad006fe in vtkXOpenGLRenderWindow::Render (this=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1845 #17 0x00002b38d18b3cf3 in vtkPVSynchronizedRenderWindows::Render ( this=0x1242b2f0, id=159) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVSynchronizedRenderWindows.cxx:738 #18 0x00002b38d18b7b0c in RenderRMI (localArg=0x1242b2f0, remoteArg=0x1726c570, remoteArgLength=6) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVSynchronizedRenderWindows.cxx:249 #19 0x00002b38da07b6ae in vtkMultiProcessController::ProcessRMI ( this=0x1247c6c0, remoteProcessId=1, arg=0x1726c570, argLength=6, rmiTag=15002) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Parallel/vtkMultiProcessController.cxx:636 #20 0x00002b38da07c4a2 in vtkMultiProcessController::ProcessRMIs ( this=0x1247c6c0, reportErrors=0, dont_loop=1) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Parallel/vtkMultiProcessController.cxx:600 #21 0x00002b38d1108c72 in vtkRemoteConnection::ProcessCommunication ( this=0x1247bd10) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Common/vtkRemoteConnection.cxx:74 #22 0x00002b38d108d4d5 in vtkProcessModuleConnectionManager::MonitorConnections (this=0x12437510, msec=0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Common/vtkProcessModuleConnectionManager.cxx:435 #23 0x00002b38d109a317 in vtkProcessModule::StartServer (this=0x11e0d910, msec=0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Common/vtkProcessModule.cxx:458 #24 0x00002b38d109ae3c in vtkProcessModule::Start (this=0x11e0d910, argc=1, argv=0x11df5180) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Common/vtkProcessModule.cxx:369 #25 0x00002b38d18808a0 in vtkPVMain::Run (this=0x11e07fc0, options=0x11e074b0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Filters/vtkPVMain.cxx:276 #26 0x00000000004014c0 in main (argc=5, argv=0x7ffffbe7c7b8) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/Servers/Executables/pvserver.cxx:45 (gdb) frame #0 _mesa_delete_texture_object (ctx=0x17221650, texObj=0x19f42200) at main/texobj.c:190 190 texObj->Target = 0x99; (gdb) p texObj $1 = (struct gl_texture_object *) 0x19f42200 gdb) up #1 0x00002b38d56721cd in _mesa_HashDeleteAll (table=0x1895aa10, callback=0x2b38d564e610 <delete_texture_cb>, userData=0x17221650) at main/hash.c:278 278 callback(entry->Key, entry->Data, userData); (gdb) l 260 255 256 /** 257 * Delete all entries in a hash table, but don't delete the table itself. 258 * Invoke the given callback function for each table entry. 259 * 260 * \param table the hash table to delete 261 * \param callback the callback function 262 * \param userData arbitrary pointer to pass along to the callback 263 * (this is typically a GLcontext pointer) 264 */ (gdb) 265 void 266 _mesa_HashDeleteAll(struct _mesa_HashTable *table, 267 void (*callback)(GLuint key, void *data, void *userData), 268 void *userData) 269 { 270 GLuint pos; 271 ASSERT(table); 272 ASSERT(callback); 273 _glthread_LOCK_MUTEX(table->Mutex); 274 table->InDeleteAll = GL_TRUE; (gdb) 275 for (pos = 0; pos < TABLE_SIZE; pos++) { 276 struct HashEntry *entry, *next; 277 for (entry = table->Table[pos]; entry; entry = next) { 278 callback(entry->Key, entry->Data, userData); 279 next = entry->Next; 280 _mesa_free(entry); 281 } 282 table->Table[pos] = NULL; 283 } 284 table->InDeleteAll = GL_FALSE; (gdb) up #2 0x00002b38d564ec1a in free_shared_state (ctx=0x17221650, ss=0x1720d190) at main/context.c:765 765 _mesa_HashDeleteAll(ss->TexObjects, delete_texture_cb, ctx); (gdb) up #3 0x00002b38d564fdc1 in _mesa_free_context_data (ctx=0x17221650) at main/context.c:1329 1329 free_shared_state( ctx, ctx->Shared ); (gdb) l 1320 1315 #endif 1316 _mesa_delete_array_object(ctx, ctx->Array.DefaultArrayObj); 1317 1318 /* free dispatch tables */ 1319 _mesa_free(ctx->Exec); 1320 _mesa_free(ctx->Save); 1321 1322 /* Shared context state (display lists, textures, etc) */ 1323 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); 1324 RefCount = --ctx->Shared->RefCount; gdb) up #4 0x00002b38d44ffc51 in OSMesaDestroyContext (osmesa=0x17221650) at osmesa.c:1315 1315 _mesa_free_context_data( &osmesa->mesa ); (gdb) l 1300 1295 /** 1296 * Destroy an Off-Screen Mesa rendering context. 1297 * 1298 * \param osmesa the context to destroy 1299 */ 1300 GLAPI void GLAPIENTRY 1301 OSMesaDestroyContext( OSMesaContext osmesa ) 1302 { 1303 if (osmesa) { 1304 if (osmesa->rb) (gdb) l 1305 _mesa_reference_renderbuffer(&osmesa->rb, NULL); 1306 1307 _swsetup_DestroyContext( &osmesa->mesa ); 1308 _tnl_DestroyContext( &osmesa->mesa ); 1309 _vbo_DestroyContext( &osmesa->mesa ); 1310 _swrast_DestroyContext( &osmesa->mesa ); 1311 1312 _mesa_destroy_visual( osmesa->gl_visual ); 1313 _mesa_unreference_framebuffer( &osmesa->gl_buffer ); 1314 (gdb) l 1315 _mesa_free_context_data( &osmesa->mesa ); 1316 _mesa_free( osmesa ); 1317 } 1318 } 1319 1320 1321 /** 1322 * Bind an OSMesaContext to an image buffer. The image buffer is just a 1323 * block of memory which the client provides. Its size must be at least 1324 * as large as width*height*sizeof(type). Its address should be a multiple (gdb) up #5 0x00002b38dad051f2 in vtkXOpenGLRenderWindow::DestroyOffScreenWindow ( this=0x124e14f0) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:971 971 OSMesaDestroyContext(this->Internal->OffScreenContextId); Current language: auto; currently c++ (gdb) l 950 945 (ren = this->Renderers->GetNextItem());) 946 { 947 ren->SetRenderWindow(0); 948 ren->SetRenderWindow(this); 949 } 950 951 this->OpenGLInit(); 952 } 953 954 void vtkXOpenGLRenderWindow::DestroyOffScreenWindow() (gdb) 955 { 956 957 // release graphic resources. 958 vtkRenderer *ren; 959 vtkCollectionSimpleIterator rit; 960 this->Renderers->InitTraversal(rit); 961 while ( (ren = this->Renderers->GetNextRenderer(rit)) ) 962 { 963 ren->SetRenderWindow(NULL); 964 ren->SetRenderWindow(this); (gdb) 965 } 966 967 968 #ifdef VTK_OPENGL_HAS_OSMESA 969 if (this->Internal->OffScreenContextId) 970 { 971 OSMesaDestroyContext(this->Internal->OffScreenContextId); 972 this->Internal->OffScreenContextId = NULL; 973 vtkOSMesaDestroyWindow(this->Internal->OffScreenWindow); 974 this->Internal->OffScreenWindow = NULL; (gdb) p this->Internal->OffScreenContextId $2 = (OSMesaContext) 0x17221650 (gdb) p this->Internal $3 = (vtkXOpenGLRenderWindowInternal *) 0x124e0c90 (gdb) p *this->Internal $4 = {ContextId = 0x0, pixmap = 47523148648168, PixmapContextId = 0x0, PixmapWindowId = 0, PbufferContextId = 0x0, Pbuffer = 0, ScreenDoubleBuffer = 1, ScreenMapped = 0, OffScreenContextId = 0x17221650, OffScreenWindow = 0x173f4e00} (gdb) $5 = {ContextId = 0x0, pixmap = 47523148648168, PixmapContextId = 0x0, PixmapWindowId = 0, PbufferContextId = 0x0, Pbuffer = 0, ScreenDoubleBuffer = 1, ScreenMapped = 0, OffScreenContextId = 0x17221650, OffScreenWindow = 0x173f4e00} (gdb) up #6 0x00002b38dad05536 in vtkXOpenGLRenderWindow::ResizeOffScreenWindow ( this=0x124e14f0, width=681, height=545) at /projects/viz/paraview/src/ParaView/3.10.1-junk/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1021 1021 this->DestroyOffScreenWindow(); (gdb) l 1010 1005 1006 void vtkXOpenGLRenderWindow::ResizeOffScreenWindow(int width, int height) 1007 { 1008 if(!this->OffScreenRendering) 1009 { 1010 return; 1011 } 1012 1013 if(this->Internal->PixmapContextId || 1014 this->Internal->PbufferContextId || (gdb) 1015 this->OffScreenUseFrameBuffer 1016 #ifdef VTK_OPENGL_HAS_OSMESA 1017 || this->Internal->OffScreenContextId 1018 #endif 1019 ) 1020 { 1021 this->DestroyOffScreenWindow(); 1022 this->CreateOffScreenWindow(width, height); 1023 } 1024 } (gdb) p this->Internal->PixmapContextId $6 = (GLXContext) 0x0 (gdb) p this->Internal->PbufferContextId $7 = (GLXContext) 0x0 (gdb) p this->OffScreenUseFrameBuffer $8 = 0 (gdb) p this->Internal->OffScreenContextId $9 = (OSMesaContext) 0x17221650 |
(0026466) Utkarsh Ayachit (administrator) 2011-05-09 10:14 |
commit 75c3524b7ad7f0d2d6f1167bedc4ecc2e8484b3d Merge: 5e24c88 a18a82d Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Date: Mon May 9 10:13:50 2011 -0400 Merge topic 'bug_12108' a18a82d Fixed BUG 0012108. Avoid destroying OSMesa context on resize. commit a18a82deca147625508ca6fe9f0c009b5b5fa490 Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Date: Mon May 9 10:12:21 2011 -0400 Fixed BUG 0012108. Avoid destroying OSMesa context on resize. Change-Id: I7ea28a55eeef1abc24310f28314ff85f144922b8 |
(0026469) Alan Scott (manager) 2011-05-09 12:07 |
I tested this fix using a patch on 3.10.1. So far, it works perfectly. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-04-19 22:35 | Alan Scott | New Issue | |
2011-04-20 22:06 | Alan Scott | Note Added: 0026235 | |
2011-05-02 20:23 | Alan Scott | Note Added: 0026402 | |
2011-05-02 21:02 | Alan Scott | Note Added: 0026403 | |
2011-05-04 11:19 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit |
2011-05-04 11:19 | Utkarsh Ayachit | Status | backlog => tabled |
2011-05-09 10:14 | Utkarsh Ayachit | Note Added: 0026466 | |
2011-05-09 10:14 | Utkarsh Ayachit | Status | tabled => @80@ |
2011-05-09 10:14 | Utkarsh Ayachit | Fixed in Version | => 3.12 |
2011-05-09 10:14 | Utkarsh Ayachit | Resolution | open => fixed |
2011-05-09 11:00 | Utkarsh Ayachit | Source_changeset_attached | => VTK master 75c3524b |
2011-05-09 11:00 | Utkarsh Ayachit | Source_changeset_attached | => VTK master a18a82de |
2011-05-09 12:07 | Alan Scott | Note Added: 0026469 | |
2011-05-09 12:07 | Alan Scott | Status | @80@ => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |