[BUG] [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available. MS Access DB
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript, node.js
- Área
- database
Línea de trabajo
Empieza reproduciendo la consulta SELECT * FROM Table con el controlador ODBC de Microsoft Access y revisa el trace SQL.LOG adjunto. Compara el fallo con la tabla de 25.000 filas y 36 columnas con resultados más pequeños; se considera terminado cuando la consulta devuelve todas las filas sin el error de asignación de memoria ni diagnósticos ODBC ausentes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi, I know there are 2 issues similar like this, but since they are closed and report other databases than MS Access, I consider this bug needs to be reopened and take in consideration since #306 seems not fixing the issue for MS Access DB.
Describe your system
odbcPackage Version: 2.4.8- ODBC Driver: Microsoft Access Driver (*.mdb, *.accdb)
- Database Name: COMANDES DIDAC.MDB
- Database Version: The file was created using Microsoft Access 2000 (Version retrieved using a VBS mentioned in this article: https://devblogs.microsoft.com/scripting/how-can-i-determine-which-version-of-access-was-used-to-create-a-database
- Database OS: Windows 11 Home 23H2
- Node.js Version: 20.11.1
- Node.js OS: Windows 11 Home 23H2
Describe the bug
When doing a query of kind let result = await conn.query('SELECT * FROM Table'), after a few seconds throws the following exception: Error: [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available.
NOTE: The table holds 25000 rows with 36 columns for each one
Expected behavior
It should return the expected result, with all the data that the table holds.
To Reproduce
Steps to reproduce the behavior:
- Connect to database like this:
import odbc from 'odbc';
const dbPath = 'PATH_TO.MDB';
const conn = await odbc.connect(`Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=${dbPath};Uid=;Pwd=;`);
- Run query
const result = await conn.query('SELECT * FROM Table');
- Wait for errror
- Any error information returned from a function call:
[Error: [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available.] {
odbcErrors: []
}
Additional context
This is the tracing LOG with debugging information file generated using ODBC Data Source Administrator
SQL.LOG
- Lenguaje dominante
- JavaScript
- Estrellas
- 159
- Forks
- 92
- Merge medio
- 5 h 59 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de IBM/node-odbc
-
doc: how to run the testsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
security
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
[Bug] Sybase ASE: Encoding issue (works in msnodesqlv8, fails in node-odbc with \x1A artifacts)Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
Todos los issues de IBM/node-odbc
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
`yarn vitest:update` (documented) throws locally; local Cypress scripts target an unserved portAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
rescript-lang/rescript-lang.org#1415 ·
Los mantenedores suelen responder en 2 días
-
[Bug]: agent capture drops long Unicode text as punctuationPosiblemente ocupada @ktz03 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
volcengine/OpenViking#5801 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Deepak3699/Ai_Mentor#244 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nextcloud/collectives#2843 ·
Los mantenedores suelen responder en 1 día