[IGSTK-Users] Segmentation fault + GLXBadDrawable

"Özgür Güler" ozgur_guler at gmx.at
Fri Oct 5 18:37:24 EDT 2007


Hi Patrick,

yes the coused error by vtk below.
I also observed following

 - loading a bigger dataset first following by a smaller one ->crash with error
 - loading a smaller one first following by a bigger no crash but nothing appears

I always get a few messages like "XRequest.145: GLXBadDrawable 0x2c00007" causing no crash.
Find additional information about my system and the toolkits below.

Thanks for your help
özgür
 

ERROR: In /home/ozi/Desktop/toolkits/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 628
vtkStreamingDemandDrivenPipeline (0xa61c70): The update extent specified in the information for output port 0 on algorithm vtkImageMapToColors(0x9fcc10) is 0 511 255 255 0 311, which is outside the whole extent 0 511 0 511 0 75.

ERROR: In /home/ozi/Desktop/toolkits/VTK/Filtering/vtkImageData.cxx, line 1450
vtkImageData (0x1757d20): GetScalarPointer: Pixel (0, 255, 156) not in memory.
 Current extent= (0, 511, 0, 511, 0, 75)


PS:additional information

Linux Fedora 2.6.17-1.2187_FC5 x86_64 
Toolkits:
cmake 2.4.6
fltk 1.1.7
ITK 3.2.0
VTK 5.0
IGSTK 2.0.1


glxinfo -v:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX version: 1.3
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6600/PCI/SSE2
OpenGL version string: 2.0.2 NVIDIA 87.74
OpenGL extensions:
    GL_ARB_color_buffer_float, GL_ARB_depth_texture, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_half_float_pixel, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_shadow, GL_ARB_shader_objects, GL_ARB_shading_language_100,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, GL_ARB_texture_float,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_texture_float,
    GL_ATI_texture_mirror_once, GL_S3_s3tc, GL_EXT_texture_env_add,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_sRGB, GL_EXT_timer_query,
    GL_EXT_vertex_array, GL_HP_occlusion_test, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
    GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence,
    GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_program,
    GL_NV_fragment_program_option, GL_NV_fragment_program2,
    GL_NV_gpu_program_parameters, GL_NV_half_float, GL_NV_light_max_exponent,
    GL_NV_multisample_filter_hint, GL_NV_occlusion_query,
    GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_NV_primitive_restart, GL_NV_register_combiners,
    GL_NV_register_combiners2, GL_NV_texgen_reflection,
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
    GL_NV_texture_expand_normal, GL_NV_texture_rectangle,
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3,
    GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_NV_vertex_program2,
    GL_NV_vertex_program2_option, GL_NV_vertex_program3,
    GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
    GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SUN_slice_accum
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

Visual ID: 21  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 22  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 23  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 24  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 25  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 26  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 27  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 28  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=0 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 29  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=0 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 2a  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 2b  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 2c  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 2d  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 2e  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 2f  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 30  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 31  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 32  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 33  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 34  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 35  depth=16  class=TrueColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 36  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 37  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 38  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 39  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 3a  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 3b  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=0 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 3c  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=0 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=0  multiSampleBuffers=0
    visualCaveat=None
    Opaque.
Visual ID: 3d  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 3e  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 3f  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 40  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=16 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 41  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 42  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 43  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 44  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=0
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 45  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 46  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=1 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 47  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=2  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.
Visual ID: 48  depth=16  class=DirectColor
    bufferSize=16 level=0 renderType=rgba doubleBuffer=0 stereo=0
    rgba: redSize=5 greenSize=6 blueSize=5 alphaSize=0
    auxBuffers=4 depthSize=24 stencilSize=8
    accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
    multiSample=4  multiSampleBuffers=1
    visualCaveat=Nonconformant
    Opaque.




-------- Original-Nachricht --------
> Datum: Fri, 05 Oct 2007 15:25:29 -0400
> Von: Patrick Cheng <cheng at isis.georgetown.edu>
> An: "Özgür Güler" <ozgur_guler at gmx.at>
> CC: IGSTK-Users at public.kitware.com
> Betreff: Re: [IGSTK-Users] Segmentation fault + GLXBadDrawable

> Hi Özgür,
> 
> When you say error, do you mean the following update extent error 
> message or something else?
> 
>  > ERROR: In
>  > 
> /home/ozi/Desktop/toolkits/VTK/Filtering/vtkStreamingDemandDrivenPipel 
> ine.cxx, line 628
>  > > > vtkStreamingDemandDrivenPipeline (0x116c3e0): The update extent
>  > specified in the  information for output port 0 on algorithm
>  > vtkImageMapToColors(0x971d90) is 0 5 11 0 511 223 223, which is 
> outside the whole extent 0 511 0
>  > 511 0 75.
> 
> I have tested the code locally, it works on my machine.
> 
> Thank you,
> 
> Patrick
> 
> 
>   Güler wrote:
> > Hi Patrick Cheng,
> > 
> > the error remains unfortunately adding the lines below
> > 
> >   this->DisplayAxial->RequestRemoveObject( m_ImageRepresentationAxial );
> >   this->DisplaySagittal->RequestRemoveObject(
> m_ImageRepresentationSagittal );
> >   this->DisplayCoronal->RequestRemoveObject(
> m_ImageRepresentationCoronal );
> >   this->Display3D->RequestRemoveObject( m_ImageRepresentationAxial3D );
> >   this->Display3D->RequestRemoveObject( m_ImageRepresentationSagittal3D
> );
> >   this->Display3D->RequestRemoveObject( m_ImageRepresentationCoronal3D
> );
> > 
> > thx
> > Özgür
> > 
> > PS: CVS "Sandbox" 05.10.07 18:00 CEST
> > 
> > 
> > 
> > -------- Original-Nachricht --------
> >> Datum: Thu, 04 Oct 2007 16:02:00 -0400
> >> Von: Patrick Cheng <cheng at isis.georgetown.edu>
> >> An: "Özgür Güler" <ozgur_guler at gmx.at>
> >> CC: andinet.enqu at kitware.com, IGSTK-Users at public.kitware.com
> >> Betreff: Re: [IGSTK-Users] Segmentation fault + GLXBadDrawable
> > 
> >> Hi Özgür Güler,
> >>
> >> The extend update error is related to the VTK data pipeline. Because we
> >> are trying to reuse the the vtkActor, when we first load a bigger image
> >> and then load another smaller image. The vtkActor will try to update
> the 
> >> extent using the old extent information.
> >>
> >> I have committed a fix to the NeedleBiopsy program, every time it's 
> >> trying to add the ImageRepresentation class to the scene, it will do a 
> >> remove first, this will destroy the old vtkActor.
> >>
> >> This doesn't fix the root of this issue, but it should work just as
> good.
> >>
> >> Thank you for reporting the error.
> >>
> >> Patrick
> >>
> >>
> >> Özgür Güler wrote:
> >>> No suggestions yet, again my problem. Please help
> >>> Hi,
> >>>
> >>> the error occurs also, when I try to load images twice in the
> >> needlebiopsy example application.
> >>> I put a snippet of the statemachine output below.
> >>> 1. attempt to load a image: works fine 
> >>> 2. attempt to load a image: I get the "LoadImageSuccesInput" but the
> app
> >> crashes when it executes the function
> >> ConnectImageRepresentationProcessing()
> >>> error forcing part in the function:
> >>>
> >>> ...
> >>> this->m_ImageRepresentationAxial->RequestGetSliceNumberBounds();
> >>> this->m_ImageRepresentationSagittal->RequestGetSliceNumberBounds();
> >>> this->m_ImageRepresentationCoronal->RequestGetSliceNumberBounds();
> >>>
> >>> this->DisplayAxial->AddObserver( TransformModifiedEvent(), 
> >>>                                    m_ViewPickerObserver );
> >>> this->DisplaySagittal->AddObserver( TransformModifiedEvent(), 
> >>>                                    m_ViewPickerObserver );
> >>> this->DisplayCoronal->AddObserver( TransformModifiedEvent(), 
> >>>                                    m_ViewPickerObserver );   
> >>> ...
> >>>
> >>> StateMachineOutput "NeedleBiopsy"
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 PatientNameReadyState(131)  with RequestLoadImag eInput(152)
> --->
> >> WaitingForDICOMDirectoryState(132).
> >>> (DEBUG) Set ImageReader directory: /Images
> >> /HeadSkullCT/CT-20070707/20070707/
> >>> (DEBUG) ImageReader loading images...
> >>> (DEBUG) Image Loaded...
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 WaitingForDICOMDirectoryState(132)  with LoadIma
> geSuccessInput(153)
> >> ---> ImageReadyState(133).
> >>> (DEBUG) Patient name mismatch
> >>> (DEBUG) Patient name is overwritten to:HNO ^PHANTOM ,^^^^
> >>> (ERROR) In class NeedleBiopsy No transitions have been defined for
> >> current state and input  State = 133 [ImageReadyState] Inp ut = 153
> >> [LoadImageSuccessInput]
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 ImageReadyState(133)  with OverwritePatientNameI nput(156)
> --->
> >> PatientNameVerifiedState(134).
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 PatientNameVerifiedState(134)  with AxialBoundsI nput(180)
> --->
> >> PatientNameVerifiedState(134).
> >>> (DEBUG) SetAxialSliderBounds()
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 PatientNameVerifiedState(134)  with SagittalBoun dsInput(181)
> --->
> >> PatientNameVerifiedState(134).
> >>> (DEBUG) SetSagittalSliderBounds()
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 PatientNameVerifiedState(134)  with CoronalBound sInput(182)
> --->
> >> PatientNameVerifiedState(134).
> >>> (DEBUG) SetCoronalSliderBounds()
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 PatientNameVerifiedState(134)  with RequestLoadI
> mageInput(152) --->
> >> WaitingForDICOMDirectoryState(132).
> >>> (DEBUG) Set ImageReader directory: /Images/H
> >> EAD_4626330^CT-4626330/CT-20000707-181259.000/20000707/
> >>> (DEBUG) ImageReader loading images...
> >>> (DEBUG) Image Loaded...
> >>> (DEBUG) State transition is being made : N eedleBiopsy  PointerID
> >> 0x8e8ee0 WaitingForDICOMDirectoryState(132)  with LoadIma
> geSuccessInput(153)
> >> ---> ImageReadyState(133).
> >>> (DEBUG) Patient name mismatch
> >>> ERROR: In
> >> /home/ozi/Desktop/toolkits/VTK/Filtering/vtkStreamingDemandDrivenPipel
> ine.cxx, line 628
> >>> vtkStreamingDemandDrivenPipeline (0x116c3e0): The update extent
> >> specified in the  information for output port 0 on algorithm
> >> vtkImageMapToColors(0x971d90) is 0 5 11 0 511 223 223, which is outside
> the whole extent 0 511 0
> >> 511 0 75.
> >>> ERROR: In /home/ozi/Desktop/toolkits/VTK/Filtering/vtkImageData.cxx,
> >> line 1450
> >>> vtkImageData (0x16d1ad0): GetScalarPointer: Pixel (0, 0, 223) not in
> >> memory.
> >>>  Current extent= (0, 511, 0, 511, 0, 75)
> >>>
> >>> Segmentation fault
> >>>
> > 

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


More information about the IGSTK-Users mailing list