TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2020-09-29 10:44:00
subject: Re: brl-cad on a Pi4?

On Tue, 29 Sep 2020 00:27:34 -0000 (UTC), bob prohaska 
declaimed the following:

>
>bob@raspberrypi:~/brlcad-code/build $ mged
>BRL-CAD Release 7.32.1  Geometry Editor (MGED)
>    Mon, 28 Sep 2020 16:16:25 -0700, Compilation 2
>    bob@raspberrypi
>
>ERROR: alloc size=0 (cnt=0, sz=4) dm name array
>
>ERROR: bu_malloc(0)
>
>ERROR: bu_malloc(0)
>
>Saving stack trace to mged-5459-bomb.log
>

 That looks like some significant code error... Attempt to allocate a
chunk of memory of SIZE 0!

 It might be worth studying that log to see if you can determine where
in the code this call occurs, and from there track down whatever
computation is being used to determine the size to be allocated. (Note:
that error message actually comes from a level below bu_malloc -- both
bu_malloc and bu_calloc use the same alloc() function, with a parameter
identifying which m/c mode to run in --
https://brlcad.org/docs/doxygen-r64112/d6/dcd/malloc_8c_source.xhtml ).



--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.