[Glade-devel] win32 patch for glade-2.5.1 cvs
- From: email ivanwong info (Ivan Wong)
- Subject: [Glade-devel] win32 patch for glade-2.5.1 cvs
- Date: Mon, 12 Apr 2004 20:34:03 +0800
It seems that you can trace with full runtime debug symbols...........is it
means that your current glade project is set to link with a DEBUG MT
runtime?
If yes then you can try to use RELEASE MT runtime in your project. It
doesn't matter with intl.dll or iconv.dll (as well as all gtk+ related
.dlls, libxml2, etc.) because most of them distributed around the Internet
are already using MSVCRT.DLL.
----- Original Message -----
From: "todd" <taf2 lehigh edu>
To: "todd" <taf2 Lehigh EDU>
Cc: "Ivan Wong" <email ivanwong info>; <glade-devel ximian com>
Sent: Monday, April 12, 2004 18:08
Subject: Re: [Glade-devel] win32 patch for glade-2.5.1 cvs
Sorry, about so many postings. but I was just running through the code
with the debugger and found that the glade is crashing
in the msvcrt in a function named _lock_file in _file.c.
the line is:
EnterCriticalSection( &(((_FILEX*)pf)->lock) );
the problem is pf->lock is NULL so that's why i'm crashing. of course
pf was created via the fopen back in save.c in the glade source
code in the function glade_util_fopen called from
save_project_file_internal.
of course I tried a simple test program where I open a file with fopen
and fprintf a few characters to it and it works fine. So, i'm convinced
something in memory is not right.
-todd
todd wrote:
Thanks, for the pointer but still not luck. I recompiled iconv and
libintl using MSVCRT.dll and i still have the same issue when
clicking on the save button in glade. Also, I noticed that the source
in 2.0.1 had the same static memory free issue as 2.5.1 for _WIN32,
I'm getting a demo license for insure++ maybe that will find the
problem its similar to valgrind.
-todd
Link with MSVCRT.dll (release, multithreaded), passing file pointer
across
different M$VC runtime will crash.
I believe that patching 2.5.1 for win32 is more or less the same as
patching
2.0.1 (though I haven't really tried), may be this's useful:
http://gladewin32.sf.net
----- Original Message ----- From: "todd" <taf2 lehigh edu>
Cc: <glade-devel ximian com>
Sent: Monday, April 12, 2004 09:36
Subject: [Glade-devel] win32 patch for glade-2.5.1 cvs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]