emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How about using static link instead of dynamic loaded dlls?


From: Jason Rumney
Subject: Re: How about using static link instead of dynamic loaded dlls?
Date: 05 Jun 2003 22:26:15 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Juanma Barranquero <address@hidden> writes:

> On Thu, 05 Jun 2003 13:06:02 +0100, Robin Hu and Jason Rumney wrote:
> 
> > >     While compiling with msvc with optimization turned on, Emacs will
> > >     emit an access vilation exception while load a tiff file or a png
> > >     file. I believe the problem is something related to lookup_image(),
> > >     but debug an optimized program is really hard. ;-( 
> 
> Don't worry: with MSVC 7.0 it happens in non-optimized builds too. I'm
> going to test with 7.1 (aka Visual C++ .NET 2003)
> 
> > Why is it hard? You should be able to get at least some idea of where it
> > is going wrong my single stepping through lookup_image. Maybe some of
> > the underlying machine instructions are not what you would expect from
> > looking at the current line, but that should not stop you from getting a
> > general idea of what is happening.
> 
> We've already discussed this: you can step till png_load, and then bang!
> The crash happens inside the DLL, and the data being passed to the call
> seems correct... :(

So get the debug symbols for the DLL. One of the tarballs at
probably gnuwin32.sourceforge.net has them, or you can try compiling
it yourself with mingw32 to see if you can duplicate the crash.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]