Skip to content

Crash seen when attempting to use SetPos when looping through more than 20480 rows #132

Open

Description

@gabriellestein

When looping through the rows in a table with more than 20480 rows using SetPos delete, the driver crashes with a segmentation fault (core dump). I have attached to this issue in a zip file:

  • odbcquery_setpos_del_lax: ODBC app that can be used to recreate the issue
  • odbcquery_setpos_del_lax.c: c file use to make the ODBC app.
  • odbcquery_setpos_del.mak: Makefile to build ODBC app. Note that the directory paths to the install directory have been redacted.
  • odbc.ini: ODBC ini file. Note the paths and sensitive information has been redacted.

If anything else is needed please let me know.

odbcquery_setpos_del.zip

Activity

  1. davecramer commented on Jul 15, 2025

    @davecramer
    Contributor

    May I ask what version of psqlodbc you are using ?

  2. gabriellestein commented on Jul 17, 2025

    @gabriellestein
    Author

    This was tested against version 16. I will build the must up-to-date release in the repo (17.00.0006) and retest.
    *Edit: I was just able to recreate against 17.00.0006.

  3. gabriellestein commented on Aug 27, 2025

    @gabriellestein
    Author

    Hello, is there any update on this issue?

  4. davecramer commented on Aug 29, 2025

    @davecramer
    Contributor

    Sorry, no, I'll try to have a look this week

  5. davecramer commented on Sep 16, 2025

    @davecramer
    Contributor

    was unable to replicate this

    Calling FetchScroll
    End of result set. 20482 rows fetched.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions