Re: Windows MAGICK_CONFIGURE_PATH options

Bob Friesenhahn <[email protected]> Sat, 7 Mar 2020 18:24:12 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-751600364-1583627052=:19783
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Sat, 7 Mar 2020, 10bxjfhf wrote:
>
> It appears that either has not cause any other issues, but I figured I might 
> as well mention them so you can review them.
>
> 1) in log.c line 298 in my copy, it complains about dereferencing a NULL 
> pointer
>
>  /*
>     Initialize logging semaphore
>   */
>   log_info->log_semaphore=AllocateSemaphoreInfo();

This does not actually happen since the program just quits with an 
error in this case.

> 2) for the function
>
> MagickExport  unsigned int LogMagickEventList(const ExceptionType type,
>
>   const char *module,const char *function,const unsigned long line,
>
>   const char *format,va_list operands)
>
> it complains:
> Warning    C6262    Function uses '16540' bytes of stack:  exceeds 
> /analyze:stacksize '16384'.  Consider moving some data to heap. 
> CORE_magick    D:\PKG\C++\MSVC2019\GM\GM-C031-D3ED\MAGICK\LOG.C 469

I have noticed this.  It is not the worst offender.

> Initially I got no output.
>
> After tracking through
>
> MagickExport  unsigned int LogMagickEventList(const ExceptionType type,
>   const char *module,const char *function,const unsigned long line,
>   const char *format,va_list operands)
>
> I found that I had to move the section testing for the MethodOutput to before 
> the test for TXTFileOutput
>
> because the flag was or'd in

I assume that the problem is due to the return statements above.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
---559023410-751600364-1583627052=:19783
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


---559023410-751600364-1583627052=:19783
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-apis mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-apis

---559023410-751600364-1583627052=:19783--