[GRASS-dev] [bug #4725] (grass) nviz crashed while volume visualisation

Request Tracker grass-bugs at intevation.de
Fri Jun 23 13:31:10 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4725
-------------------------------------------------------------------------

Subject: nviz crashed while volume visualisation

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: latest grass-6.1-cvs

Hi,
nviz produced a segfault while volume data visualisation.
Im using the lates cvs build.

I have tested this with several locations. 
gdb output of nviz within spearfish60 location:


Mapset <user1> in Location <spearfish60>                                                                                                                   GRASS 6.1.cvs > gdb nviz
gdb) r volume=g3d_test_map_2_30960
Starting program: /usr/local/grass-6.1.cvs/bin/nviz volume=g3d_test_map_2_30960
[Thread debugging using libthread_db enabled]
[New Thread -1225509184 (LWP 15853)]
[New Thread -1225512016 (LWP 15856)]
%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225509184 (LWP 15853)]
0xb74b6b66 in __strtouq_internal () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb74b6b66 in __strtouq_internal () from /lib/tls/libc.so.6
#1  0xb74b690f in __strtol_internal () from /lib/tls/libc.so.6
#2  0x080665e7 in Ndraw_all_together_cmd (data=0x8070f60, interp=0x0, argc=10, argv=0xa) at /usr/include/stdlib.h:333
#3  0xb782db27 in TclInvokeStringCommand () from /usr/lib/libtcl8.4.so.0
#4  0xb782f32a in TclEvalObjvInternal () from /usr/lib/libtcl8.4.so.0
#5  0xb7830b56 in Tcl_EvalEx () from /usr/lib/libtcl8.4.so.0
#6  0xb78310d6 in Tcl_Eval () from /usr/lib/libtcl8.4.so.0
#7  0x08063a7e in display_cb (togl=0xa) at togl_cb.c:73
#8  0x08060a15 in Togl_Render (clientData=0x81d4a00) at togl.c:1167
#9  0xb7890c09 in TclServiceIdle () from /usr/lib/libtcl8.4.so.0
#10 0xb787f230 in Tcl_DoOneEvent () from /usr/lib/libtcl8.4.so.0
#11 0xb7948d5d in Tk_FrameObjCmd () from /usr/lib/libtk8.4.so.0
#12 0xb7890c09 in TclServiceIdle () from /usr/lib/libtcl8.4.so.0
#13 0xb787f230 in Tcl_DoOneEvent () from /usr/lib/libtcl8.4.so.0
#14 0xb7922dad in Tk_MainLoop () from /usr/lib/libtk8.4.so.0
#15 0xb792f513 in Tk_MainEx () from /usr/lib/libtk8.4.so.0
#16 0x08060653 in main (argc=3, argv=0xbfebad94) at nvizMain.c:50


The g3d map info:
Mapset <user1> in Location <spearfish60>                                                                                                                   GRASS 6.1.cvs > r3.info g3d_test_map_2_30960
 +----------------------------------------------------------------------------+
 | Layer:    g3d_test_map_2_30960           Date: Fri Apr 14 16:57:49 2006    |
 | Mapset:   user1                          Login of Creator: soeren          |
 | Location: spearfish60                                                      |
 | DataBase: /home/soeren/grassdaten                                          |
 | Title:     ( g3d_test_map_2_30960 )                                        |
 | Timestamp: none                                                            |
 |----------------------------------------------------------------------------|
 |                                                                            |
 |   Type of Map:  3d cell              Number of Categories: 0               |
 |   Data Type:    double                                                     |
 |   Rows:         1                                                          |
 |   Columns:      1                                                          |
 |   Depths:       80                                                         |
 |   Total Cells:  80                                                         |
 |        Projection: UTM (zone 13)                                           |
 |            N:         13    S:          0   Res:    13                     |
 |            E:         13    W:          0   Res:    13                     |
 |            T:         80    B:          0   Res:     1                     |
 |   Range of data:   min = 1.13171925 max = 1.13171925                       |
 |                                                                            |
 |   Data Source:                                                             |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |   Data Description:                                                        |
 |    generated by r.to.rast3                                                 |
 |                                                                            |
 |   Comments:                                                                |
 |    r.to.rast3 input="mapcalc_test_map_2_30960" output="g3d_test_map_2_3\   |
 |    0960"                                                                   |
 |                                                                            |
 +----------------------------------------------------------------------------+


Best regards
Soeren

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list