-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge changes from BRL-CAD Main Repo #18
Commits on Nov 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b002a79 - Browse repository at this point
Copy the full SHA b002a79View commit details
Commits on Nov 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 22e9c1c - Browse repository at this point
Copy the full SHA 22e9c1cView commit details -
Make a variety of adjustments to halftone - mostly initializing vars …
…and memory, but also not proceeding if we can't read next successfully.
Configuration menu - View commit details
-
Copy full SHA for 8f15a9b - Browse repository at this point
Copy the full SHA 8f15a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e0bbd - Browse repository at this point
Copy the full SHA e4e0bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 680f956 - Browse repository at this point
Copy the full SHA 680f956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 425b7e4 - Browse repository at this point
Copy the full SHA 425b7e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec861c2 - Browse repository at this point
Copy the full SHA ec861c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce28586 - Browse repository at this point
Copy the full SHA ce28586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77c8ecc - Browse repository at this point
Copy the full SHA 77c8eccView commit details -
As near as I can tell, this was added in commit svn::revision::9746 a…
…s potentially needed by some ifdef 0 code, which was subsequently removed - unused.
Configuration menu - View commit details
-
Copy full SHA for 6febd62 - Browse repository at this point
Copy the full SHA 6febd62View commit details -
ON_SimpleArray -> ON_ClassArray
Sean spotted this, and it looks like it may have been a significant systematic mistake in my early NURBS brep coding. ON_SimpleArray can't always be used - per opennurbs_array.h, ON_SimpleArray "should not be used for arrays of classes that require explicit construction, destruction, or copy operators." That probably means we've got a lot of inappropriate uses of ON_SimpleArray at play. I tended to try and treat pointers to ON_* objects as being inserted into and managed by ON_SimpleArray essentially as if they were C arrays of pointers, and that looks to be incorrect. Good chance this is the root cause behind a lot of the more obscure memory issues clang static analyzer is finding with the various brep related codes...
Configuration menu - View commit details
-
Copy full SHA for 4cbf8f6 - Browse repository at this point
Copy the full SHA 4cbf8f6View commit details -
More adjustments to surfaceintersect arrays
Previous problem wasn't quite what I thought - assignment was indeed making a full copy, so we also need to delete. Also need a few more SimpleArray -> ClassArray switches.
Configuration menu - View commit details
-
Copy full SHA for e332e80 - Browse repository at this point
Copy the full SHA e332e80View commit details -
This is triggering the static analyzer. Looking at the code it doesn'…
…t seem to be in a working state and hasn't been worked on much since 2009.
Configuration menu - View commit details
-
Copy full SHA for dc86b84 - Browse repository at this point
Copy the full SHA dc86b84View commit details
Commits on Nov 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for acf83f0 - Browse repository at this point
Copy the full SHA acf83f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a179f3 - Browse repository at this point
Copy the full SHA 3a179f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd0835 - Browse repository at this point
Copy the full SHA 1bd0835View commit details -
Configuration menu - View commit details
-
Copy full SHA for 645995d - Browse repository at this point
Copy the full SHA 645995dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e134864 - Browse repository at this point
Copy the full SHA e134864View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0215ac6 - Browse repository at this point
Copy the full SHA 0215ac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 537fbd9 - Browse repository at this point
Copy the full SHA 537fbd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26de902 - Browse repository at this point
Copy the full SHA 26de902View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c03f52 - Browse repository at this point
Copy the full SHA 5c03f52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8086fb1 - Browse repository at this point
Copy the full SHA 8086fb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d06c96 - Browse repository at this point
Copy the full SHA 5d06c96View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7baae4 - Browse repository at this point
Copy the full SHA f7baae4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 372dd05 - Browse repository at this point
Copy the full SHA 372dd05View commit details -
Configuration menu - View commit details
-
Copy full SHA for e675979 - Browse repository at this point
Copy the full SHA e675979View commit details -
Configuration menu - View commit details
-
Copy full SHA for e05c7f4 - Browse repository at this point
Copy the full SHA e05c7f4View commit details -
Make sure we didn't enter based on the group_head == NULL condition b…
…efore we do this bit.
Configuration menu - View commit details
-
Copy full SHA for c9268c1 - Browse repository at this point
Copy the full SHA c9268c1View commit details -
Start looking at libutahrle's clang reports - may as well see how man…
…y we can clear by a combination of trimming and small changes.
Configuration menu - View commit details
-
Copy full SHA for adb6736 - Browse repository at this point
Copy the full SHA adb6736View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9664761 - Browse repository at this point
Copy the full SHA 9664761View commit details -
Configuration menu - View commit details
-
Copy full SHA for 166c6d9 - Browse repository at this point
Copy the full SHA 166c6d9View commit details
Commits on Nov 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 446e5ab - Browse repository at this point
Copy the full SHA 446e5abView commit details -
Looks like another of those cases where clang assumes something is fa…
…lse and then later assumes it is true for no apparent reason... just add a null check.
Configuration menu - View commit details
-
Copy full SHA for 7097d1a - Browse repository at this point
Copy the full SHA 7097d1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d4c2b - Browse repository at this point
Copy the full SHA 06d4c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e7870e - Browse repository at this point
Copy the full SHA 7e7870eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0e5b96 - Browse repository at this point
Copy the full SHA b0e5b96View commit details -
Configuration menu - View commit details
-
Copy full SHA for da4c7e8 - Browse repository at this point
Copy the full SHA da4c7e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3af1e88 - Browse repository at this point
Copy the full SHA 3af1e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe8df1 - Browse repository at this point
Copy the full SHA 7fe8df1View commit details
Commits on Nov 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 91b61a8 - Browse repository at this point
Copy the full SHA 91b61a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87366be - Browse repository at this point
Copy the full SHA 87366beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 913384f - Browse repository at this point
Copy the full SHA 913384fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 140e800 - Browse repository at this point
Copy the full SHA 140e800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 072bdbd - Browse repository at this point
Copy the full SHA 072bdbdView commit details -
x is unused here, but I'm not 100% convinced that's correct. renderin…
…g is working well enough, so not messing with this, but commenting it out rather than deleting it in case this does become an issue in the future.
Configuration menu - View commit details
-
Copy full SHA for 2b79898 - Browse repository at this point
Copy the full SHA 2b79898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6033c4d - Browse repository at this point
Copy the full SHA 6033c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb0c80d - Browse repository at this point
Copy the full SHA fb0c80dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 627001c - Browse repository at this point
Copy the full SHA 627001cView commit details -
Watch analyzer results for osmesa, utahrle, polyt2ri
Having gotten these clean (at least with clang 12), lets keep them that way. utahrle doesn't have an active upstream, our poly2tri is significantly altered from the upstream version, and osmesa is an extraction of Mesa 7.0.4's OpenGL 2.1 software-only rasterizer - the current upstream code is now completely different. Realistically Tktable and Tkhtml (particularly Tkhtml) should also fall into this category, but they're not as trivial to set up in the test script since they may need Tcl/Tk built from src/other/ext first (and, unlike the other three libs, the Tk widgets should eventually be phased out in favor of Qt functionality anyway...) OpenNURBS is in a separate class - basically, unlike the other src/other libs not in ext, it does have an active upstream - we just need to maintain it in src/other because of the significant number of patches we apply to it.
Configuration menu - View commit details
-
Copy full SHA for 7730251 - Browse repository at this point
Copy the full SHA 7730251View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14f2123 - Browse repository at this point
Copy the full SHA 14f2123View commit details
Commits on Nov 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 469ae22 - Browse repository at this point
Copy the full SHA 469ae22View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf1bcb5 - Browse repository at this point
Copy the full SHA cf1bcb5View commit details -
Try adding sentinel files to the perplex/lemon cpy
Grr. Getting random failures in the stepcode building, mostly on the Github runners but occasionally on normal desktops as well. Symptoms are an internal operation of the stepcode build erring out complaining about not being able to do I/O on one of the files that needs to be copied, but when you check the file is there. Historically that's happened when disk I/O isn't quite keeping up with processing or parallel operations end up colliding. Traditional solution has been to add sentinel files that are only created after the original operation is done. See if that helps here.
Configuration menu - View commit details
-
Copy full SHA for b698016 - Browse repository at this point
Copy the full SHA b698016View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1365fc7 - Browse repository at this point
Copy the full SHA 1365fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08b828f - Browse repository at this point
Copy the full SHA 08b828fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8d0abb - Browse repository at this point
Copy the full SHA d8d0abbView commit details
Commits on Nov 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 79ff1d3 - Browse repository at this point
Copy the full SHA 79ff1d3View commit details
Commits on Nov 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a5f127b - Browse repository at this point
Copy the full SHA a5f127bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a7abeb - Browse repository at this point
Copy the full SHA 8a7abebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b5b4c0 - Browse repository at this point
Copy the full SHA 4b5b4c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5c88b - Browse repository at this point
Copy the full SHA ae5c88bView commit details -
Contain librt exposure with libdm headers
Including librt headers pulls in openNURBS, which has a lot of implications for things like needing warning suppressed. Use an ifdef guard to only expose and use these functions where necessary to limit the scope of the necessary adjustment.
Configuration menu - View commit details
-
Copy full SHA for d8b5e6c - Browse repository at this point
Copy the full SHA d8b5e6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd8f40b - Browse repository at this point
Copy the full SHA fd8f40bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e05e4f - Browse repository at this point
Copy the full SHA 4e05e4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 482be08 - Browse repository at this point
Copy the full SHA 482be08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b66aef - Browse repository at this point
Copy the full SHA 7b66aefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 859116e - Browse repository at this point
Copy the full SHA 859116eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b09bd5e - Browse repository at this point
Copy the full SHA b09bd5eView commit details
Commits on Nov 30, 2021
-
Simplify static analysis script
With the count down, it's no longer as beneficial to separate things out into per-library reports - just assemble a single report for the all target, and use the total report count as a criteria for failure - like our other checks, if the count rises over the current known rate report failure. We'll lower the number as issues are resolved.
Configuration menu - View commit details
-
Copy full SHA for c103fc4 - Browse repository at this point
Copy the full SHA c103fc4View commit details
Commits on Dec 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2f80d89 - Browse repository at this point
Copy the full SHA 2f80d89View commit details -
Messed up the memory allocation sizes needed when adjusting the types…
… when trying to satisfy the static analyzer - revert until the correct change is set up.
Configuration menu - View commit details
-
Copy full SHA for f08604d - Browse repository at this point
Copy the full SHA f08604dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 894ccbe - Browse repository at this point
Copy the full SHA 894ccbeView commit details -
Reapply the type matching, but this time correct the overall allocati…
…on size for the two previously using int.
Configuration menu - View commit details
-
Copy full SHA for 1ebbf2a - Browse repository at this point
Copy the full SHA 1ebbf2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f03f0e2 - Browse repository at this point
Copy the full SHA f03f0e2View commit details -
apply a fix upstream already has
libtclstub ends up with an unresolved symbol as TclIsSpaceProc is not available in the stub lib. this causes mac build to fail hard on anything linking the stub lib (like tk).
Configuration menu - View commit details
-
Copy full SHA for 819644c - Browse repository at this point
Copy the full SHA 819644cView commit details
Commits on Dec 7, 2021
-
Ah - at least with clang 12 on Linux, the compiler test needs -lasan …
…for the flag test to succeed. Leaving commented out as actually enabling the flag appears to cause breakage.
Configuration menu - View commit details
-
Copy full SHA for 95f242b - Browse repository at this point
Copy the full SHA 95f242bView commit details -
Add some env2c workaround logic for -lasan
Well this is wacky... apparently adding the -fsanitize=address flag changes the results of the FindThreads test, causing it to not add -lpthread. If we don't use the flag consistently everywhere after we start using that flag the address+Threads result will break independent logic that's not using the -fsanatize setting.
Configuration menu - View commit details
-
Copy full SHA for 401cc9d - Browse repository at this point
Copy the full SHA 401cc9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for df457c5 - Browse repository at this point
Copy the full SHA df457c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a45e1 - Browse repository at this point
Copy the full SHA d3a45e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c59a9d0 - Browse repository at this point
Copy the full SHA c59a9d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2786f75 - Browse repository at this point
Copy the full SHA 2786f75View commit details -
Configuration menu - View commit details
-
Copy full SHA for c937aaa - Browse repository at this point
Copy the full SHA c937aaaView commit details
Commits on Dec 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b6625e0 - Browse repository at this point
Copy the full SHA b6625e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f4c9e6 - Browse repository at this point
Copy the full SHA 0f4c9e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c23b6a - Browse repository at this point
Copy the full SHA 8c23b6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a61b42 - Browse repository at this point
Copy the full SHA 6a61b42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bfd084 - Browse repository at this point
Copy the full SHA 7bfd084View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e9c649 - Browse repository at this point
Copy the full SHA 1e9c649View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9988fc - Browse repository at this point
Copy the full SHA a9988fcView commit details -
Hide AddressSanitizer flags behind an option
We don't want this to accidentally activate if -lasan is no longer a requirement someday - BRL-CAD's code isn't ready for it yet. In particular, the LeakSanitizer trips up on the rt_free_rti/rt_clean tangle as well as _db_walk_subtree. The former may need elimination of the rt_uniresource global to properly clean up, and the latter is deep in the raytracing core and will have to be approached very carefully. For convenience, here are the backtraces: 889: Test command: build/bin/gqa "-P" "1" "-Ao" "-p" "ovlp_" "brlcad/src/gtools/tests/../../libged/tests/ged_tests.g" "ovlp" 889: Test timeout computed to be: 1500 889: Trying initial grid spacing: 50 mm 889: Using grid spacing lower limit: 0.005 mm 889: Plotting overlaps to ovlp_overlaps.plot3 889: Processing with grid spacing 50 mm 44 x 48 x 39 889: Summary (50mm grid spacing): 889: list Overlaps: 889: /ovlp/r1 /ovlp/r2 count:2277 dist:1780.3mm @ (-248 350 -903.325) 889: 889: ================================================================= 889: ==672620==ERROR: LeakSanitizer: detected memory leaks 889: 889: Direct leak of 524288 byte(s) in 1024 object(s) allocated from: 889: #0 0x498087 in posix_memalign (build/bin/gqa+0x498087) 889: #1 0x7f9d3ca476c3 in alloc brlcad/src/libbu/malloc.c:137:10 889: #2 0x7f9d3ca478f6 in bu_calloc brlcad/src/libbu/malloc.c:174:12 889: #3 0x7f9d3ca9b25e in bu_ptbl_init brlcad/src/libbu/ptbl.c:45:26 889: #4 0x7f9d40d38be4 in rt_init_resource brlcad/src/librt/prep.c:855:2 889: #5 0x7f9d40d3ba65 in rt_clean_resource brlcad/src/librt/prep.c:1063:5 889: #6 0x7f9d40d3239a in rt_clean brlcad/src/librt/prep.c:1210:6 889: #7 0x7f9d40d30f80 in rt_free_rti brlcad/src/librt/prep.c:170:5 889: #8 0x7f9d380c4573 (<unknown module>) 889: #9 0x7f9d424f2526 in ged_exec brlcad/src/libged/exec.cpp:83:16 889: #10 0x7f9d424fd51b in ged_gqa brlcad/src/libged/exec_mapping.cpp:177:1 889: #11 0x4c8b17 in main brlcad/src/gtools/gqa.c:105:11 889: #12 0x7f9d3c6be0b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16 889: 889: Direct leak of 524288 byte(s) in 1024 object(s) allocated from: 889: #0 0x498087 in posix_memalign (build/bin/gqa+0x498087) 889: #1 0x7f9d3ca476c3 in alloc brlcad/src/libbu/malloc.c:137:10 889: #2 0x7f9d3ca478f6 in bu_calloc brlcad/src/libbu/malloc.c:174:12 889: #3 0x7f9d3ca9b25e in bu_ptbl_init brlcad/src/libbu/ptbl.c:45:26 889: #4 0x7f9d40d38c65 in rt_init_resource brlcad/src/librt/prep.c:858:2 889: #5 0x7f9d380c0db2 (<unknown module>) 889: #6 0x7f9d424f2526 in ged_exec brlcad/src/libged/exec.cpp:83:16 889: #7 0x7f9d424fd51b in ged_gqa brlcad/src/libged/exec_mapping.cpp:177:1 889: #8 0x4c8b17 in main brlcad/src/gtools/gqa.c:105:11 889: #9 0x7f9d3c6be0b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16 889: 889: Direct leak of 64 byte(s) in 2 object(s) allocated from: 889: #0 0x498087 in posix_memalign (build/bin/gqa+0x498087) 889: #1 0x7f9d3ca476c3 in alloc brlcad/src/libbu/malloc.c:137:10 889: #2 0x7f9d3ca478f6 in bu_calloc brlcad/src/libbu/malloc.c:174:12 889: #3 0x7f9d40ce3610 in _db_walk_subtree brlcad/src/librt/db_tree.c:1914:6 889: #4 0x7f9d40cdd664 in _db_walk_dispatcher brlcad/src/librt/db_tree.c:1992:2 889: #5 0x7f9d3ca795da in bu_parallel brlcad/src/libbu/parallel.c:574:2 889: #6 0x7f9d40cdc2a2 in db_walk_tree brlcad/src/librt/db_tree.c:2199:5 889: #7 0x7f9d41893a86 in rt_gettrees_muves brlcad/src/librt/tree.c:779:6 889: #8 0x7f9d4189bb3f in rt_gettrees_and_attrs brlcad/src/librt/tree.c:883:12 889: #9 0x7f9d4189bcba in rt_gettree brlcad/src/librt/tree.c:896:11 889: #10 0x7f9d380c0e88 (<unknown module>) 889: #11 0x7f9d424f2526 in ged_exec brlcad/src/libged/exec.cpp:83:16 889: #12 0x7f9d424fd51b in ged_gqa brlcad/src/libged/exec_mapping.cpp:177:1 889: #13 0x4c8b17 in main brlcad/src/gtools/gqa.c:105:11 889: #14 0x7f9d3c6be0b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16 889: 889: Direct leak of 64 byte(s) in 2 object(s) allocated from: 889: #0 0x498087 in posix_memalign (build/bin/gqa+0x498087) 889: #1 0x7f9d3ca476c3 in alloc brlcad/src/libbu/malloc.c:137:10 889: #2 0x7f9d3ca478f6 in bu_calloc brlcad/src/libbu/malloc.c:174:12 889: #3 0x7f9d40c2a4bc in rt_comb_import5 brlcad/src/librt/comb/comb.c:518:6 889: #4 0x7f9d40c79613 in rt_db_external5_to_internal5 brlcad/src/librt/db5_io.c:958:8 889: #5 0x7f9d40c79e9f in rt_db_get_internal5 brlcad/src/librt/db5_io.c:998:11 889: #6 0x7f9d40ce6b76 in rt_db_get_internal brlcad/src/librt/dir.c:131:9 889: #7 0x7f9d40cd31b4 in db_recurse brlcad/src/librt/db_tree.c:1016:6 889: #8 0x7f9d40ce34ee in _db_walk_subtree brlcad/src/librt/db_tree.c:1898:16 889: #9 0x7f9d40cdd664 in _db_walk_dispatcher brlcad/src/librt/db_tree.c:1992:2 889: #10 0x7f9d3ca795da in bu_parallel brlcad/src/libbu/parallel.c:574:2 889: #11 0x7f9d40cdc2a2 in db_walk_tree brlcad/src/librt/db_tree.c:2199:5 889: #12 0x7f9d41893a86 in rt_gettrees_muves brlcad/src/librt/tree.c:779:6 889: #13 0x7f9d4189bb3f in rt_gettrees_and_attrs brlcad/src/librt/tree.c:883:12 889: #14 0x7f9d4189bcba in rt_gettree brlcad/src/librt/tree.c:896:11 889: #15 0x7f9d380c0e88 (<unknown module>) 889: #16 0x7f9d424f2526 in ged_exec brlcad/src/libged/exec.cpp:83:16 889: #17 0x7f9d424fd51b in ged_gqa brlcad/src/libged/exec_mapping.cpp:177:1 889: #18 0x4c8b17 in main brlcad/src/gtools/gqa.c:105:11 889: #19 0x7f9d3c6be0b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16 889: 889: SUMMARY: AddressSanitizer: 1048704 byte(s) leaked in 2052 allocation(s).
Configuration menu - View commit details
-
Copy full SHA for 3e593d9 - Browse repository at this point
Copy the full SHA 3e593d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2622d8 - Browse repository at this point
Copy the full SHA a2622d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82003f4 - Browse repository at this point
Copy the full SHA 82003f4View commit details -
This is user visible - bot_merge won't segfault now when handed bots …
…of different types (like bot_merge merged.bot *.t0 in the FAA Generic_Twin example.)
Configuration menu - View commit details
-
Copy full SHA for dea11d2 - Browse repository at this point
Copy the full SHA dea11d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc52ca6 - Browse repository at this point
Copy the full SHA dc52ca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d1c45 - Browse repository at this point
Copy the full SHA b7d1c45View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3c4746 - Browse repository at this point
Copy the full SHA a3c4746View commit details -
Configuration menu - View commit details
-
Copy full SHA for e32e4b7 - Browse repository at this point
Copy the full SHA e32e4b7View commit details -
With ged_close cleaning up after ged_open, remove manual BU_PUT calls…
… cleaning up gedp in various places.
Configuration menu - View commit details
-
Copy full SHA for 1d0314e - Browse repository at this point
Copy the full SHA 1d0314eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 193bedb - Browse repository at this point
Copy the full SHA 193bedbView commit details -
Configuration menu - View commit details
-
Copy full SHA for fadc43f - Browse repository at this point
Copy the full SHA fadc43fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9e7b28 - Browse repository at this point
Copy the full SHA f9e7b28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0572bc4 - Browse repository at this point
Copy the full SHA 0572bc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a90ba0c - Browse repository at this point
Copy the full SHA a90ba0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10def9e - Browse repository at this point
Copy the full SHA 10def9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 613f32f - Browse repository at this point
Copy the full SHA 613f32fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7fc05a - Browse repository at this point
Copy the full SHA c7fc05aView commit details -
Handle a corner case in bu_argv_free where we have an array allocated…
… but no contents - we still need to free the argv container.
Configuration menu - View commit details
-
Copy full SHA for de30936 - Browse repository at this point
Copy the full SHA de30936View commit details -
Make the fb names static, to match dm names
Oof. Writing down the details on this one, as I doubt I'll remember... The start was turning on both the AddressSanitizer and Qt. When doing so, most programs suddenly began reporting memory leaks. However, the report was rather cryptic, being four entries similar to this one: ==1262202==ERROR: LeakSanitizer: detected memory leaks Direct leak of 21 byte(s) in 1 object(s) allocated from: #0 0x498087 in posix_memalign (build/src/libdm/tests/dm_test+0x498087) #1 0x7f4e90e53675 in alloc brlcad/src/libbu/malloc.c:129:10 #2 0x7f4e90e53400 in bu_malloc brlcad/src/libbu/malloc.c:167:12 #3 0x7f4e90ee1c02 in bu_strdupm brlcad/src/libbu/str.c:165:17 #4 0x7f4e87dcd3e9 (<unknown module>) #5 0x7f4e87dcdea5 (<unknown module>) #6 0x7f4e9650eb89 (/lib64/ld-linux-x86-64.so.2+0x11b89) I wasn't immediately sure if the unknown module error was related to the plugin loading, and spent a lot of time trying to find a string memory issue in dm_init.cpp. After that proved fruitless, other than to confirm that the error disappeared if i removed the bu_dlclose-ing of the handles saved at initialization, I began to look for ways to decode the "unknown module" entries. That led to the following issue: google/sanitizers#89 which describes the problem ASan has with dynamic libraries. Comments indicated that it would see real issues, but won't report which dynamic library they come from (and there are no plans to fix this anytime soon... grr...). In fairness, valgrind can see the error too but also has the same reporting problem; it appears to be ubiquitous. Fortunately, we have an alternative due to the way our plugin system and test apps work - we can simply add and remove .so files to the directory and see how the error reporting changes to zero in on which file(s) are triggering the problem. Doing so quickly made apparent what should have been obvious in retrospect - two of the errors each were coming from the Qt and swrast plugins, which had been off in earlier testing. Since there was no backtrace beyond the bu_strdupm call itself, and there were two errors per file, the suspect was the bu_strdup calls initializing the "char *" names for the fb structures. The C files use static strings (which is why the non-Qt plugins didn't show the issue), but C++ doesn't tolerate the type mismatch. The original hack workaround was just to bu_strdup and create a (char *) string, but as the leak detectors correctly note this also means there's no way to clean up the allocated memory. As far as I can tell there is no reason for these strings to be editable (char *) strings - the dm container's equivalents are static. This commit removes any logic assuming if_name is dynamic, and also removes the bu_strdup hack from Qt and swrast.
Configuration menu - View commit details
-
Copy full SHA for 046f47b - Browse repository at this point
Copy the full SHA 046f47bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 219f02c - Browse repository at this point
Copy the full SHA 219f02cView commit details
Commits on Dec 9, 2021
-
Use dm_open to pair with the dm_close call in finish - dm_set_null do…
…esn't work when we do that.
Configuration menu - View commit details
-
Copy full SHA for ac5f006 - Browse repository at this point
Copy the full SHA ac5f006View commit details
Commits on Dec 10, 2021
-
CID 1488714 - using pointer to individual char as string array
db_str2op expects a NULL terminated const char * array - it skips leading whitespace with a while(*str) loop, so it needs to know when to stop. Use null terminated strings as input instead of pointers to individual chars.
Configuration menu - View commit details
-
Copy full SHA for 0c7474d - Browse repository at this point
Copy the full SHA 0c7474dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8915338 - Browse repository at this point
Copy the full SHA 8915338View commit details -
Clean up some memory inside the lemon parser.
CID 280107, 280144. A quick trial indicates that we'll need other changes if we update lemon.c and lempar.c to the latest upstream versions, so for now just mod our copies to free the memory.
Configuration menu - View commit details
-
Copy full SHA for 8d40c75 - Browse repository at this point
Copy the full SHA 8d40c75View commit details -
Configuration menu - View commit details
-
Copy full SHA for b66ae17 - Browse repository at this point
Copy the full SHA b66ae17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e2917d - Browse repository at this point
Copy the full SHA 4e2917dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b05c317 - Browse repository at this point
Copy the full SHA b05c317View commit details -
CID 1127262. If I'm understanding this correctly, Coverity is spotting the bounds check in the debug printing statement, interpreting this as an indication that yyruleno might exceed the array size, and (assuming that's true) then points out that if yyruleno CAN do that it would result in a problem when the array contents are accessed later on. Just do the check up front, to make sure we don't get into this logic with a problematic yyruleno, and warn if we hit it. Not sure if the debugging logic was doing this check on general principles or they had an issue at some point...
Configuration menu - View commit details
-
Copy full SHA for 1194161 - Browse repository at this point
Copy the full SHA 1194161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 330c2ed - Browse repository at this point
Copy the full SHA 330c2edView commit details -
Validate size and allocation separately
CID 1309088 Memory wasn't getting freed correctly in the error case - separate out the checks so we can do the right thing in each case.
Configuration menu - View commit details
-
Copy full SHA for d7639c9 - Browse repository at this point
Copy the full SHA d7639c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d707bd - Browse repository at this point
Copy the full SHA 5d707bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 157836a - Browse repository at this point
Copy the full SHA 157836aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d934df - Browse repository at this point
Copy the full SHA 2d934dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 896763d - Browse repository at this point
Copy the full SHA 896763dView commit details
Commits on Dec 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4eb337e - Browse repository at this point
Copy the full SHA 4eb337eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30bc254 - Browse repository at this point
Copy the full SHA 30bc254View commit details
Commits on Dec 13, 2021
-
adding 1 to the buffer is contrary to the meaning of BUFSIZ.
follow the same pattern used throughout the file. manually nul-terminating after copying into the buffer.
Configuration menu - View commit details
-
Copy full SHA for 669e20a - Browse repository at this point
Copy the full SHA 669e20aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cab40b1 - Browse repository at this point
Copy the full SHA cab40b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c4b887 - Browse repository at this point
Copy the full SHA 7c4b887View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8e8c9 - Browse repository at this point
Copy the full SHA 7f8e8c9View commit details -
going through db_str2op() is silly when the type is known.
putting in the appropriate WMOP really makes it evident that the ops may be wrong too based on the nearby logic and comments. leaving a FIXME note instead of updating, though as not set up to test changing it.
Configuration menu - View commit details
-
Copy full SHA for 8956fb4 - Browse repository at this point
Copy the full SHA 8956fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3f206c - Browse repository at this point
Copy the full SHA a3f206cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a781547 - Browse repository at this point
Copy the full SHA a781547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1966c54 - Browse repository at this point
Copy the full SHA 1966c54View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce71407 - Browse repository at this point
Copy the full SHA ce71407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b479fc - Browse repository at this point
Copy the full SHA 6b479fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe865f - Browse repository at this point
Copy the full SHA 3fe865fView commit details -
Call bu_dlclose to clean up the bu_dlopen handles
CID 1487593 - without a way to clean up the dlopen handles, we're leaking resources. Error cases are simple - just close before returning - but if we want to persist the successful handles until we're done converting we need to be able to stash them in the context.
Configuration menu - View commit details
-
Copy full SHA for aa35a09 - Browse repository at this point
Copy the full SHA aa35a09View commit details -
Configuration menu - View commit details
-
Copy full SHA for f26440b - Browse repository at this point
Copy the full SHA f26440bView commit details -
Fix gcv option handling, get regress-dem working
Option handling was broken in gcv, and the target name was wrong for enabling the GDAL test for converting a dem file.
Configuration menu - View commit details
-
Copy full SHA for ea1607c - Browse repository at this point
Copy the full SHA ea1607cView commit details -
Adjust vrml parser memory management, add test
CID 1487599 - creating a new node and then immediately overwriting it with createNewNode was leaking memory. While we're at it, add a basic regression test to make sure the VRML conversion plugin runs.
Configuration menu - View commit details
-
Copy full SHA for 6f595ab - Browse repository at this point
Copy the full SHA 6f595abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ceda9 - Browse repository at this point
Copy the full SHA 50ceda9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7204511 - Browse repository at this point
Copy the full SHA 7204511View commit details -
CID 1487624 - If I understand this correctly, Coverity is indicating that this resource is copied rather than pointed to, and thus we need to be freeing it locally.
Configuration menu - View commit details
-
Copy full SHA for f05bdba - Browse repository at this point
Copy the full SHA f05bdbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3942b19 - Browse repository at this point
Copy the full SHA 3942b19View commit details -
Null out pointer after freeing
CID 1487628 - prompted by this, but not 100% this is the fix...
Configuration menu - View commit details
-
Copy full SHA for 48a3cd8 - Browse repository at this point
Copy the full SHA 48a3cd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca6c61f - Browse repository at this point
Copy the full SHA ca6c61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75295d8 - Browse repository at this point
Copy the full SHA 75295d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 562e9bd - Browse repository at this point
Copy the full SHA 562e9bdView commit details
Commits on Dec 14, 2021
-
Free pathbuf in all cases, not just inside the if
CID 718529 - need to free pathbuf even if path == NULL.
Configuration menu - View commit details
-
Copy full SHA for 233a34a - Browse repository at this point
Copy the full SHA 233a34aView commit details -
CID 1487662 CmdMgr constructor allocates memory witn hew, but didn't have a destructor to free it.
Configuration menu - View commit details
-
Copy full SHA for e240082 - Browse repository at this point
Copy the full SHA e240082View commit details -
Don't return pointers to local arrays
CID 1487674 - function was returning a pointer to locally scoped arrays, which means the caller would have no guarantee that the contents would remain correct. Make the arrays static, since they are are supplying fixed definitions that will not change for the life of the program.
Configuration menu - View commit details
-
Copy full SHA for 9d079ed - Browse repository at this point
Copy the full SHA 9d079edView commit details -
Add a few operators and methods to classes
Since we're using C++ containers and copying for these (at least for the moment) it looks like Coverity is setting some issues with uninitialized data. Not sure if this is the answer, but it's at least a little more explicit about the intent.
Configuration menu - View commit details
-
Copy full SHA for 758c633 - Browse repository at this point
Copy the full SHA 758c633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2edf7e9 - Browse repository at this point
Copy the full SHA 2edf7e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d756125 - Browse repository at this point
Copy the full SHA d756125View commit details -
Adjust maximum count for MarchingSquares
CID 1487686 - Coverity reporting that MarchingSquares::vertexList in SetVertex has size 4, but the loop was going to 11. At a guess the 12 limit may have come from the edge count of a cube, not a square...
Configuration menu - View commit details
-
Copy full SHA for 1dbab78 - Browse repository at this point
Copy the full SHA 1dbab78View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6187b2 - Browse repository at this point
Copy the full SHA b6187b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e6c60 - Browse repository at this point
Copy the full SHA 66e6c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d9615 - Browse repository at this point
Copy the full SHA e7d9615View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38790e - Browse repository at this point
Copy the full SHA f38790eView commit details -
CID 1487956 - Resource leak reported by Coverity if testing fd <= 0 and fd == 0.
Configuration menu - View commit details
-
Copy full SHA for af7478f - Browse repository at this point
Copy the full SHA af7478fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d25f2f - Browse repository at this point
Copy the full SHA 8d25f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35e37de - Browse repository at this point
Copy the full SHA 35e37deView commit details -
If reading the man page correctly, fd==0 is valid
CID 1488673 Resource leak when fd == 0
Configuration menu - View commit details
-
Copy full SHA for 3f3cbdc - Browse repository at this point
Copy the full SHA 3f3cbdcView commit details -
Supply array in case it is needed
CID 1495209 - this may be a false positive in that the set of possible keys doesn't seem to include the GL_MODELVIEW_MATRX case, but go ahead and supply it anyway.
Configuration menu - View commit details
-
Copy full SHA for b15ae8d - Browse repository at this point
Copy the full SHA b15ae8dView commit details -
Can't do this for the i == 0 case
CID 1495029 If we're already at the lowest index, [i-1] doesn't work
Configuration menu - View commit details
-
Copy full SHA for c5b49db - Browse repository at this point
Copy the full SHA c5b49dbView commit details -
CID 1494821, CID 1494747 - looping using VBO_ATTRIB_FIRST_MATERIAL as an index limit, which is defined as 32, not 16.
Configuration menu - View commit details
-
Copy full SHA for 22b5bc2 - Browse repository at this point
Copy the full SHA 22b5bc2View commit details -
Parse_ScalarConstant needs an array
CID 1495078 - Parse_ScalarConstant's numerical path assigns the number to four slots in an array, but as the caller incremented the available output array got smaller - result, Out-of-bounds access if the numerical case activated. Rather than passing in vec directly, use a temporary array so Parse_ScalarConstant has enough room.
Configuration menu - View commit details
-
Copy full SHA for be85013 - Browse repository at this point
Copy the full SHA be85013View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1c76c - Browse repository at this point
Copy the full SHA ac1c76cView commit details -
Correct parameter passed by _mesa_TexEnvfv
CID: 1494906 Do here what is done for _mesa_TexEnvfi and provide a large enough array to pass to the next function.
Configuration menu - View commit details
-
Copy full SHA for 0ff04b2 - Browse repository at this point
Copy the full SHA 0ff04b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9011c04 - Browse repository at this point
Copy the full SHA 9011c04View commit details -
More out-of-bounds corrections
CID 1494720 CID 1494859 CID 1494865
Configuration menu - View commit details
-
Copy full SHA for 1956eac - Browse repository at this point
Copy the full SHA 1956eacView commit details -
Configuration menu - View commit details
-
Copy full SHA for b469e8b - Browse repository at this point
Copy the full SHA b469e8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b969b9 - Browse repository at this point
Copy the full SHA 8b969b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a07c03 - Browse repository at this point
Copy the full SHA 0a07c03View commit details -
Ensure we're not beyond Attachment array size
CID 714349 - this probably indicates some other issue, since these are all constants and I wouldn't expect any invalid combinations...
Configuration menu - View commit details
-
Copy full SHA for 7df397f - Browse repository at this point
Copy the full SHA 7df397fView commit details
Commits on Dec 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8c42148 - Browse repository at this point
Copy the full SHA 8c42148View commit details -
make sure we free the correct memory
CID 1495416: pathbuf may get assigned a different value during processing, so use a local variable to ensure we always free what was originally malloced.
Configuration menu - View commit details
-
Copy full SHA for 71510f1 - Browse repository at this point
Copy the full SHA 71510f1View commit details -
CID 1487777 Per Coverity, free of address-of expression: moveTrisToNodes frees incorrect pointer root.
Configuration menu - View commit details
-
Copy full SHA for 4018881 - Browse repository at this point
Copy the full SHA 4018881View commit details -
Null out vars and sanity check in bspline.cpp
CID 1488304 and probably a few others... Use after free errors.
Configuration menu - View commit details
-
Copy full SHA for f94be05 - Browse repository at this point
Copy the full SHA f94be05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d23753 - Browse repository at this point
Copy the full SHA 5d23753View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c32dea - Browse repository at this point
Copy the full SHA 2c32deaView commit details -
Use local variables for the object arrays
CID 1489147 - had a free call where we didn't need it. obj_array appears to function locally within each block, so use local variables to help avoid introducing this issue. I suspect we aren't cleaning up the memory fully in all cases here...
Configuration menu - View commit details
-
Copy full SHA for f021a00 - Browse repository at this point
Copy the full SHA f021a00View commit details -
Make new_planes a local variable, validate parsing
CID 1488895 - commit prompted by this issue, but not 100% sure this is the fix. Looks like multiple loops are hitting a case where arbn->eqn and new_planes contain the same pointer, but not immediately obvious what's prompting that. First guess is something stale in the new_plane pointer, which was defined at the top level function scope, so bringing it local to make behavior clearer.
Configuration menu - View commit details
-
Copy full SHA for ba014d9 - Browse repository at this point
Copy the full SHA ba014d9View commit details -
Use the %p specifier (standard) to print pointers
CID 1488175 is indicating pc->pkc_inbuf isn't NULL terminated because it's contents come from read (which is true) and therefore snprintf has a problem with it. That would be true if we were trying to print the pkc_inbuf contents as a string, but I think the intent here is to print pointers, which should make NULL termination moot. (Printing the pointers here is of questionable utility, but that's another discussion...) See if using %p is more acceptable to Coverity.
Configuration menu - View commit details
-
Copy full SHA for 80ec646 - Browse repository at this point
Copy the full SHA 80ec646View commit details -
CID 1488979 - tt_name is a 64 char array in the struct, not a dynamic string.
Configuration menu - View commit details
-
Copy full SHA for c1738ed - Browse repository at this point
Copy the full SHA c1738edView commit details -
Use the correct free function for this vls
CID 1488030 - using the function that frees the vls contents and the vls container, but we just need the contents here.
Configuration menu - View commit details
-
Copy full SHA for 013f2a1 - Browse repository at this point
Copy the full SHA 013f2a1View commit details -
Make sure we never get to BLADE_MAX
CID 1488594 I think this might be a false positive, as CLAMP should be keeping pl->blades within bounds, but go ahead and also make sure blade never gets to BLADE_MAX to see if that helps.
Configuration menu - View commit details
-
Copy full SHA for 87b6cf2 - Browse repository at this point
Copy the full SHA 87b6cf2View commit details -
Close fd if we got it from a file
CID 1487758 - Need to close fd if we got it from open()
Configuration menu - View commit details
-
Copy full SHA for ac087ee - Browse repository at this point
Copy the full SHA ac087eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d05202 - Browse repository at this point
Copy the full SHA 4d05202View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93baa66 - Browse repository at this point
Copy the full SHA 93baa66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98548fd - Browse repository at this point
Copy the full SHA 98548fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf4f84 - Browse repository at this point
Copy the full SHA 5cf4f84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31189e1 - Browse repository at this point
Copy the full SHA 31189e1View commit details -
Refactor the char->op portion of db_str2op
CID 1488217 If we are representing booleans with a single char, need a more convenient way to get the corresponding db_opt_t to avoid getting into trouble with out-of-bounds access issues.
Configuration menu - View commit details
-
Copy full SHA for d4d2d45 - Browse repository at this point
Copy the full SHA d4d2d45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 218a7dd - Browse repository at this point
Copy the full SHA 218a7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f332f58 - Browse repository at this point
Copy the full SHA f332f58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 411367a - Browse repository at this point
Copy the full SHA 411367aView commit details -
Need buf to be big enough for 3 channels
CID 1488266 fb_rect.c:158 - overrunning array of 24576 bytes at byte offset 73725
Configuration menu - View commit details
-
Copy full SHA for 0a486a9 - Browse repository at this point
Copy the full SHA 0a486a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c8c5e - Browse repository at this point
Copy the full SHA e7c8c5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc1a3f6 - Browse repository at this point
Copy the full SHA dc1a3f6View commit details -
Just use fread results rather than strlen
CID 1488493 Coverity doesn't like doing strlen on the fread results due to possibly not being NULL terminated. I think this may be a false positive? I would expect the memset on the buffer to give us a guaranteed null at buf[BUFFER_SIZE]...
Configuration menu - View commit details
-
Copy full SHA for 3d8db37 - Browse repository at this point
Copy the full SHA 3d8db37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e8fe96 - Browse repository at this point
Copy the full SHA 1e8fe96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d7857 - Browse repository at this point
Copy the full SHA 20d7857View commit details -
Configuration menu - View commit details
-
Copy full SHA for 246db54 - Browse repository at this point
Copy the full SHA 246db54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f29e9f - Browse repository at this point
Copy the full SHA 3f29e9fView commit details -
Handle stash->connection being closed by err case
CID 1488763 If stash->connection is already closed, don't keep working with it.
Configuration menu - View commit details
-
Copy full SHA for 4f0328e - Browse repository at this point
Copy the full SHA 4f0328eView commit details -
Tighten check for high LZW code
CID 1488494 - if c == next_code == 4096, then Expand(c) triggers an OVERRUN condition.
Configuration menu - View commit details
-
Copy full SHA for 741364e - Browse repository at this point
Copy the full SHA 741364eView commit details -
Hmm. c >= next_code results in some gif displays that previously work…
…ed failing. Try increasing table size, and use bu_log to print the error code (Message is mangling the number)
Configuration menu - View commit details
-
Copy full SHA for 9a3e665 - Browse repository at this point
Copy the full SHA 9a3e665View commit details -
Configuration menu - View commit details
-
Copy full SHA for 497b760 - Browse repository at this point
Copy the full SHA 497b760View commit details -
Merge pull request #8 from treydinges/chris-appleseed-cmake-update
Update to art with a slew of significant changes from Chris McGregor This adds support for the set command to control the number of samples, it lets are utilize OSL shaders from appleseed that are set on objects via material objects (optical "OSL" property), and it should support most of the RTUIF commands (e.g., az/el) although the code was reverted to a +y coordinate frame which results in a 90-degree rotated output image. Most significant in this pull is the conversion to registering each region individually as an appleseed object, so material properties and color can be applied per-object. There is one big performance-impacting hack in the code -- a per ray string comparison. Current librt rt_shootray() hit callback is initialized with the whole scene, but needs to report only hits for a single specific object at a time. Hack was to check if it's the right object by way of a string path-to-region comparison. Needs separate per-object rtip's or a numeric handle (e.g., pointer) to each region otherwise (depending on whether we think librt or appleseed's spatial partitioning is faster). Outstanding work from Chris.
Configuration menu - View commit details
-
Copy full SHA for 3a3daba - Browse repository at this point
Copy the full SHA 3a3dabaView commit details -
output.c_str() is a problem when scope changes
CID 1488969 - Per Coverity: internal representation of local output escapes into output_file, but is destroyed when it exits scope. Make a C copy of the string for subsequent use, and free it when no longer needed.
Configuration menu - View commit details
-
Copy full SHA for 27f2ede - Browse repository at this point
Copy the full SHA 27f2edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf618d7 - Browse repository at this point
Copy the full SHA cf618d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76a9775 - Browse repository at this point
Copy the full SHA 76a9775View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdac4a7 - Browse repository at this point
Copy the full SHA bdac4a7View commit details -
Free char_def_prod once we are done with it
CID 1489084 - resource leak
Configuration menu - View commit details
-
Copy full SHA for b767743 - Browse repository at this point
Copy the full SHA b767743View commit details