[Bug 261195] astro/sunclock Image creation failed (memory alloc. problem?) !!

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Jan 2022 13:09:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261195

Fernando ApesteguĂ­a <fernape@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fernape@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Fernando ApesteguĂ­a <fernape@FreeBSD.org> ---
(In reply to Graham Perrin from comment #0)
And do you have enough memory? :-P

It runs OK in my 13.0-RELEASE-p4. I'll try to build it in a -CURRENT, but in
the meantime, would you be able to get a backtrace? The error could come from
one of 5 functions:


 if (strstr(path, ".gif"))
      code = readGIF(path, Context);
   else
   if (strstr(path, ".jpg"))
      code = readJPEG(path, Context);
   else
   if (strstr(path, ".png"))
      code = readPNG(path, Context);
   else
   if (strstr(path, ".vmf"))
      code = readVMF(path, Context);
   else
   if (strstr(path, ".xpm"))
      code = readXPM(path, Context);

   if (code) {
      report_failure(path, code);

It would also help to know which file is failing to load. Also, what do you get
when you run:

ldd /usr/local/bin/sunclock

Cheers

-- 
You are receiving this mail because:
You are the assignee for the bug.