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 / 6596
6595  |  6597
Subject: 
Re: ldglite 0.9.4
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 2 Dec 2001 21:36:40 GMT
Viewed: 
696 times
  
In lugnet.cad.dev, Jacob Sparre Andersen writes:
~/> ~dheyse/ldglite/ldglite -mS
/usr/local/share/ldraw/parts/3001.dat
Segmentation fault

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 limits to
make offscreen rendering really useful.  Try -v3 and see if it still
segfaults.

Meanwhile I'll have to get rid of that extra targa file it writes.

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
GL_VERSION = 1.2 Mesa 3.4
GL_EXTENSIONS = GL_ARB_multitexture GL_ARB_texture_cube_map
GL_ARB_tranpose_matrix GL_EXT_abgr GL_EXT_blend_color
GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax
GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array
GL_EXT_histogram GL_EXT_packed_pixels GL_EXT_paletted_texture
GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal
GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture3D
GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_object
GL_EXT_texture_lod_bias GL_EXT_vertex_array GL_HP_occlusion_test
GL_INGR_blend_func_separate GL_MESA_window_pos GL_MESA_resize_buffers
GL_NV_texgen_reflection GL_PGI_misc_hints GL_SGI_color_matrix
GL_SGI_color_table GL_SGIS_pixel_texture GL_SGIS_texture_edge_clamp
GL_SGIX_pixel_texture
GL_VENDOR ='Brian Paul'
GL_RENDERER ='Mesa OffScreen'
GL_RGBA_BITS: (8, 8, 8, 8)
GL_DEPTH_BITS = 16
GL_STENCIL_BITS = 8
Buffer Swap Mode = 0
Write BMP8 /usr/local/share/ldraw/bitmap/30011.bmp
Write TGA /usr/local/share/ldraw/bitmap/30011.tga
dheyse@munin:~/ldglite >

Don



Message has 1 Reply:
  Re: ldglite 0.9.4
 
(...) 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 (...) (23 years ago, 3-Dec-01, to lugnet.cad.dev)

Message is in Reply To:
  Re: ldglite 0.9.4
 
(...) ~/> ~dheyse/ldglite/ldglite -mS /usr/local/share/ldr...s/3001.dat Segmentation fault ~/> :-( I updated the instructions at: (URL) both "makefile.linux" and "main.c" are corrected according to your instructions. I tried that as well. The (...) (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