[GRASS-dev] Re: [GRASS GIS] #1408: WxNviz is crashing in GRASS 7 svn

GRASS GIS trac at osgeo.org
Sun Jul 24 19:08:43 EDT 2011


#1408: WxNviz is crashing in GRASS 7 svn
---------------------------+------------------------------------------------
 Reporter:  PierreRoudier  |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  7.0.0                    
Component:  wxGUI          |     Version:  svn-trunk                
 Keywords:  nviz           |    Platform:  Linux                    
      Cpu:  x86-64         |  
---------------------------+------------------------------------------------

Comment(by PierreRoudier):

 Replying to [comment:4 martinl]:
 > Replying to [comment:3 annakrat]:
 > > Do you know when (which revision) this bug appeared? Try to switch on
 debug mode:
 > >
 > {{{
 > > g.gisenv set=WX_DEBUG=5
 > }}}
 >
 > Also library debug messages could help.
 >
 > {{{
 > g.gisevn set=DEBUG=5
 > }}}

 Hi,

 Sorry Anna, I can't remember having it working at all on that machine. I
 always make distclean before compiling.

 It seems to be specific to my Opensuse box though, because I tried WxNviz
 successfully over the week-end on my laptop, which is running Ubuntu.

 Here's the debug messages on the spearfish dataset (just the last lines as
 it was a very long log):

 {{{
 ...
 D5/5: _gsdrape_get_segments vi=1, hi=2, di=0, num=5
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=1, hi=2, di=4, num=9
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=0, num=6
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=3, num=9
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=0, num=6
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=4, num=10
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=1, hi=2, di=0, num=5
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=1, hi=2, di=4, num=9
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=0, num=6
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=4, num=10
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=0, num=6
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=4, num=10
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=0, num=6
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=4, num=10
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=0, num=6
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=2, hi=2, di=3, num=9
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D3/5: GS_global_exag(): 1
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=1, hi=2, di=0, num=5
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=0
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D5/5: _gsdrape_get_segments vi=1, hi=2, di=4, num=9
 D5/5: Drawing site 21720 on Surf 110658
 D3/5: GS_done_draw
 D3/5: GS_ready_draw
 D3/5: GS_get_zrange(): min=1061.11 max=1846.39
 D3/5: GS_get_aspect(): left=0, right=19, top=19, bottom=0
 D3/5: GS_done_draw
 D3/5: GS_done_draw
 The program 'python' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
   (Details: serial 39515 error_code 9 request_code 137 minor_code 8)
   (Note to programmers: normally, X errors are reported asynchronously;
    that is, you will receive the error a while after causing it.
    To debug your program, run it with the --sync command line
    option to change this behavior. You can then get a meaningful
    backtrace from your debugger if you break on the gdk_x_error()
 function.)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1408#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list