saygoodbyye opened a new issue, #1512: URL: https://github.com/apache/age/issues/1512
**Describe the bug** Several server crashes when running tests in the way below. **How are you accessing AGE (Command line, driver, etc.)?** Accessing AGE through command line. **What data setup do we need to do?** Apache AGE (PG16 branch) with PostgreSQL (REL_16_STABLE). **What is the necessary configuration info needed?** First build: ``` ./configure CFLAGS=" -Og" --enable-tap-tests --enable-debug --enable-cassert ``` Second build: ``` ./configure CFLAGS=" -Og" --enable-tap-tests --enable-debug ``` I was able to crash a server by doing the following: Makefile: ``` diff --git a/Makefile b/Makefile index b405ff6..549e05b 100644 --- a/Makefile +++ b/Makefile @@ -85,31 +85,7 @@ SQLS := $(addsuffix .sql,$(SQLS)) DATA_built = $(age_sql) # sorted in dependency order -REGRESS = scan \ - graphid \ - agtype \ - catalog \ - cypher \ - expr \ - cypher_create \ - cypher_match \ - cypher_unwind \ - cypher_set \ - cypher_remove \ - cypher_delete \ - cypher_with \ - cypher_vle \ - cypher_union \ - cypher_call \ - cypher_merge \ - age_global_graph \ - age_load \ - index \ - analyze \ - graph_generation \ - name_validation \ - jsonb_operators \ - drop +REGRESS=--schedule=schedule srcdir=`pwd` ``` schedule: ``` test: cypher_match cypher_match cypher_match cypher_match cypher_match cypher_match ``` Start tests: ``` for i in `seq 100000`;do echo "ITER $i";make -s installcheck;if coredumpctl;then break;fi; done ``` Results: ``` ITER 75 # +++ regress install-check in +++ # using temp instance on port 61958 with PID 39227 # parallel group (6 tests): cypher_match cypher_match cypher_match cypher_match cypher_match cypher_match not ok 1 + cypher_match 1081 ms # (test process exited with exit code 2) not ok 2 + cypher_match 1035 ms # (test process exited with exit code 2) not ok 3 + cypher_match 1061 ms # (test process exited with exit code 2) not ok 4 + cypher_match 1034 ms # (test process exited with exit code 2) not ok 5 + cypher_match 1036 ms # (test process exited with exit code 2) not ok 6 + cypher_match 1035 ms # (test process exited with exit code 2) 1..6 # 6 of 6 tests failed. # The differences that caused some tests to fail can be viewed in the file "/home/egor/work/subtree/age/regress/regression.diffs". # A copy of the test summary that you see above is saved in the file "/home/egor/work/subtree/age/regress/regression.out". ``` There were many attempts to run tests in this way, so during the launch process I was able to get several different crashes, presented below: Backtrace of the crash on the build with --enable-cassert: [bt1_cassert.txt](https://github.com/apache/age/files/13945506/bt1_cassert.txt) Bracktrace of the first crash on the build without --enable-cassert: [bt2.txt](https://github.com/apache/age/files/13945514/bt2.txt) Bracktrace of the second crash on the build without --enable-cassert: [bt3.txt](https://github.com/apache/age/files/13945518/bt3.txt) **Expected behavior** Expected ERROR to be shown or sql query to be succesfully executed Best regards, Egor Chindyaskin Postgres Professional: http://postgrespro.com/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org