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: Juanma Barranquero
Subject: Re: How about using static link instead of dynamic loaded dlls?
Date: Thu, 05 Jun 2003 21:38:57 +0200

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... :(

                                                           /L/e/k/t/u





reply via email to

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