64-bit builds

Main development forum.

Re: 64-bit builds

Postby gerundt » Wed Jun 30, 2010 7:01 am

I tested today may X64 build and have some problems. :-(

I can run WinMerge, can use "New Documents" and can compare folders but it crash, if I want do open two different files from the folder compare. And it crash, if I click in the help menu. The errors looks same:
Unbehandelte Ausnahme bei 0x7762d9e7 in WinMergeU.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0xffffffffffffffff.

Unhandled exception at 0x7762d9e7 in WinMergeU.exe: 0xC0000005: Access violation reading at position 0xffffffffffffffff.


Any idea, what that can be? VS jumps to the line 77 in the file dllpstub.cpp in the HMODULE DLLPSTUB::Load():

Code: Select all
handle = LoadLibraryA(name);
gerundt
Site Admin
 
Posts: 192
Joined: Wed Sep 24, 2008 8:47 am
Location: Germany

Re: 64-bit builds

Postby kimmov » Wed Jun 30, 2010 5:10 pm

That's bad. If I'm guessing right we are trying to load 32-bit libraries to 64-bit process. Which will fail. So we probably need to completely disable at least plugin dlls. And probably also archive support for starters. I don't know if it is feasible to implement archive support for Win64.
kimmov
 
Posts: 562
Joined: Thu Sep 11, 2008 8:51 pm
Location: Finland

Re: 64-bit builds

Postby gerundt » Wed Jun 30, 2010 7:41 pm

The plugins are disabled and the archive support too. But it still crash. Here at my home machine (also a German Windows 7 x64) the help menu click throws a other error:

Eine Ausnahme (erste Chance) bei 0x7771e67c in WinMergeU.exe: 0xC015000F: Der zu deaktivierende Aktivierungskontext ist nicht der zuletzt aktivierte Aktivierungskontext.
... 0xC015000F: The activation context being deactivated is not the most recently activated one.
gerundt
Site Admin
 
Posts: 192
Joined: Wed Sep 24, 2008 8:47 am
Location: Germany

Re: 64-bit builds

Postby kimmov » Thu Jul 01, 2010 11:18 am

Unfortunately I don't have Win64 machine available so I cannot debug these. Only thing I can do now is to fix some of those 64-bit build warnings...
kimmov
 
Posts: 562
Joined: Thu Sep 11, 2008 8:51 pm
Location: Finland

Re: 64-bit builds

Postby gerundt » Fri Jul 09, 2010 12:48 pm

Wow, 46% of all Windows 7 installations are 64bit systems!

Blogging Windows wrote:Are you running a 64-bit edition of Windows 7? There is a high likelihood you are. As of June 2010, we see that 46% of all PCs worldwide running Windows 7 are running a 64-bit edition of Windows 7. That is, nearly half of all PCs running Windows 7 are running 64-bit. Compared to Windows Vista at 3 and a half years after launch, only 11% of PCs running Windows Vista worldwide are running 64-bit. With Windows 7, running a 64-bit OS is becoming the norm.

64-Bit Momentum Surges with Windows 7
gerundt
Site Admin
 
Posts: 192
Joined: Wed Sep 24, 2008 8:47 am
Location: Germany

Re: 64-bit builds

Postby gerundt » Wed Oct 06, 2010 7:10 pm

I tried today again a 64-bit build and got a C7ZipMismatchException exception when I was with the mouse over the Help menu:

Eine Ausnahme (erste Chance) bei 0x75a8b727 in WinMergeU.exe: Microsoft C++-Ausnahme: C7ZipMismatchException an Speicherposition 0x0018e9c8..
gerundt
Site Admin
 
Posts: 192
Joined: Wed Sep 24, 2008 8:47 am
Location: Germany

Re: 64-bit builds

Postby gerundt » Mon Oct 18, 2010 7:18 am

I tested at the weekend to compile x64 version from branch R2_14 and had now problems with it. I can use the Help menu with a crash. So this problem is only in Trunk!
gerundt
Site Admin
 
Posts: 192
Joined: Wed Sep 24, 2008 8:47 am
Location: Germany

Re: 64-bit builds

Postby kimmov » Sun Oct 24, 2010 1:02 pm

I think one very important "fix" would be to combine current 32-bit and 64-bit projects to one project file. VS2005 and later allow this. That would already make 64-bit project compile much easier since lots of project configuration will be shared.
kimmov
 
Posts: 562
Joined: Thu Sep 11, 2008 8:51 pm
Location: Finland

Re: 64-bit builds

Postby vxeo » Mon Jan 03, 2011 4:41 am

Thanks a lot for fixing these issues!
vxeo
 
Posts: 1
Joined: Mon Jan 03, 2011 4:38 am

Previous

Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest