[webkit-gtk] Win32 program crashes when loading pages that have jpg images

SCU Rock scurock at gmail.com
Tue Apr 27 22:44:48 PDT 2010


   I have fixed this problem. It was not caused by msvcrt.dll, but by
the inconsistency between libjpeg-<n>.dll and the webkit library. The
crash point is shown on my gdb debugger at setjmp() in msvcrt.dll
though. The same bug is mentioned at
https://bugzilla.redhat.com/show_bug.cgi?id=497492.

   I patched a fix and rebuilt libjpeg dll file. Now with the new jpeg
dll, now my program works fine.

Cheers.

On Sun, Apr 25, 2010 at 11:36 PM, SCU Rock <scurock at gmail.com> wrote:
>
> Hi Phil,
>
>     Any chance that you have seen the same problem? Do you have a different msvcrt.dll in your runtime environment?
>
> Thanks,
> Eugene
>
> On Thu, Apr 22, 2010 at 3:16 PM, SCU Rock <scurock at gmail.com> wrote:
>>
>> Hi Phil and others,
>>
>>     I am using the webkit-1.1.90-win32 library that Phil has built. I
>> have a problem. When accessing a page that has jpg files, the program
>> would crash. Using GDB, I can see that it crashes at Windows'
>> msvcrt.dll. Below is the gdb debug message.
>>
>> --------------------------
>> gdb: unknown target exception 0x80000026 at 0x75aba57d
>>
>> Program received signal ?, Unknown signal.
>> 0x7751dd7e in setjmp () from C:\Windows\syswow64\msvcrt.dll
>> (gdb)
>> --------------------------
>>
>> I can see that in the source code, setjmp is called in file
>> JPEGImageDecoder.cpp. Running and debugging GtkLauncher, which is in
>> the same webkit-1.1.90-win32 library,  shows the same problem.
>>
>> Is this problem from a WebKit-GTK library bug? Or is this a runtime
>> environment issue?
>>
>> Should the Windows OS msvcrt.dll be called? To run webkit-1.1.90-win32
>> library, should I create a MinGW version of msvcrt.dll?
>>
>> Phil,  do you use another msvcrt.dll when running it?
>>
>> Thanks,
>> Eugene
>


More information about the webkit-gtk mailing list