[MonetDB-users] crash on Windows with local install
If I install MonetDB in the normal way on a Windows machine, it installs the C runtime library dlls in a location like C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT... However, we want to install MonetDB along with our product, in a single installation procedure that doesn't require the user to have administrative rights. That means we need to install the CRT directory as "private assemblies", copying it to the MonetDB application directories. I've almost gotten this to work by copying the CRT directory to MonetDB5/lib, bin and lib/MonetDB5. I can run MSQLServer.bat and mclient.bat in separate console windows. But when I try to run some SQL commands (my test case is a 'create table' and a 'copy into' from a CSV file), mclient dies with a Windows exception. The event in Event Viewer shows: Faulting application mclient.exe, version 0.0.0.0, faulting module ntdll.dll In theory the private assemblies are all that Windows needs, and in fact the programs run which implies that the libraries are being found. I don't understand why the crash happens later. I'm hoping someone else has tried this. The exception happens with the last official Windows release as well as with our built-from-cvs version. Thanks, Bryan Lewis
Dear Bryan, Thank you for your interest in MonetDB and its packaging into your product. (Can you provide a link with a description?) Unfortunately, the prime person responsible for the Windows platform left for Thanksgiving day and a short (deserved) holiday. This means that a sound technical advice is delayed. Can you trace mclient to determine where the error occurs? The message hints at problems with port settings, but others are more aware of these issues. regards, Martin Bryan Lewis wrote:
If I install MonetDB in the normal way on a Windows machine, it installs the C runtime library dlls in a location like C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT...
However, we want to install MonetDB along with our product, in a single installation procedure that doesn't require the user to have administrative rights. That means we need to install the CRT directory as "private assemblies", copying it to the MonetDB application directories. I've almost gotten this to work by copying the CRT directory to MonetDB5/lib, bin and lib/MonetDB5. I can run MSQLServer.bat and mclient.bat in separate console windows.
But when I try to run some SQL commands (my test case is a 'create table' and a 'copy into' from a CSV file), mclient dies with a Windows exception. The event in Event Viewer shows:
Faulting application mclient.exe, version 0.0.0.0 http://0.0.0.0, faulting module ntdll.dll
In theory the private assemblies are all that Windows needs, and in fact the programs run which implies that the libraries are being found. I don't understand why the crash happens later. I'm hoping someone else has tried this. The exception happens with the last official Windows release as well as with our built-from-cvs version.
Thanks, Bryan Lewis
------------------------------------------------------------------------
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
Now that I am back and caught up, I can look into this problem. Can you specify a bit more precisely what you have done so that I can try to replicate? I can build MonetDB with debugging enabled, so I should then be able to see where it crashes. But I need to know what exactly I should be testing. It is a bit harder to package a debug build since not everything that is normally packaged will be available in the debug build, and lots of file names are different. Martin Kersten wrote:
Dear Bryan,
Thank you for your interest in MonetDB and its packaging into your product. (Can you provide a link with a description?)
Unfortunately, the prime person responsible for the Windows platform left for Thanksgiving day and a short (deserved) holiday. This means that a sound technical advice is delayed.
Can you trace mclient to determine where the error occurs?
The message hints at problems with port settings, but others are more aware of these issues.
regards, Martin
Bryan Lewis wrote:
If I install MonetDB in the normal way on a Windows machine, it installs the C runtime library dlls in a location like C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT...
However, we want to install MonetDB along with our product, in a single installation procedure that doesn't require the user to have administrative rights. That means we need to install the CRT directory as "private assemblies", copying it to the MonetDB application directories. I've almost gotten this to work by copying the CRT directory to MonetDB5/lib, bin and lib/MonetDB5. I can run MSQLServer.bat and mclient.bat in separate console windows.
But when I try to run some SQL commands (my test case is a 'create table' and a 'copy into' from a CSV file), mclient dies with a Windows exception. The event in Event Viewer shows:
Faulting application mclient.exe, version 0.0.0.0 http://0.0.0.0, faulting module ntdll.dll
In theory the private assemblies are all that Windows needs, and in fact the programs run which implies that the libraries are being found. I don't understand why the crash happens later. I'm hoping someone else has tried this. The exception happens with the last official Windows release as well as with our built-from-cvs version.
Thanks, Bryan Lewis
------------------------------------------------------------------------
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Sjoerd Mullender
participants (3)
-
Bryan Lewis
-
Martin Kersten
-
Sjoerd Mullender