Hello,
I’m running into an issue trying to build a bingo
structure table for sss/similarity searching. (Bingo 1.7 beta, 64-bit Postgresql 9.1 on Windows 7, 64-bit.)
The table consists of 4 fields: 2 ints, on text field and one float. (The float field is not currently populated)
After creating the table, I loaded an SD file using bingo.ImportSDF()
And saw no errors.
CheckMolecule revealed some issues, so I build a clean version of the table using
create table structs_clean_mols as select * from bingo.structs where bingo.CheckMolecule(molfile) is null;
create index structs_clean_mols_index on structs_clean_mols using bingo_idx (molfile bingo.molecule).
The ‘create index’ cranks along for a a few minutes, last new information:
NOTICE: processed 3000 structures
Then, postgres displays the error message
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
In the postgres log, I see
2012-03-12 21:26:54 EDT LOG: server process (PID 6052) was terminated by exception 0xC0000374
2012-03-12 21:26:54 EDT HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
Googling, I found “0xC0000374 A heap has been corrupted.”
The postgres windows service stopped. Tried restarting and building the index again.
Similar message.
Any ideas?
Hello,
Such situation can be caused by lack of Bingo privileges on the molecule table. To create index you need to grant select privileges to Bingo using a command like this:
grant select on mols_clean to bingo;
Best regards,
Mikhail Kvyatkovskiy.
Hello Mitch,
Due to the fact that you manage the tables using Bingo account, the problem is not with privileges. The information from Bingo log file may help to determine what is causing index creation failure, so may I ask you to paste data from bingo.log file here? On Linux it is located in /tmp/bingo.log. For getting clear data you may execute following commands:
$ mv /tmp/bingo.log /tmp/bingo.log.backup
$ sqlplus bingo/password@sid # Run index creation proceude
$ cat /tmp/bingo.log
Best regards,
Mikhail Kvyatkovskiy.