![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have this problem with D3 on Linux: :which (dca System Release Information ========================== D3 Release Version 7.4.2.LINUX Most recent mload into boot abs performed at 12:32:40 on 10 Nov 2006. Implementation. . . . . . 6386 Software Serial Number. . 11031165 System ID Number . . . . Release . . . . . . . . . D3/UNIX: LINUX Unix Information. . . . . Linux;pick0:LINUX;2.6.9-5.ELsmp;#1 SMP Wed Jan 5 19:30:39 EST 2005;CDB1CD37 Boot Monitor. . . . . . . 7.4.X.M13; 08 Aug 2006 Boot ABS. . . . . . . . . 7.4.2.A11; 07 Jun 2004 Boot ABS Data File. . . . 7.4.2.A11; 07 Jun 2004 System Data Files . . . . 7.4.2.D11; 07 Jun 2004 FlashBASIC Revision . . . 7.4.2.F17; 21 Sep 2006 SQL Revision. . . . . . . 7.5.0.S1; 05 Apr 2006 ABS Patch Level . . . . . 7.4.2.A236; 12 Oct 2006 How to reproduce the problem: Go to SQLDEMO account Create a new file, f.i. CLI Create an index in CLI a1 Run next program: prog 'carga' size = 402 01 open "customers" to vfcli 02 open "cli" to vm 03 clearfile vm 04 select vfcli 05 eof=0 06 loop 07 readnext cli else eof=1 08 until eof=1 do 09 read bf from vfcli,cli then 10 bm="" 11 for i=1 to 10 12 bm<i>=bf<i 13 next i 14 bm<11>="" 15 for j=1 to 468 16 bm<11,j>="hhh":j 17 next j 18 write bm on vm,cli 19 end 20 repeat create two dicts for atr. 0 and atr. 1: cod 001 a 002 0 003 cod 004 005 006 007 008 009 r 010 5 nombre 001 a 002 1 003 nombre 004 005 006 007 008 009 l 010 50 Now create an sql table with both dicts SQL-DISPLAY-TABLE CLI :SQL-DISPLAY-TABLE CLI Account: sqldemo File: cli ================================================== ===== TABLE ID: 004359 TABLE NAME: cli TABLE TYPE: BASE PRIMARY KEY: cod MACRO: cod nombre ATTRIBUTE COLUMN-ID DATA-TYPE COL# SIZE CORRELATIVE --------- --------- --------- ---- ---- ----------- cod cod VARCHAR 0 5 nombre nombre VARCHAR 1 50 Now execute isql select * from cli (n ...... ...... 31 Disks N More 6 Computers Etc. 21 Memory Capturers 43 Real Computers 10 Computers Inc.Systems 32 For Computers Inc. 50 row(s) selected Now change the program in line 15 from 468 to 469 an run it. Now execute again: isql select * from cli (n Out of Memory. Size = 845703272; return code = 0 *I Workspace Inconsistency - Exit from line recommended main() L 0 Pick core dump:/usr/tmp/ap.core HLT> 01 .0000000B .0805A60C .BFFFEAA8 .FFFFFFFE .00000000 .00000000 .BFFFEFCC .00AAAA40 .0000000B .00000000 .00000000 H! Sometimes Linux give next error also *** glibc detected *** double free or corruption (¡prev): 0x081e6140 *** It is the same that Linux is smp or not smp. If you use the D3CLODBC.DLL library from VB6 and try to use index A1, when moving with the index the program crashes with the same error in the D3 Server If you use the a1 index from basic or flash basic it works OK. Any ideas? Thanks in advance joseba |
#3
| |||
| |||
|
|
The problem is in D3_flash-lx-7.4.17-.Z patch Without that patch it works well joseba jra ha escrito: I have this problem with D3 on Linux: :which (dca System Release Information ========================== D3 Release Version 7.4.2.LINUX Most recent mload into boot abs performed at 12:32:40 on 10 Nov 2006. Implementation. . . . . . 6386 Software Serial Number. . 11031165 System ID Number . . . . Release . . . . . . . . . D3/UNIX: LINUX Unix Information. . . . . Linux;pick0:LINUX;2.6.9-5.ELsmp;#1 SMP Wed Jan 5 19:30:39 EST 2005;CDB1CD37 Boot Monitor. . . . . . . 7.4.X.M13; 08 Aug 2006 Boot ABS. . . . . . . . . 7.4.2.A11; 07 Jun 2004 Boot ABS Data File. . . . 7.4.2.A11; 07 Jun 2004 System Data Files . . . . 7.4.2.D11; 07 Jun 2004 FlashBASIC Revision . . . 7.4.2.F17; 21 Sep 2006 SQL Revision. . . . . . . 7.5.0.S1; 05 Apr 2006 ABS Patch Level . . . . . 7.4.2.A236; 12 Oct 2006 How to reproduce the problem: Go to SQLDEMO account Create a new file, f.i. CLI Create an index in CLI a1 Run next program: prog 'carga' size = 402 01 open "customers" to vfcli 02 open "cli" to vm 03 clearfile vm 04 select vfcli 05 eof=0 06 loop 07 readnext cli else eof=1 08 until eof=1 do 09 read bf from vfcli,cli then 10 bm="" 11 for i=1 to 10 12 bm<i>=bf<i 13 next i 14 bm<11>="" 15 for j=1 to 468 16 bm<11,j>="hhh":j 17 next j 18 write bm on vm,cli 19 end 20 repeat create two dicts for atr. 0 and atr. 1: cod 001 a 002 0 003 cod 004 005 006 007 008 009 r 010 5 nombre 001 a 002 1 003 nombre 004 005 006 007 008 009 l 010 50 Now create an sql table with both dicts SQL-DISPLAY-TABLE CLI :SQL-DISPLAY-TABLE CLI Account: sqldemo File: cli ================================================== ===== TABLE ID: 004359 TABLE NAME: cli TABLE TYPE: BASE PRIMARY KEY: cod MACRO: cod nombre ATTRIBUTE COLUMN-ID DATA-TYPE COL# SIZE CORRELATIVE --------- --------- --------- ---- ---- ----------- cod cod VARCHAR 0 5 nombre nombre VARCHAR 1 50 Now execute isql select * from cli (n ...... ...... 31 Disks N More 6 Computers Etc. 21 Memory Capturers 43 Real Computers 10 Computers Inc.Systems 32 For Computers Inc. 50 row(s) selected Now change the program in line 15 from 468 to 469 an run it. Now execute again: isql select * from cli (n Out of Memory. Size = 845703272; return code = 0 *I Workspace Inconsistency - Exit from line recommended main() L 0 Pick core dump:/usr/tmp/ap.core HLT> 01 .0000000B .0805A60C .BFFFEAA8 .FFFFFFFE .00000000 .00000000 .BFFFEFCC .00AAAA40 .0000000B .00000000 .00000000 H! Sometimes Linux give next error also *** glibc detected *** double free or corruption (¡prev): 0x081e6140 *** It is the same that Linux is smp or not smp. If you use the D3CLODBC.DLL library from VB6 and try to use index A1, when moving with the index the program crashes with the same error in the D3 Server If you use the a1 index from basic or flash basic it works OK. Any ideas? Thanks in advance joseba |
![]() |
| Thread Tools | |
| Display Modes | |
| |