GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — List comprehension in WHERE clause results in server process segmentation fault · Issue #1955 · apache/age

List comprehension in WHERE clause results in server process segmentation fault #1955

New issue
Copy link
New issue
Copy link
Closed
#2094
Closed
List comprehension in WHERE clause results in server process segmentation fault#1955
#2094
Copy link
Labels
bugSomething isn't working

Description

@bravius
bravius
opened on Jul 7, 2024
Issue body actions

Describe the bug

List comprehension in a WHERE clause causes server process to terminate with "signal 11: Segmentation fault"

How are you accessing AGE (Command line, driver, etc.)?

  • Node.js/DBeaver/psql

What data setup do we need to do?

SELECT * from cypher('graph', $$
    CREATE ({list:["one","two","three","four"]})
$$) as (a agtype);

What is the necessary configuration info needed?

  • Age extension compiled from master

What is the command that caused the error?

SELECT * from cypher('graph', $$ 
    MATCH (n) WHERE size([e in n.list where e starts with "f"]) > 0 RETURN n
$$) as (result agtype);

Running the above example query results in server process segfault and lost driver connection.

Expected behavior

Completed query result.

Environment (please complete the following information):

  • Age: master
  • PGSQL version: 16
  • OS: WSL Ubuntu "jammy"

Additional context

None.

Activity

  1. bravius
    added
    bugSomething isn't working
    on Jul 7, 2024
  2. bravius commented on Jul 23, 2024

    @bravius
    bravius
    on Jul 23, 2024
    Author
    More actions

    Could someone try the above query and see if the bug is reproducible?

    Then I will at least know whether it's something with my installation or not.

  3. MuhammadTahaNaveed commented on Jul 23, 2024

    @MuhammadTahaNaveed
    MuhammadTahaNaveed
    on Jul 23, 2024
    Member
    More actions

    @bravius the bug is reproducible. I will try to come up with a fix as soon as possible, but it can take some time.

    Reacted by bravius
  4. bravius commented on Jul 23, 2024

    @bravius
    bravius
    on Jul 23, 2024
    Author
    More actions

    Thanks, cheers.

  5. jrgemignani
    closed this as completedin #2094on Sep 9, 2024
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.