To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 6600
6599  |  6601
Subject: 
Re: ldglite 0.9.4
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 3 Dec 2001 10:20:20 GMT
Viewed: 
721 times
  
Don Heyse wrote:

dheyse@munin:~/ldglite > LDRAWDIR=/usr/local/share/ldraw
dheyse@munin:~/ldglite > export LDRAWDIR
dheyse@munin:~/ldglite > ~/ldglite/ldglite -mS /usr/local/share/ldraw/parts/3001.dat

Hmmm... I tried in Bash, and suddenly it worked.

Tried again in Tcsh, and it didn't work. Ran `limit
stacksize unlimited` and tried again. Then it worked.
Apparently you allocate some data on the stack without
checking if the allocation succeeds or not.

Jacob
--
"simply because no one had discovered a cure for the
universe as a
whole - or rather the only one that did exist had been
abolished"



Message has 1 Reply:
  Re: ldglite 0.9.4
 
(...) Yuck. I'm not allocating anything really HUGE on the stack. Plus I can't think of a good way to check in C if a stack allocation fails. On the other hand, the offscreen image buffer IS huge, but that's allocated on the heap, and I do check to (...) (23 years ago, 3-Dec-01, to lugnet.cad.dev)

Message is in Reply To:
  Re: ldglite 0.9.4
 
(...) That's bizarre, it works fine for me. See below. Humor me and delete the copy in /usr/local/bin and then try it again. Perhaps it's a screen size issue? Mesa has some rather small limits in it's config file and should be recompiled with larger (...) (23 years ago, 2-Dec-01, to lugnet.cad.dev)

13 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR