[brlcad-tracker] [ brlcad-Bugs-1519505 ] rt segfaults when BRLCAD_ROOT is not set
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2008-06-30 17:04:31
|
Bugs item #1519505, was opened at 2006-07-09 05:19 Message generated for change (Comment added) made by starseeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=1519505&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Raytrace Group: crash or data loss Status: Open Resolution: None Priority: 5 Private: No Submitted By: Karel Kulhavy (clock3) Assigned to: Nobody/Anonymous (nobody) Summary: rt segfaults when BRLCAD_ROOT is not set Initial Comment: It should print an error only and not print an error and segfault: Shader "platic"... Unable to locate where BRL-CAD 7.8.2 is installed while searching: BRLCAD_ROOT environment variable BRLCAD_ROOT compile-time path [/usr/brlcad] run-time path identification [UNKNOWN] current directory This version of BRL-CAD was compiled to be installed at: /usr/brlcad You may specify where to locate BRL-CAD by setting the BRLCAD_ROOT environment variable. For example: for csh/tcsh users: setenv BRLCAD_ROOT /path/to/brlcad for sh/bash users: BRLCAD_ROOT=/path/to/brlcad ; export BRLCAD_ROOT Unable to find '/lib/libplatic.so' within the BRL-CAD software installation. This copy of BRL-CAD may not be properly installed. utils/rt_script: line 47: 15280 Segmentation fault (core dumped) rt $rtopts $view -o $interm $input $object (gdb) bt full #0 0x0aa2f19a in L1 () from /usr/lib/libc.so.39.0 No symbol table info available. #1 0xcfbf5700 in ?? () No symbol table info available. #2 0x01954efa in load_dynamic_shader (material=0x84b7f150 "platic", mlen=6) at material.c:209 shader_mfuncs = (struct mfuncs *) 0x0 libname = "libplatic.so\000reat/ronja/trunk/shaders.so", '\0' <repeats 240 times>, "hY¿Ï]Ëü\000\000\2009\207Ðóû hY¿Ï?Ëü\000\000\000\000\000\000\000\000\000@X¿Ï\000Ð\221\212\000\2009\207Ðóû \210Y¿Ï?Ëü\000\000\000\000\000\000\000\000\000`X¿Ï\000Ð\221\212", '\0' <repeats 120 times>, "(Z¿Ï]Ëü\000ð\020L|Ðóû (Z¿Ï?Ëü\000\000\000\000\000\000\000\000\000\000Y¿Ï\000Ð\221\212", '\0' <repeats 64 times>, "\227\221\224ß\000\000\000\000\000\000\000\000ixü\000Äà"... libpath = "/lib/libplatic.so\000ð?¤Â\237*\006\000\000\000\000\000\000\000\b\000\000\000\000\001\000\000\200S¿ÏR\\¿ÏëT¿Ï\001\000\000\000dx\000\000þÿÿÿ\000S¿Ï", '\0' <repeats 12 times>, "\200\036L|ÍÄ\a\000@@L|\231\000\000\000\213K\b\000\000\020ú\205ð\037ú\205$Ì *0S¿Ï\000\000\000\000\000\000\000\000\r\214¥\nb0 *\001\000\000\000¤Â\237*\001\000\000\000\227\221\224ß\002\000\000\000@AL|ixü\000Äàû t\\é\204\000\000\000\000Ðóû \000\000\000\000Ðóû ÈS¿Ïö¾ü\000Ðóû \000\2009\207èS"... cwd = 0x8a91d400 "/home/clock/creat/ronja/trunk" old_rdebug = 0 sh_name = "platic\000Ï\220R¿Ï\000Ð\221\212\000\2009\207Ðóû ØS¿Ï?Ëü\000`R¿Ï\000\000\000\000\000\000\000\000\000Ð\221\212ÿÿÿÿÒ[¿ÏèU\000Ï)p§\nLS¿Ï¤Â\237*ÿÿÿÿ\000\000\000\000\001\000\000\000\020\000\000\0000S¿Ï\003\\¿Ïd\000\000\000\003\\¿ÏÀW\000Ï\000V¿Ï¸W¿Ï", '\0' <repeats 11 times> #3 0x0195518e in mlib_setup (headp=0x3c003f84, rp=0x87398200, rtip=0x81a65000) at material.c:289 mfp = (const struct mfuncs *) 0x0 mfp_new = (struct mfuncs *) 0x0 ret = -2119806748 param = {vls_magic = -1993131077, vls_str = 0x0, vls_offset = 0, vls_len = 0, vls_max = 0} material = 0x84b7f150 "platic" mlen = 6 #4 0x1c00abc1 in view_setup (rtip=0x81a65000) at view.c:576 regp = (struct region *) 0x87398200 #5 0x1c0032aa in do_prep (rtip=0x81a65000) at do.c:523 times = {vls_magic = 0, vls_str = 0x82232d1c "4-#\202\004-#\202\004PÝ\211", vls_offset = -2046774996, vls_len = -809542596, vls_max = 89310700} #6 0x1c0033fb in do_frame (framenumber=0) at do.c:576 times = {vls_magic = 0, vls_str = 0x0, vls_offset = 0, vls_len = 1072693248, vls_max = 0} framename = '\0' <repeats 22 times>, "ð?\000\000\000\000\000 pÀ", '\0' <repeats 30 times>, "ð?\000\000\000\000\000\000i@\000\000\000\000\000\000i@\000\000\000\000\000\200\200@\f\002\000\000@2\000\034", '\0' <repeats 16 times>, "9´Èv¾\237ö?\000\000\000\000\000\000\000" rtip = (struct rt_i *) 0x81a65000 utime = 0 nutime = 0 wallclock = 1 npix = -2119806976 i = -809542296 lim = 2097439744 work = {-1.0411722243927633e-300, 8.226092275548744e-174, 1.1877654275392954e-19} temp = {-1.4200482149854805e+76, 5.2604064271895675e-283, 1.1877654275392954e-19} quat = {5.2607417470177227e-283, 1.1608252122378222, 8.7974106320667404e-314, 2.1219957929415349e-314} #7 0x1c0056bf in main (argc=10, argv=0xcfbf6530) at main.c:478 frame_retval = 197683320 rtip = (struct rt_i *) 0x81a65000 title_file = 0xcfbf66f4 "3d/parallel.g" title_obj = 0xcfbf6702 "parallel" idbuf = "Untitled BRL-CAD Database", '\0' <repeats 998 times> times = {vls_magic = -1993131077, vls_str = 0x0, vls_offset = 0, vls_len = 0, vls_max = 0} i = 4 (gdb) ---------------------------------------------------------------------- >Comment By: Cliff Yapp (starseeker) Date: 2008-06-30 12:04 Message: Logged In: YES user_id=11463 Originator: NO What install setup did you use to provoke this error? Were you installed in another directory than /usr/brlcad? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=1519505&group_id=105292 |