Fri, Jun 30 2006
20:09:42
|
|
Request created by guest
|
|
Subject: nviz segfault on startup when creating display window
Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: CVS 2006_06_24
Even with a simple quickstart: nviz -q, nviz is crashing with a segfault when
it tries to create the
output window. From the OSX crashlog:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x5c637273
Thread 0 Crashed:
0 libX11.6.dylib 0x9bd35fa1 XQueryExtension + 24
1 libGL.1.dylib 0x9be2edab glXQueryExtension + 62
2 nviz 0x000115eb Togl_CreateWindow + 56
3 com.tcltk.tklibrary 0x9ad191ad Tk_MakeWindowExist + 120
4 nviz 0x000126a3 Togl_Cmd + 1046
5 com.tcltk.tcllibrary 0x9ac181a3 TclInvokeStringCommand + 121
6 com.tcltk.tcllibrary 0x9ac1a915 TclEvalObjvInternal + 733
7 com.tcltk.tcllibrary 0x9ac3d666 TclExecuteByteCode + 3101
8 com.tcltk.tcllibrary 0x9ac4244e TclCompEvalObj + 279
9 com.tcltk.tcllibrary 0x9ac6926d TclObjInterpProc + 524
10 com.tcltk.tcllibrary 0x9ac1a915 TclEvalObjvInternal + 733
11 com.tcltk.tcllibrary 0x9ac1ac1c Tcl_EvalEx + 488
12 com.tcltk.tcllibrary 0x9ac5893a Tcl_FSEvalFile + 400
13 com.tcltk.tcllibrary 0x9ac1a915 TclEvalObjvInternal + 733
14 com.tcltk.tcllibrary 0x9ac1ac1c Tcl_EvalEx + 488
15 com.tcltk.tcllibrary 0x9ac1b03a Tcl_Eval + 42
16 nviz 0x0000cac0 Ninit + 199
17 nviz 0x00002614 NVIZ_AppInit + 210
18 com.tcltk.tklibrary 0x9acef2eb Tk_MainEx + 761
19 nviz 0x000111ca main + 97
20 nviz 0x000024ea _start + 228 (crt.c:272)
21 nviz 0x00002405 start + 41
If I add an elevation raster from spearfish6 demo, it shows some status, then
crashes with the same
thread trace when trying to create the window.
Loading Data
Update elev null mask
Loading Data
translating colors from fp
GRASS CVS 06-6-24, TclTk 8.4.13 (unix, not Aqua), Mac OS 10.4.6/GCC 4.0.1 |
|
Sat, Jul 1 2006
21:01:15
|
|
Mail sent by glynn@gclements.plus.com
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17574.50802.653486.173288@cerise.gclements.plus.com>
|
Date |
Sat, 1 Jul 2006 20:01:06 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
In-Reply-To |
<20060630180943.25CD01006CF@lists.intevation.de>
|
References |
<20060630180943.25CD01006CF@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.203 tagged_above=-999 required=4 tests=[AWL=1.531, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
|
X-Spam-Level |
|
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4768
> -------------------------------------------------------------------------
>
> Subject: nviz segfault on startup when creating display window
>
> Platform: Mac OSX
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: CVS 2006_06_24
>
> Even with a simple quickstart: nviz -q, nviz is crashing with a segfault when
it tries to create the
> output window. From the OSX crashlog:
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_INVALID_ADDRESS (0x0001) at 0x5c637273
>
> Thread 0 Crashed:
> 0 libX11.6.dylib 0x9bd35fa1 XQueryExtension + 24
> 1 libGL.1.dylib 0x9be2edab glXQueryExtension + 62
> 2 nviz 0x000115eb Togl_CreateWindow + 56
> 3 com.tcltk.tklibrary 0x9ad191ad Tk_MakeWindowExist + 120
> 4 nviz 0x000126a3 Togl_Cmd + 1046
> 5 com.tcltk.tcllibrary 0x9ac181a3 TclInvokeStringCommand + 121
> 6 com.tcltk.tcllibrary 0x9ac1a915 TclEvalObjvInternal + 733
> 7 com.tcltk.tcllibrary 0x9ac3d666 TclExecuteByteCode + 3101
> 8 com.tcltk.tcllibrary 0x9ac4244e TclCompEvalObj + 279
> 9 com.tcltk.tcllibrary 0x9ac6926d TclObjInterpProc + 524
> 10 com.tcltk.tcllibrary 0x9ac1a915 TclEvalObjvInternal + 733
> 11 com.tcltk.tcllibrary 0x9ac1ac1c Tcl_EvalEx + 488
> 12 com.tcltk.tcllibrary 0x9ac5893a Tcl_FSEvalFile + 400
> 13 com.tcltk.tcllibrary 0x9ac1a915 TclEvalObjvInternal + 733
> 14 com.tcltk.tcllibrary 0x9ac1ac1c Tcl_EvalEx + 488
> 15 com.tcltk.tcllibrary 0x9ac1b03a Tcl_Eval + 42
> 16 nviz 0x0000cac0 Ninit + 199
> 17 nviz 0x00002614 NVIZ_AppInit + 210
> 18 com.tcltk.tklibrary 0x9acef2eb Tk_MainEx + 761
> 19 nviz 0x000111ca main + 97
> 20 nviz 0x000024ea _start + 228 (crt.c:272)
> 21 nviz 0x00002405 start + 41
>
> If I add an elevation raster from spearfish6 demo, it shows some status, then
crashes with the same
> thread trace when trying to create the window.
This is a bug in the system's OpenGL implementation; there isn't
anything we can do about it.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Sun, Jul 2 2006
21:46:20
|
|
Mail sent by michael.barton@asu.edu
|
|
Return-Path |
<michael.barton@asu.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
User-Agent |
Microsoft-Entourage/11.2.4.060510
|
Date |
Sun, 02 Jul 2006 12:45:11 -0700
|
Subject |
Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
From |
Michael Barton <michael.barton@asu.edu>
|
To |
Glynn Clements <glynn@gclements.plus.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
|
Cc |
<grass-dev@grass.itc.it>
|
Message-ID |
<C0CD7057.C273%michael.barton@asu.edu>
|
Thread-Topic |
[GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
Thread-Index |
AcaeEAeNRmGnbAoDEdui/QAKlXAweg==
|
In-Reply-To |
<17574.50802.653486.173288@cerise.gclements.plus.com>
|
Mime-version |
1.0
|
Content-type |
text/plain; charset="US-ASCII"
|
Content-transfer-encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-2.785 tagged_above=-999 required=4 tests=[AWL=0.867, BAYES_00=-5, RCVD_NUMERIC_HELO=1.348]
|
X-Spam-Level |
|
Should people using Intel Macs install a different version of OpenGL?
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Glynn Clements <glynn@gclements.plus.com>
> Date: Sat, 1 Jul 2006 20:01:06 +0100
> To: Request Tracker <grass-bugs@intevation.de>
> Cc: <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when
> creating display window
>
>>
>> If I add an elevation raster from spearfish6 demo, it shows some status, then
>> crashes with the same
>> thread trace when trying to create the window.
>
> This is a bug in the system's OpenGL implementation; there isn't
> anything we can do about it.
|
|
Sun, Jul 2 2006
22:35:20
|
|
Mail sent by kyngchaos@kyngchaos.com
|
|
Return-Path |
<woklist@kyngchaos.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<20060702194620.CD77D1006A0@lists.intevation.de>
|
References |
<20060702194620.CD77D1006A0@lists.intevation.de>
|
Mime-Version |
1.0 (Apple Message framework v752.2)
|
Content-Type |
text/plain; charset=US-ASCII; delsp=yes; format=flowed
|
Message-Id |
<F865946C-6E99-464D-863F-3346875C1408@kyngchaos.com>
|
Cc |
grass-dev@grass.itc.it
|
Reply-To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Content-Transfer-Encoding |
7bit
|
From |
William Kyngesburye <woklist@kyngchaos.com>
|
Subject |
Re: [bug #4768] (grass) nviz segfault on startup when
|
Date |
Sun, 2 Jul 2006 15:35:09 -0500
|
To |
grass-bugs@intevation.de
|
X-Mailer |
Apple Mail (2.752.2)
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.471 tagged_above=-999 required=4 tests=[AWL=1.529, BAYES_00=-5]
|
X-Spam-Level |
|
It should be the same version on Intel as on PPC. The Intel
installed copy is just universal, while the PPC installed copy is PPC
only. I don't want to have to mess with OpenGL - Apple's X11 build
of OpenGL taps into the system OpenGL framework (at least it's in the
lib dependencies from otool -L), so it could be tricky.
(Note: I haven't had a chance to test the universal build on PPC
yet. I'll try to remember Monday.)
I'll look into finding some OpenGL test programs to try. Try to be
more sure if it's and OpenGL or Apple problem, or PPC vs Intel, or
something I'm doing wrong. Also, I'll look at the Togl demos, since
this is a new version of Togl.
On Jul 2, 2006, at 2:46 PM, Michael Barton via RT wrote:
> Should people using Intel Macs install a different version of OpenGL?
>
> Michael
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
"This is a question about the past, is it? ... How can I tell that
the past isn't a fiction designed to account for the discrepancy
between my immediate physical sensations and my state of mind?"
- The Ruler of the Universe
|
|
Mon, Jul 3 2006
17:48:17
|
|
Mail sent by glynn@gclements.plus.com
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17577.15050.536867.787160@cerise.gclements.plus.com>
|
Date |
Mon, 3 Jul 2006 16:42:02 +0100
|
To |
Michael Barton <michael.barton@asu.edu>
|
Cc |
Paolo Cavallini via RT <grass-bugs@intevation.de>, grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
In-Reply-To |
<C0CD7057.C273%michael.barton@asu.edu>
|
References |
<17574.50802.653486.173288@cerise.gclements.plus.com> <C0CD7057.C273%michael.barton@asu.edu>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.217 tagged_above=-999 required=4 tests=[AWL=1.517, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
|
X-Spam-Level |
|
Michael Barton wrote:
> >> If I add an elevation raster from spearfish6 demo, it shows some status,
then
> >> crashes with the same
> >> thread trace when trying to create the window.
> >
> > This is a bug in the system's OpenGL implementation; there isn't
> > anything we can do about it.
>
> Should people using Intel Macs install a different version of OpenGL?
It's worth a try. Even if nothing else works, Mesa should (although it
will be a lot slower).
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Mon, Jul 3 2006
18:11:40
|
|
Mail sent by kyngchaos@kyngchaos.com
|
|
Return-Path |
<woklist@kyngchaos.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<F865946C-6E99-464D-863F-3346875C1408@kyngchaos.com>
|
References |
<20060702194620.CD77D1006A0@lists.intevation.de> <F865946C-6E99-464D-863F-3346875C1408@kyngchaos.com>
|
Mime-Version |
1.0 (Apple Message framework v752.2)
|
Content-Type |
text/plain; charset=US-ASCII; delsp=yes; format=flowed
|
Message-Id |
<BBD2521A-E18B-4326-8A9F-CB15738A55BF@kyngchaos.com>
|
Cc |
Michael Barton <michael.barton@asu.edu>, Glynn Clements <glynn@gclements.plus.com>, grass-dev@grass.itc.it
|
Reply-To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Content-Transfer-Encoding |
7bit
|
From |
William Kyngesburye <woklist@kyngchaos.com>
|
Subject |
Re: [GRASS-dev] Re: [bug #4768] (grass) nviz segfault on startup when
|
Date |
Mon, 3 Jul 2006 11:11:26 -0500
|
To |
grass-bugs@intevation.de
|
X-Mailer |
Apple Mail (2.752.2)
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-4.265 tagged_above=-999 required=4 tests=[AWL=0.735, BAYES_00=-5]
|
X-Spam-Level |
|
> Also, I'll look at the Togl demos, since this is a new version of
> Togl.
Togl built separately for OSX X11 - demos work, within limits.
double, gears and texture demos work. stereo, index and overlay
demos do not. According to the Togl docs, stereo and overlay
features of Togl require hardware support for them, on higher-end
graphics cards (and not even 'gaming' cards). I'm running this on a
MacBook, with the Intel GMA 950 integrated graphics. Maybe not up-to-
snuff. Does NVIZ use any of these features of Togl?
The Togl docs don't say anything about the index demo, but it fails
with the same BadWindow/invalid window parameter error of the stereo
demo, so it might be a similar hardware feature.
> Note: I haven't had a chance to test the universal build on PPC
> yet. I'll try to remember Monday.
I have the same errors starting NVIZ on a PPC Mac (Tiger).
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
|
|
Mon, Jul 3 2006
19:37:49
|
|
Mail sent by kyngchaos@kyngchaos.com
|
|
Return-Path |
<woklist@kyngchaos.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<BBD2521A-E18B-4326-8A9F-CB15738A55BF@kyngchaos.com>
|
References |
<20060702194620.CD77D1006A0@lists.intevation.de> <F865946C-6E99-464D-863F-3346875C1408@kyngchaos.com> <BBD2521A-E18B-4326-8A9F-CB15738A55BF@kyngchaos.com>
|
Mime-Version |
1.0 (Apple Message framework v752.2)
|
Content-Type |
text/plain; charset=US-ASCII; delsp=yes; format=flowed
|
Message-Id |
<187BA839-A9FC-4FB0-907E-F06DA8F19E48@kyngchaos.com>
|
Cc |
grass-dev@grass.itc.it, Michael Barton <michael.barton@asu.edu>, Glynn Clements <glynn@gclements.plus.com>
|
Reply-To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Content-Transfer-Encoding |
7bit
|
From |
William Kyngesburye <woklist@kyngchaos.com>
|
Subject |
Re: [bug #4768] (grass) nviz segfault on startup when
|
Date |
Mon, 3 Jul 2006 12:37:36 -0500
|
To |
grass-bugs@intevation.de
|
X-Mailer |
Apple Mail (2.752.2)
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-4.37 tagged_above=-999 required=4 tests=[AWL=0.630, BAYES_00=-5]
|
X-Spam-Level |
|
I've tried a couple things, and I can think of 2 possibilities:
- since togl demos work, possibly there is something wrong with the
window NVIZ is trying to setup. I tried removing the togl
glXQueryExtension test to force it to assume that glX is OK - it got
further, but failed later when X11 wanted to test that on its own:
0 libX11.6.dylib 0x9b4bdfa1 XQueryExtension + 24
1 libX11.6.dylib 0x9b4b4fb1 XInitExtension + 47
2 libXext.6.dylib 0x9b49aec9 XextAddDisplay + 64
3 libGL.1.dylib 0x9b5b9c2a __glXFindDisplay + 116
4 libGL.1.dylib 0x9b5ba304 __glXInitialize + 25
5 libGL.1.dylib 0x9b5b6b23 GetGLXPrivScreenConfig
+ 27
6 libGL.1.dylib 0x9b5b78a9 glXChooseVisual + 38
7 nviz 0x00011a31 Togl_CreateWindow + 1070
I also tried linking in my test installed togl, instead of using the
included togl in the nviz source - same errors.
- There is something wrong with glX in Apple's X11 that only shows up
(so far) with NVIZ. I need to find some OpenGL demos that use glX,
next.
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."
- Hitchhiker's Guide to the Galaxy
|
|
Tue, Jul 4 2006
21:21:41
|
|
Mail sent by glynn@gclements.plus.com
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17578.49046.648187.662500@cerise.gclements.plus.com>
|
Date |
Tue, 4 Jul 2006 20:20:54 +0100
|
To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Cc |
grass-bugs@intevation.de, Michael Barton <michael.barton@asu.edu>, grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] Re: [bug #4768] (grass) nviz segfault on startup when
|
In-Reply-To |
<BBD2521A-E18B-4326-8A9F-CB15738A55BF@kyngchaos.com>
|
References |
<20060702194620.CD77D1006A0@lists.intevation.de> <F865946C-6E99-464D-863F-3346875C1408@kyngchaos.com> <BBD2521A-E18B-4326-8A9F-CB15738A55BF@kyngchaos.com>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.242 tagged_above=-999 required=4 tests=[AWL=1.492, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
|
X-Spam-Level |
|
William Kyngesburye wrote:
> > Also, I'll look at the Togl demos, since this is a new version of
> > Togl.
>
> Togl built separately for OSX X11 - demos work, within limits.
>
> double, gears and texture demos work. stereo, index and overlay
> demos do not. According to the Togl docs, stereo and overlay
> features of Togl require hardware support for them, on higher-end
> graphics cards (and not even 'gaming' cards). I'm running this on a
> MacBook, with the Intel GMA 950 integrated graphics. Maybe not up-to-
> snuff. Does NVIZ use any of these features of Togl?
No.
> The Togl docs don't say anything about the index demo, but it fails
> with the same BadWindow/invalid window parameter error of the stereo
> demo, so it might be a similar hardware feature.
In this context, "index" refers to indexed-colour modes, i.e. those
where pixel values are indices into a palette, as opposed to
"true-colour" modes where pixels are split into red/green/blue fields.
The index demo will only work if your display is in an indexed-colour
mode. AFAIK, NVIZ won't work in such modes; it requires true-colour.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Tue, Jul 4 2006
21:31:14
|
|
Mail sent by glynn@gclements.plus.com
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17578.49526.684665.52124@cerise.gclements.plus.com>
|
Date |
Tue, 4 Jul 2006 20:28:54 +0100
|
To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Cc |
grass-bugs@intevation.de, Michael Barton <michael.barton@asu.edu>, grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] Re: [bug #4768] (grass) nviz segfault on startup when
|
In-Reply-To |
<187BA839-A9FC-4FB0-907E-F06DA8F19E48@kyngchaos.com>
|
References |
<20060702194620.CD77D1006A0@lists.intevation.de> <F865946C-6E99-464D-863F-3346875C1408@kyngchaos.com> <BBD2521A-E18B-4326-8A9F-CB15738A55BF@kyngchaos.com> <187BA839-A9FC-4FB0-907E-F06DA8F19E48@kyngchaos.com>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.253 tagged_above=-999 required=4 tests=[AWL=1.481, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
|
X-Spam-Level |
|
William Kyngesburye wrote:
> - There is something wrong with glX in Apple's X11 that only shows up
> (so far) with NVIZ. I need to find some OpenGL demos that use glX,
> next.
NVIZ typically links against a /lot/ of libraries; far more than a
typical OpenGL demonstration. The more libraries which a program uses,
the more chance that one of them will cause a problem.
If you have multiple libraries with the same name, it's possible that
the choice of which one is linked in will depend upon which other
libraries a program uses.
One thing to try: build NVIZ, copy the link command from the "make"
output, then use a similar command (with the same set of -L/-l/etc
switches) to build your test program. That will determine whether the
libraries which are being used are having an effect.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Sat, Jul 22 2006
23:52:02
|
|
Mail sent by kyngchaos@kyngchaos.com
|
|
Return-Path |
<woklist@kyngchaos.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Mime-Version |
1.0 (Apple Message framework v752.2)
|
Content-Type |
text/plain; charset=US-ASCII; delsp=yes; format=flowed
|
Message-Id |
<E02A30FE-0AB2-45EF-AF99-0B18A3B139E6@kyngchaos.com>
|
Cc |
Michael Barton <michael.barton@asu.edu>, Glynn Clements <glynn@gclements.plus.com>, grass-dev@grass.itc.it
|
Reply-To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Content-Transfer-Encoding |
7bit
|
From |
William Kyngesburye <woklist@kyngchaos.com>
|
Subject |
Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
Date |
Sat, 22 Jul 2006 16:51:50 -0500
|
To |
<grass-bugs@intevation.de>
|
X-Mailer |
Apple Mail (2.752.2)
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-4.254 tagged_above=-999 required=3 tests=[AWL=0.746, BAYES_00=-5]
|
X-Spam-Level |
|
Just for the heck of it, I tried today's CVS snapshot with an X11
build on Mac OS X. Uh, it's working now.
But wait, there's more - the X11 NVIZ also works on PPC AND Intel Mac
OS X. And since NVIZ and the wish used by the GUI are not related, I
was able to start the X11 NVIZ from the gis.m gui in Tcl/Tk Aqua.
NVIZ in X11 doesn't have the twitch in the browser like in Aqua, so I
could add rasters and vectors after the initial startup.
I'm using the same Universal Tcl/Tk 8.4.13 X11 build of mine from
June, as used in the bug report. Basically, nothing's changed.
Nothing new in the NVIZ or OGSF source (just the switches for X11/
Aqua/Win).
I did notice when I built it this time, the first run linked to
Apple's Tcl/Tk libraries, not my X11 build like it was supposed to,
and that gives the XQueryExtension crash. I saw that my Tcl/Tk was
missing the symlinks for libtcl.dylib/libtk.dylib to libtcl8.4.dylib/
libtk8.4.dylib, so -ltcl -ltk of course didn't find those to link to,
and moved on to Apple's in /usr/lib! After fixing that and
rebuilding NVIZ, success.
So, Mac X11 working. Now to figure out the Aqua side of things...
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
|
|
Sun, Jul 23 2006
19:33:22
|
|
Mail sent by michael.barton@asu.edu
|
|
Return-Path |
<michael.barton@asu.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
User-Agent |
Microsoft-Entourage/11.2.5.060620
|
Date |
Sun, 23 Jul 2006 10:33:06 -0700
|
Subject |
Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
From |
Michael Barton <michael.barton@asu.edu>
|
To |
William Kyngesburye <kyngchaos@kyngchaos.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
|
Cc |
Glynn Clements <glynn@gclements.plus.com>, <grass-dev@grass.itc.it>
|
Message-ID |
<C0E900E2.CA59%michael.barton@asu.edu>
|
Thread-Topic |
[GRASS-dev] [bug #4768] (grass) nviz segfault on startup when creating display window
|
Thread-Index |
Acaufg6OTRoLFhpxEduh6gAKlXAweg==
|
In-Reply-To |
<E02A30FE-0AB2-45EF-AF99-0B18A3B139E6@kyngchaos.com>
|
Mime-version |
1.0
|
Content-type |
text/plain; charset="US-ASCII"
|
Content-transfer-encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.652 tagged_above=-999 required=3 tests=[AWL=0.000, BAYES_00=-5, RCVD_NUMERIC_HELO=1.348]
|
X-Spam-Level |
|
William,
This is great news.
Could you send me the details of how you set this up and configured it
(including your list of configure flags) so that I can duplicate it? I won't
be able to do it until at least Tuesday or maybe Wednesday, so there is no
hurry. But I'd like to try it to see if I can do it too.
Thanks
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: William Kyngesburye <woklist@kyngchaos.com>
> Reply-To: William Kyngesburye <kyngchaos@kyngchaos.com>
> Date: Sat, 22 Jul 2006 16:51:50 -0500
> To: <grass-bugs@intevation.de>
> Cc: Glynn Clements <glynn@gclements.plus.com>, Michael Barton
> <michael.barton@asu.edu>, <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4768] (grass) nviz segfault on startup when
> creating display window
>
> Just for the heck of it, I tried today's CVS snapshot with an X11
> build on Mac OS X. Uh, it's working now.
>
> But wait, there's more - the X11 NVIZ also works on PPC AND Intel Mac
> OS X. And since NVIZ and the wish used by the GUI are not related, I
> was able to start the X11 NVIZ from the gis.m gui in Tcl/Tk Aqua.
> NVIZ in X11 doesn't have the twitch in the browser like in Aqua, so I
> could add rasters and vectors after the initial startup.
>
> I'm using the same Universal Tcl/Tk 8.4.13 X11 build of mine from
> June, as used in the bug report. Basically, nothing's changed.
> Nothing new in the NVIZ or OGSF source (just the switches for X11/
> Aqua/Win).
>
> I did notice when I built it this time, the first run linked to
> Apple's Tcl/Tk libraries, not my X11 build like it was supposed to,
> and that gives the XQueryExtension crash. I saw that my Tcl/Tk was
> missing the symlinks for libtcl.dylib/libtk.dylib to libtcl8.4.dylib/
> libtk8.4.dylib, so -ltcl -ltk of course didn't find those to link to,
> and moved on to Apple's in /usr/lib! After fixing that and
> rebuilding NVIZ, success.
>
> So, Mac X11 working. Now to figure out the Aqua side of things...
>
> -----
> William Kyngesburye <kyngchaos@kyngchaos.com>
> http://www.kyngchaos.com/
>
> All generalizations are dangerous, even this one.
>
>
|
|
Sun, Jul 23 2006
20:01:12
|
|
Mail sent by kyngchaos@kyngchaos.com
|
|
Return-Path |
<woklist@kyngchaos.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<20060723173322.9DD4A1005BA@lists.intevation.de>
|
References |
<20060723173322.9DD4A1005BA@lists.intevation.de>
|
Mime-Version |
1.0 (Apple Message framework v752.2)
|
Content-Type |
text/plain; charset=US-ASCII; delsp=yes; format=flowed
|
Message-Id |
<AA9F01D7-51CC-45F6-BBD7-1E31DF414E63@kyngchaos.com>
|
Cc |
grass-dev@grass.itc.it
|
Reply-To |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Content-Transfer-Encoding |
7bit
|
From |
William Kyngesburye <woklist@kyngchaos.com>
|
Subject |
Re: [bug #4768] (grass) nviz segfault on startup when
|
Date |
Sun, 23 Jul 2006 13:00:52 -0500
|
To |
Michael Barton <michael.barton@asu.edu>, grass-bugs@intevation.de
|
X-Mailer |
Apple Mail (2.752.2)
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-4.306 tagged_above=-999 required=3 tests=[AWL=0.694, BAYES_00=-5]
|
X-Spam-Level |
|
On Jul 23, 2006, at 12:33 PM, Michael Barton via RT wrote:
> William,
>
> This is great news.
>
> Could you send me the details of how you set this up and configured it
> (including your list of configure flags) so that I can duplicate
> it? I won't
> be able to do it until at least Tuesday or maybe Wednesday, so
> there is no
> hurry. But I'd like to try it to see if I can do it too.
>
Actually, simple standard stuff for configuration. In addition to
setting includes/libs options for the various graphics, GIS and DB
libraries, these are the important settings:
--with-tcltk-includes=/usr/local/grasslibs/include \
--with-tcltk-libs=/usr/local/grasslibs/lib \
--with-x --without-motif --without-glw --with-opengl=x11
I suppose with an X11-only build like this, you could add motif and
glw. This example assumes an X11 tcltk build in /usr/local/
grasslibs, which is where I installed mine. I think Lorenzo uses
'grasslib', without the plural, so you could try his tcltk. Or build
your own wherever you like, but I suggest an isolated location like
this so other alternate builds of GRASS (ie Aqua) don't get
confused. ie, if you build the X11 tcltk in /usr/X11R6, an Aqua
build of GRASS that includes X11 support might pick up the X11 tcltk
at link time, not the Aqua version.
Which brings me to the key here with TclTk - I think the X11 NVIZ
crash is because of GRASS getting accidentally linked to Apple's Aqua
TclTk (which is quite old BTW, 8.4.7) instead of the intended X11
TclTk. I guess one thing to do is make sure you use --with-tcltk-
libs=. And in my case, I had a broken X11 TclTk install, so even
then it didn't link to it until I fixed it. If a -L/usr/lib gets
somehow inserted in the link step before -L/path/to/your/X11/tcltk/
lib, that could cause it to grab Apple's TclTk.
A way to check if it linked right is to use otool:
$ otool -L /usr/local/grass-6.1.cvs/bin/nviz
(or you can check the nviz binary in the grass source/dist/bin before
make install)
This will list all the library paths nviz needs. Make sure tcl and
tk libs have the right paths. Fixing it is another matter, but
hopefully it will be right the first time.
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
First Pogril: Why is life like sticking your head in a bucket filled
with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in
a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?
-HitchHiker's Guide to the Galaxy
|
|
Mon, Oct 23 2006
04:18:05
|
|
Mail sent by hbowman
|
|
is this bug fixed?
Hamish
|
|
Mon, Oct 23 2006
16:22:49
|
|
Mail sent by kyngchaos@kyngchaos.com
|
|
Return-Path |
<kyngchaos@kyngchaos.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Mime-Version |
1.0 (Apple Message framework v752.3)
|
In-Reply-To |
<20061023021805.AF0FB1006A8@lists.intevation.de>
|
References |
<20061023021805.AF0FB1006A8@lists.intevation.de>
|
Content-Type |
text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed
|
Message-Id |
<2C2ACB53-C466-4FF9-B21C-C1A435D2500E@kyngchaos.com>
|
Content-Transfer-Encoding |
quoted-printable
|
From |
William Kyngesburye <kyngchaos@kyngchaos.com>
|
Subject |
Re: [bug #4768] (grass) nviz segfault on startup when creating display window
|
Date |
Mon, 23 Oct 2006 09:22:35 -0500
|
To |
Hamish Bowman via RT <grass-bugs@intevation.de>
|
X-Mailer |
Apple Mail (2.752.3)
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
|
X-Spam-Level |
|
Won't even build with opengl=3Daqua (6.2RC2):
do_zoom.c: In function =91Destroy_OS_Ctx=92:do_zoom.c: In function =20
=91Destroy_OS_Ctx=92:
do_zoom.c:396: error: =91dpy=92 undeclared (first use in this function)
I seem to remember this problem coming up recently on the lists. Was =20=
there a fix?=
|
|
Tue, Mar 6 2007
23:11:07
|
|
Status changed to resolved by msieczka
|
|
Tue, Mar 6 2007
23:11:07
|
|
Mail sent by msieczka
|
|
hbowman wrote (Mon, Oct 23 2006 04:18:05):
> is this bug fixed?
According to William in communication off-tracker - it is. Closing it.
Maciek
|
|