Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when conduct experiment of Mini World Generator(MWGen) #16

Open
Benyi-Peng opened this issue May 20, 2021 · 5 comments
Open

Error when conduct experiment of Mini World Generator(MWGen) #16

Benyi-Peng opened this issue May 20, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Benyi-Peng
Copy link

Benyi-Peng commented May 20, 2021

Environment

Secondo version: 4.2.0
System: Ubuntu 20.04.2 LTS
Memory: 8GB
The system runs on VMWare.

What I do

I was conducting the experiment which described in the article MWGen: A Mini World Generator written by Jianqiu Xu and Ralf Hartmut Guting. I found a user manual at here.

  1. I installed the database system SECONDO.
  2. I activated the lines in makefile.algebras so TransportationMode, Network, TemporalNet, Traffic, PlugJoin, SpatialJoin is useable.
  3. Turn off transaction by activating the line “RTFlags += SMI:NoTransaction” in the file SecondoConfig.ini.
  4. I created a directory named TM-Data in secondo/bin and put the files in it as requested. Here is the structure of the directory.
    TM-Data
    ├── ./berlinroads
    ├── ./berlintraffic
    ├── ./CINEMA_Paths
    ├── ./FloorPlan
    │   ├── ./FloorPlan/cinema.groom
    │   ├── ./FloorPlan/cinema.staircase
    │   ├── ./FloorPlan/hospital.groom0
    │   ├── ./FloorPlan/hospital.groom1
    │   ├── ./FloorPlan/hospital.groom2
    │   ├── ./FloorPlan/hospital.groom3
    │   ├── ./FloorPlan/hospital.staircase
    │   ├── ./FloorPlan/hotel.groom
    │   ├── ./FloorPlan/hotel.staircase
    │   ├── ./FloorPlan/mall.groom0
    │   ├── ./FloorPlan/mall.groom1
    │   ├── ./FloorPlan/mall.groom2
    │   ├── ./FloorPlan/mall.groom3
    │   ├── ./FloorPlan/mall.groom4
    │   ├── ./FloorPlan/mall.staircase
    │   ├── ./FloorPlan/office24.groom
    │   ├── ./FloorPlan/office24.staircase
    │   ├── ./FloorPlan/office38.groom
    │   ├── ./FloorPlan/office38.staircase
    │   ├── ./FloorPlan/trainstation.groom
    │   ├── ./FloorPlan/trainstation.staircase
    │   ├── ./FloorPlan/university.corridor
    │   ├── ./FloorPlan/university.groom
    │   ├── ./FloorPlan/university.lift
    │   └── ./FloorPlan/university.staircase
    ├── ./HOSPITAL_Paths
    ├── ./HOTEL_Paths
    ├── ./houstonroads
    ├── ./houstontraffic
    ├── ./OFFICE24_Paths
    ├── ./OFFICE38_Paths
    ├── ./SHOPPINGMALL_Paths
    ├── ./streets_speed
    ├── ./TRAINSTATION_Paths
    └── ./UNIVERSITY_Paths
  5. I unpacked the MWGen.tar and put all the scripts in the secondo/bin.
  6. I opened a terminal and went to secondo/bin then typed the command SecondoTTYBDB. Then the terminal shows some basic information.
Redirecting stack trace to: /tmp/tmp.zD3V8UroyB

Copyright (C) 2004-2019, University in Hagen, 
Department of Computer Science,  
Database Systems for New Applications. 

This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS 
FOR A PARTICULAR PURPOSE.

Using configuration file /home/pbyi/secondo/bin/SecondoConfig.ini

*** Secondo TTY ***


Initializing the SECONDO Interface ...
Version: 4.2.0

Berkeley DB version: 5.3

Active runtime flags:
  -DEBUG:DemangleStackTrace-
  -SI:NoCommandEcho-
  -SI:NoQueryTimers-
  -SI:PrintCmdTimes-
  -SI:ShowCommandTime-
  -SMI:AutoRemoveLogs-
  -SMI:NoTransactions-
  -Server:BinaryTransfer-
Env: SECONDO_BUILD_DIR = /home/pbyi/secondo
Env: SECONDO_PLATFORM = linux64
  SmiEnvironment mode  = SingleUserSimple (transaction submodule disabled)
Startup of the Storage Management Interface (SMI) ...

Transactions: unused
Cachesize: 65536 kb.
Lock timeout: 0 microseconds
TXN  timeout: 0 microseconds
Database directory: SecondoHome='/home/pbyi/secondo-databases'.
SMI-Mode: SingleUserSimple
DbEnv: BDB1566 DB_ENV->log_set_config interface requires an environment configured for the logging subsystem
Initializing the SECONDO System ... 
Kernels List Memory:
  NodeMem = 2048 / slots = 87381
  StringMem = 1024 / slots = 43690
  TextMem = 1024 / slots = 16384

Creating SystemTable instance!
  registering virtual system table SEC2PJOIN
  registering virtual system table SEC2PJOINCOST


Type sizes (bytes) used by this system:
	sizeof(void*)       = 8
	sizeof(size_t)      = 8
	sizeof(bool)        = 1
	sizeof(char)        = 1
	sizeof(int)         = 4
	sizeof(long)        = 8
	sizeof(long long)   = 8
	sizeof(short)       = 2
	sizeof(float)       = 4
	sizeof(double)      = 8
	sizeof(long double) = 16
	sizeof(SmiRecordId) = 4
	isLittleEndian      = yes

Global memory limited by 4096 MB
FLOB Cache size 16384kb
  registering virtual system table SEC2COUNTERS
  registering virtual system table SEC2COMMANDS
  registering virtual system table SEC2CACHEINFO
  registering virtual system table SEC2FILEINFO
  registering virtual system table SEC2TYPEINFO
  registering virtual system table SEC2OPERATORINFO
  registering virtual system table SEC2OPERATORUSAGE
  registering persistent system table SEC_DERIVED_OBJ

Initializing operator specs ...
Processing 'StandardAlgebra' (75 operators)
Processing 'FunctionAlgebra' (5 operators)
Processing 'RelationAlgebra' (38 operators)
Processing 'ExtRelationAlgebra' (71 operators)
Processing 'PointRectangleAlgebra' (2 operators)
Processing 'StreamAlgebra' (45 operators)
Processing 'PolygonAlgebra' (0 operators)
Processing 'DateAlgebra' (8 operators)
Processing 'BTreeAlgebra' (14 operators)
Processing 'SpatialAlgebra' (110 operators)
Processing 'FTextAlgebra' (118 operators)
Processing 'ArrayAlgebra' (24 operators)
Processing 'RTreeAlgebra' (20 operators)
Processing 'RectangleAlgebra' (32 operators)
Processing 'BinaryFileAlgebra' (3 operators)
Processing 'TemporalAlgebra' (103 operators)
Processing 'PictureAlgebra' (27 operators)
Processing 'DateTimeAlgebra' (32 operators)
Processing 'NetworkAlgebra' (32 operators)
Processing 'PlugJoinAlgebra' (1 operators)
Processing 'TupleIdentifierAlgebra' (10 operators)
Processing 'MovingRegionAlgebra' (18 operators)
  * excluding operator adduregion since it provides no example!
  * excluding operator union since it provides no example!
Processing 'PlaneSweepAlgebra' (6 operators)
Processing 'TopRelAlgebra' (28 operators)
Processing 'UpdateRelationAlgebra' (29 operators)
Processing 'TemporalUnitAlgebra' (55 operators)
Processing 'TemporalLiftedAlgebra' (30 operators)
Processing 'TemporalExtAlgebra' (34 operators)
Processing 'TopOpsAlgebra' (10 operators)
Processing 'PartitionedStreamAlgebra' (19 operators)
  * excluding operator sortmergejoin_r since it provides no example!
  * excluding operator sortmergejoin_r2 since it provides no example!
  * excluding operator sortmergejoin_r3 since it provides no example!
Processing 'ClusterAlgebra' (7 operators)
Processing 'StreamExampleAlgebra' (4 operators)
Processing 'GraphAlgebra' (20 operators)
Processing 'GSLAlgebra' (20 operators)
Processing 'SimulationAlgebra' (7 operators)
Processing 'TemporalNetAlgebra' (43 operators)
Processing 'MTreeAlgebra' (5 operators)
Processing 'HistogramAlgebra' (47 operators)
Processing 'CollectionAlgebra' (33 operators)
Processing 'ImExAlgebra' (52 operators)
Processing 'HashAlgebra' (7 operators)
Processing 'GeneralTreeAlgebra' (9 operators)
Processing 'XTreeAlgebra' (7 operators)
Processing 'STPatternAlgebra' (21 operators)
Processing 'TBTreeAlgebra' (13 operators)
Processing 'NestedRelationAlgebra' (10 operators)
Processing 'ExtRelation2Algebra' (26 operators)
Processing 'TransportationModeAlgebra' (182 operators)
Processing 'BTree2Algebra' (49 operators)
  * excluding operator getentry2 since it provides no example!
Processing 'RecordAlgebra' (4 operators)
Processing 'OrderedRelationAlgebra' (7 operators)
Processing 'SpatialJoinAlgebra' (2 operators)
Processing 'JNetAlgebra' (59 operators)
Processing 'OsmAlgebra' (15 operators)
Processing 'MMRTreeAlgebra' (10 operators)
Processing 'GroupbyAlgebra' (1 operators)
Processing 'TrieAlgebra' (11 operators)
Processing 'SuffixTreeAlgebra' (13 operators)
Processing 'Raster2Algebra' (33 operators)
Processing 'RobustPlaneSweepAlgebra' (7 operators)
Processing 'CostEstimationAlgebra' (2 operators)
Processing 'GuideAlgebra' (14 operators)
Processing 'OpticsAlgebra' (5 operators)
Processing 'AuxiliaryAlgebra' (4 operators)
Processing 'FileIndexAlgebra' (15 operators)
Processing 'TrajectorySimilarityAlgebra' (19 operators)
Processing 'MainMemory2Algebra' (143 operators)
Processing 'GeoidAlgebra' (3 operators)
Processing 'SymbolicTrajectoryBasicAlgebra' (39 operators)

Secondo TTY ready for operation.
Type 'HELP' to get a list of available commands.
  1. run @@createberlingenmo.sec
    PS: There is some type mismatching mistakes appears in the createberlingenmo.sec. I give it a try but I am not sure whether it is a appropriate one. Here is the code I modified.
let j =
r feed {r1}
r feed {r2}
#spatialjoin [curve_r1, curve_r2]
spatialjoin0 [Curve_r1, Curve_r2]
filter [.Id_r1 < .Id_r2]
# change: intersects ---> intersects1
filter [.Curve_r1 intersects1 .Curve_r2]
# change: crossings---> crossings1
projectextendstream[Id_r1, Curve_r1, Id_r2, Curve_r2; CROSSING_POINT: components(crossings1(.Curve_r1, .Curve_r2))]
extend [R1id : .Id_r1]
# change: .CROSSING_POINT ---> single(.CROSSING_POINT)
extend [R1meas : at_point(.Curve_r1, single(.CROSSING_POINT), TRUE)]
extend [R2id : .Id_r2]
extend [R2meas : at_point(.Curve_r2, single(.CROSSING_POINT), TRUE)]
extend [Cc: 65535]
project [R1id, R1meas, R2id, R2meas, Cc]
consume;
  1. The code went well untill this line let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]]; in createpave1.sec. The information showed in terminal is too long so I put it here. However I put the related information below.
 #subpaves2 will be used later
 ## Berlin 10 minutes; Houston 25 minutes
 let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]];
command 
'let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]]'
started at: Wed May 19 07:35:59 2021

no face found within the cycles
noMemoryOperators = 0
perOperator = 0

 Generating stack trace ... 
 ************ BEGIN STACKTRACE ************
Writing stacktrace to: /tmp/tmp.zD3V8UroyB

 *********** END STACKTRACE **********************

*** Signal SIGSEGV (11) caught! Calling default signal handler ...
./SecondoTTYBDB: line 34: 12692 Segmentation fault      (core dumped) $runner $*


========
SECONDO has crashed, printing stack trace....
========


?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
?? ??:0
========

I guess the reason is the scripts is too old to run on the current SECONDO system. Or there is something I should modify in the configuration plan. Could you help me to figure this out? Thank you very much for your attention! Have a good day!

@Benyi-Peng
Copy link
Author

I run the script on Javagui, too. I found a txt file in the secondo/bin/server.msg directory, following the information in the terminal where I start the secondo monitor. Here is the related content of the txt file.

command 
'let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]]
'
started at: Wed May 19 01:44:06 2021

no face found within the cycles
noMemoryOperators = 0
perOperator = 0

 Generating stack trace ... 
 ************ BEGIN STACKTRACE ************
No stacktrace output file defined, dumping stacktrace to stdout
SecondoBDB(_ZN7WinUnix10stacktraceEPKcS1_+0x71)[0x558abad005b3]
SecondoBDB(_ZN11Application20AbortOnSignalHandlerEi+0xfc)[0x558abacf7e06]
/lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f9252919210]
SecondoBDB(_ZN16RobustPlaneSweep10SweepState6RemoveEPNS_19InternalLineSegmentERSt6vectorINS_24PossibleIntersectionPairESaIS4_EE+0x4c)[0x558abb3c9cba]
SecondoBDB(_ZN16RobustPlaneSweep14BentleyOttmann30DetermineIntersectionsInternalEv+0x45b)[0x558abb3c21ab]
SecondoBDB(_ZN16RobustPlaneSweep5Hobby30DetermineIntersectionsInternalEv+0x45)[0x558abb3d839b]
SecondoBDB(_ZN16RobustPlaneSweep14BentleyOttmann22DetermineIntersectionsEv+0x9a)[0x558abb3c1d32]
SecondoBDB(_ZN16RobustPlaneSweep17RegionRegionSetOp5SetOpERK7RegionTI7DbArrayES5_NS_9SetOpTypeERS3_+0x9e)[0x558abb3af04f]
SecondoBDB(_ZN16RobustPlaneSweep7UnionOpERK7RegionTI7DbArrayES4_RS2_+0x34)[0x558abb3a7efd]
SecondoBDB(_ZN16RobustPlaneSweep12robustUnionTI7RegionTI7DbArrayES3_S3_EEiPT_PT0_PT1_+0x448)[0x558abb3b2f8d]
SecondoBDB(_ZN16RobustPlaneSweep19SpatialUnionGenericI7RegionTI7DbArrayES3_S3_EEiP4WordRS4_iS6_Pv+0x7e)[0x558abb3b773a]
SecondoBDB(_ZN14QueryProcessor4EvalEPvR4Wordi+0xea6)[0x558abad2eff8]
SecondoBDB(_ZN14QueryProcessor7RequestEPvR4Word+0x66)[0x558abad2f712]
SecondoBDB(_ZN14extrelationalg10AggregateBEP4WordRS0_iS2_Pv+0x2b5)[0x558abaed59a2]
SecondoBDB(_ZN14QueryProcessor4EvalEPvR4Wordi+0xea6)[0x558abad2eff8]
SecondoBDB(_ZN14QueryProcessor5EvalPEPvR4Wordi+0xeb)[0x558abad2dd17]
SecondoBDB(_ZN19SecondoInterfaceTTY11Command_LetEmRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x2fd)[0x558abac5bb07]
SecondoBDB(_ZN19SecondoInterfaceTTY7SecondoERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmibbRmRiS9_RS5_S7_b+0x495f)[0x558abac56edd]
SecondoBDB(_ZN13SecondoServer11CallSecondoEv+0x33f)[0x558abaced189]
SecondoBDB(_ZN13SecondoServer7ExecuteEv+0x1932)[0x558abacf4086]
SecondoBDB(_Z17SecondoServerModeiPPKc+0x2dc)[0x558abacf5290]
SecondoBDB(main+0x76)[0x558abaca9b59]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f92528fa0b3]
SecondoBDB(_start+0x2e)[0x558abac4ef4e]

To decode the stack trace, please run: addr2line --demangle=auto -p -fs -e SecondoBDB 0x558abad005b3 0x558abacf7e06 0x7f9252919210 0x558abb3c9cba 0x558abb3c21ab 0x558abb3d839b 0x558abb3c1d32 0x558abb3af04f 0x558abb3a7efd 0x558abb3b2f8d 0x558abb3b773a 0x558abad2eff8 0x558abad2f712 0x558abaed59a2 0x558abad2eff8 0x558abad2dd17 0x558abac5bb07 0x558abac56edd 0x558abaced189 0x558abacf4086 0x558abacf5290 0x558abaca9b59 0x7f92528fa0b3 0x558abac4ef4e

 *********** END STACKTRACE **********************

*** Signal SIGSEGV (11) caught! Calling default signal handler ...

@jnidzwetzki jnidzwetzki added the bug Something isn't working label May 20, 2021
@jnidzwetzki jnidzwetzki self-assigned this May 20, 2021
@jnidzwetzki
Copy link
Member

jnidzwetzki commented May 20, 2021

Hi @Benyi-Peng,

Thanks for the detailed bug report. I was able to reproduce the problem with the current development version of SECONDO. Our team will now investigate the issue.

Stacktrace of the development version:

=> []
 #subpaves2 will be used later
 ## Berlin 10 minutes; Houston 25 minutes
 let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]];
command 
'let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]]'
started at: Thu May 20 14:21:26 2021

no face found within the cycles
noMemoryOperators = 0
perOperator = 0

 Generating stack trace ... 
 ************ BEGIN STACKTRACE ************
Writing stacktrace to: /tmp/tmp.cc18CWSNa6

 *********** END STACKTRACE **********************

*** Signal SIGSEGV (11) caught! Calling default signal handler ...
./SecondoTTYBDB: line 34: 32133 Segmentation fault      (core dumped) $runner $*


========
SECONDO has crashed, printing stack trace....
========



Binary relocation: 0x55cf3db63000

./SecondoBDB(_ZN7WinUnix10stacktraceEPKcS1_S1_+0x74)[0x55cf3f17f4f6]
./SecondoBDB(_ZN11Application20AbortOnSignalHandlerEi+0x10f)[0x55cf3f176a55]
/lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7f28e9077fd0]
./SecondoBDB(_ZN16RobustPlaneSweep10SweepState6RemoveEPNS_19InternalLineSegmentERSt6vectorINS_24PossibleIntersectionPairESaIS4_EE+0x48)[0x55cf3f8dcbca]
./SecondoBDB(_ZN16RobustPlaneSweep14BentleyOttmann30DetermineIntersectionsInternalEv+0x45a)[0x55cf3f8d514a]
./SecondoBDB(_ZN16RobustPlaneSweep5Hobby30DetermineIntersectionsInternalEv+0x41)[0x55cf3f8e9bcf]
./SecondoBDB(_ZN16RobustPlaneSweep14BentleyOttmann22DetermineIntersectionsEv+0x98)[0x55cf3f8d4cd2]
./SecondoBDB(_ZN16RobustPlaneSweep17RegionRegionSetOp5SetOpERK7RegionTI7DbArrayES5_NS_9SetOpTypeERS3_+0x9a)[0x55cf3f8c3e43]
./SecondoBDB(_ZN16RobustPlaneSweep7UnionOpERK7RegionTI7DbArrayES4_RS2_+0x30)[0x55cf3f8bd2db]
./SecondoBDB(_ZN16RobustPlaneSweep12robustUnionTI7RegionTI7DbArrayES3_S3_EEiPT_PT0_PT1_+0x43c)[0x55cf3f8c7255]
./SecondoBDB(_ZN16RobustPlaneSweep19SpatialUnionGenericI7RegionTI7DbArrayES3_S3_EEiP4WordRS4_iS6_Pv+0x7d)[0x55cf3f8cb8d5]
./SecondoBDB(_ZN14QueryProcessor4EvalEPvR4Wordi+0xe87)[0x55cf3f1ac2e3]
./SecondoBDB(_ZN14QueryProcessor7RequestEPvR4Word+0x62)[0x55cf3f1ac9e8]
./SecondoBDB(_ZN14extrelationalg10AggregateBEP4WordRS0_iS2_Pv+0x2b3)[0x55cf3f346628]
./SecondoBDB(_ZN14QueryProcessor4EvalEPvR4Wordi+0xe87)[0x55cf3f1ac2e3]
./SecondoBDB(_ZN14QueryProcessor5EvalPEPvR4Wordi+0xea)[0x55cf3f1ab04e]
./SecondoBDB(_ZN19SecondoInterfaceTTY11Command_LetEmRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x2f9)[0x55cf3f0d6b8f]
./SecondoBDB(_ZN19SecondoInterfaceTTY7SecondoERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmibbRmRiS9_RS5_S7_b+0x4c20)[0x55cf3f0d1f3a]
./SecondoBDB(_ZN10SecondoTTY11CallSecondoEv+0x34f)[0x55cf3f12d549]
./SecondoBDB(_ZN10SecondoTTY12CallSecondo2Ev+0x2c)[0x55cf3f12d90e]
./SecondoBDB(_ZN10SecondoTTY14ProcessCommandEv+0x75c)[0x55cf3f12c93a]
./SecondoBDB(_ZN10SecondoTTY15ProcessCommandsEbb+0x9d)[0x55cf3f12cf1b]
./SecondoBDB(_ZN10SecondoTTY11ProcessFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbb+0x154)[0x55cf3f12bc88]
./SecondoBDB(_ZN10SecondoTTY14ProcessCommandEv+0x41a)[0x55cf3f12c5f8]
./SecondoBDB(_ZN10SecondoTTY15ProcessCommandsEbb+0x9d)[0x55cf3f12cf1b]
./SecondoBDB(_ZN10SecondoTTY11ProcessFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbb+0x154)[0x55cf3f12bc88]
./SecondoBDB(_ZN10SecondoTTY14ProcessCommandEv+0x41a)[0x55cf3f12c5f8]
./SecondoBDB(_ZN10SecondoTTY15ProcessCommandsEbb+0x9d)[0x55cf3f12cf1b]
./SecondoBDB(_ZN10SecondoTTY7ExecuteEv+0x3d3)[0x55cf3f12de6b]
./SecondoBDB(_Z14SecondoTTYModeRK12TTYParameter+0x2cf)[0x55cf3f12e573]
./SecondoBDB(main+0x1f6)[0x55cf3f12a500]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f28e905ab97]
./SecondoBDB(_start+0x2a)[0x55cf3f0c9e0a]


========
 Trying to decode the stacktrace...
========


WinUnix::stacktrace(char const*, char const*, char const*) at WinUnix.cpp:247
Application::AbortOnSignalHandler(int) at Application.cpp:333
?? ??:0
RobustPlaneSweep::SweepState::Remove(RobustPlaneSweep::InternalLineSegment*, std::vector<RobustPlaneSweep::PossibleIntersectionPair, std::allocator<RobustPlaneSweep::PossibleIntersectionPair> >&) at BentleyOttmann.h:848
RobustPlaneSweep::BentleyOttmann::DetermineIntersectionsInternal() at BentleyOttmann.cpp:470
RobustPlaneSweep::Hobby::DetermineIntersectionsInternal() at Hobby.cpp:62
RobustPlaneSweep::BentleyOttmann::DetermineIntersections() at BentleyOttmann.cpp:395
RobustPlaneSweep::RegionRegionSetOp::SetOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RobustPlaneSweep::SetOpType, RegionT<DbArray>&) at RobustPlaneSweepAlgebra.cpp:827
RobustPlaneSweep::UnionOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RegionT<DbArray>&) at RobustPlaneSweepAlgebra.cpp:1992
int RobustPlaneSweep::robustUnionT<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(RegionT<DbArray>*, RegionT<DbArray>*, RegionT<DbArray>*) at RobustPlaneSweepAlgebra.cpp:2441
int RobustPlaneSweep::SpatialUnionGeneric<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(Word*, Word&, int, Word&, void*) at RobustPlaneSweepAlgebra.cpp:2461
QueryProcessor::Eval(void*, Word&, int) at QueryProcessor.cpp:4500
QueryProcessor::Request(void*, Word&) at QueryProcessor.cpp:4691
extrelationalg::AggregateB(Word*, Word&, int, Word&, void*) at ExtRelationAlgebra.cpp:9541
QueryProcessor::Eval(void*, Word&, int) at QueryProcessor.cpp:4500
QueryProcessor::EvalP(void*, Word&, int) at QueryProcessor.cpp:4151
SecondoInterfaceTTY::Command_Let(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) at SecondoInterfaceTTY.cpp:2083
SecondoInterfaceTTY::Secondo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int, bool, bool, unsigned long&, int&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) at SecondoInterfaceTTY.cpp:1531
SecondoTTY::CallSecondo() at SecondoTTY.cpp:577 (discriminator 2)
SecondoTTY::CallSecondo2() at SecondoTTY.cpp:629
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:423
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::ProcessFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) at SecondoTTY.cpp:262
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:375 (discriminator 1)
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::ProcessFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) at SecondoTTY.cpp:262
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:375 (discriminator 1)
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::Execute() at SecondoTTY.cpp:721
SecondoTTYMode(TTYParameter const&) at SecondoTTY.cpp:880
main at MainTTY.cpp:164
?? ??:0
_start at ??:?
========

Second stacktrace

WinUnix::stacktrace(char const*, char const*, char const*) at WinUnix.cpp:247
Application::AbortOnSignalHandler(int) at Application.cpp:333
?? ??:0
RobustPlaneSweep::SweepStateData::Remove(RobustPlaneSweep::InternalLineSegment*) at BentleyOttmann.h:422
RobustPlaneSweep::SweepState::Remove(RobustPlaneSweep::InternalLineSegment*, std::vector<RobustPlaneSweep::PossibleIntersectionPair, std::allocator<RobustPlaneSweep::PossibleIntersectionPair> >&) at BentleyOttmann.h:848
RobustPlaneSweep::BentleyOttmann::DetermineIntersectionsInternal() at BentleyOttmann.cpp:470
RobustPlaneSweep::Hobby::DetermineIntersectionsInternal() at Hobby.cpp:62
RobustPlaneSweep::BentleyOttmann::DetermineIntersections() at BentleyOttmann.cpp:395
RobustPlaneSweep::RegionRegionSetOp::SetOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RobustPlaneSweep::SetOpType, RegionT<DbArray>&) at RobustPlaneSweepAlgebra.cpp:827
RobustPlaneSweep::UnionOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RegionT<DbArray>&) at RobustPlaneSweepAlgebra.cpp:1992
int RobustPlaneSweep::robustUnionT<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(RegionT<DbArray>*, RegionT<DbArray>*, RegionT<DbArray>*) at RobustPlaneSweepAlgebra.cpp:2441
int RobustPlaneSweep::SpatialUnionGeneric<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(Word*, Word&, int, Word&, void*) at RobustPlaneSweepAlgebra.cpp:2461
QueryProcessor::Eval(void*, Word&, int) at QueryProcessor.cpp:4500
QueryProcessor::Request(void*, Word&) at QueryProcessor.cpp:4691
extrelationalg::AggregateB(Word*, Word&, int, Word&, void*) at ExtRelationAlgebra.cpp:9541
QueryProcessor::Eval(void*, Word&, int) at QueryProcessor.cpp:4500
QueryProcessor::EvalP(void*, Word&, int) at QueryProcessor.cpp:4151
SecondoInterfaceTTY::Command_Let(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) at SecondoInterfaceTTY.cpp:2083
SecondoInterfaceTTY::Secondo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int, bool, bool, unsigned long&, int&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) at SecondoInterfaceTTY.cpp:1531
SecondoTTY::CallSecondo() at SecondoTTY.cpp:577 (discriminator 2)
SecondoTTY::CallSecondo2() at SecondoTTY.cpp:629
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:423
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::ProcessFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) at SecondoTTY.cpp:262
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:375 (discriminator 1)
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::ProcessFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) at SecondoTTY.cpp:262
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:375 (discriminator 1)
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::Execute() at SecondoTTY.cpp:721
SecondoTTYMode(TTYParameter const&) at SecondoTTY.cpp:880
main at MainTTY.cpp:164

Best regards
Jan

@Benyi-Peng
Copy link
Author

Hi @jnidzwetzki,
Thanks for your apply. According to the example of the operator aggregateB, I modify the crash code to this: let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union1 r2; [const region value()]];. And it works.

Name: aggregateB
Signature: (stream(tuple((a1 t1) ... (an tn))) ai((ti ti) -> ti) ti -> ti
   Syntax: _ aggregateB [ AttrName ; fun; ZeroValue ]
  Meaning: Aggregates the values of attribute 'AttrName' from the tuple stream
           using the function 'fun' in a balanced fashion. Returns 'ZeroValue',
           if the stream is empty.
  Example: query no_components(Flaechen feed aggregateB[GeoData; fun(r1:region,
           r2:region) r1 union1 r2; [const region value ()]])

However, line50 of createpave1.sec, called the operator aggregateB just like the crash code but it went well. I think there is a complicated reason for the difference and hope your team find it soon. Have a nice day!

@Benyi-Peng Benyi-Peng reopened this May 21, 2021
@jnidzwetzki
Copy link
Member

Valgrind output

let node_reg = graph_node feed aggregateB[Pavement; fun(r1:region,r2:region) r1 union r2; [const region value()]]

==25137== Invalid read of size 4  
==25137==    at 0x1E66DA1: RobustPlaneSweep::Rational::Compare(RobustPlaneSweep::Rational const&, RobustPlaneSweep::Rational const&) (Rational.h:373)
==25137==    by 0x1E67926: RobustPlaneSweep::SweepEvent::Compare(RobustPlaneSweep::SweepEvent const*, RobustPlaneSweep::SweepEvent const*) (BentleyOttmann.h:249)
==25137==    by 0x1E7959A: RobustPlaneSweep::BentleyOttmann::GetNextEvent() (BentleyOttmann.cpp:248)
==25137==    by 0x1E79E4C: RobustPlaneSweep::BentleyOttmann::DetermineIntersectionsInternal() (BentleyOttmann.cpp:428)
==25137==    by 0x1E8EC9C: RobustPlaneSweep::Hobby::DetermineIntersectionsInternal() (Hobby.cpp:61)
==25137==    by 0x1E79CDD: RobustPlaneSweep::BentleyOttmann::DetermineIntersections() (BentleyOttmann.cpp:394)
==25137==    by 0x1E68E4E: RobustPlaneSweep::RegionRegionSetOp::SetOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RobustPlaneSweep::SetOpType, RegionT<DbArray>&) (RobustPlaneSweepAlgebra.cpp:826)
==25137==    by 0x1E622DA: RobustPlaneSweep::UnionOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RegionT<DbArray>&) (RobustPlaneSweepAlgebra.cpp:1988)
==25137==    by 0x1E6C260: int RobustPlaneSweep::robustUnionT<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(RegionT<DbArray>*, RegionT<DbArray>*, RegionT<DbArray>*) (RobustPlaneSweepAlgebra.cpp:2437)
==25137==    by 0x1E708E0: int RobustPlaneSweep::SpatialUnionGeneric<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(Word*, Word&, int, Word&, void*) (RobustPlaneSweepAlgebra.cpp:2460)
==25137==    by 0x17512E2: QueryProcessor::Eval(void*, Word&, int) (QueryProcessor.cpp:4500)
==25137==    by 0x17519E7: QueryProcessor::Request(void*, Word&) (QueryProcessor.cpp:4689)
==25137==    by 0x18EB627: extrelationalg::AggregateB(Word*, Word&, int, Word&, void*) (ExtRelationAlgebra.cpp:9540)
==25137==    by 0x17512E2: QueryProcessor::Eval(void*, Word&, int) (QueryProcessor.cpp:4500)
==25137==    by 0x175004D: QueryProcessor::EvalP(void*, Word&, int) (QueryProcessor.cpp:4143)
==25137==    by 0x167BB8E: SecondoInterfaceTTY::Command_Let(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) (SecondoInterfaceTTY.cpp:2081)
==25137==    by 0x1676F39: SecondoInterfaceTTY::Secondo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int, bool, bool, unsigned long&, int&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (SecondoInterfaceTTY.cpp:1531)


==25137== Conditional jump or move depends on uninitialised value(s)
==25137==    at 0x1E79565: RobustPlaneSweep::BentleyOttmann::GetNextEvent() (BentleyOttmann.cpp:245)
==25137==    by 0x1E79E4C: RobustPlaneSweep::BentleyOttmann::DetermineIntersectionsInternal() (BentleyOttmann.cpp:428)
==25137==    by 0x1E8EC9C: RobustPlaneSweep::Hobby::DetermineIntersectionsInternal() (Hobby.cpp:61)
==25137==    by 0x1E79CDD: RobustPlaneSweep::BentleyOttmann::DetermineIntersections() (BentleyOttmann.cpp:394)
==25137==    by 0x1E68E4E: RobustPlaneSweep::RegionRegionSetOp::SetOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RobustPlaneSweep::SetOpType, RegionT<DbArray>&) (RobustPlaneSweepAlgebra.cpp:826)
==25137==    by 0x1E622DA: RobustPlaneSweep::UnionOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RegionT<DbArray>&) (RobustPlaneSweepAlgebra.cpp:1988)
==25137==    by 0x1E6C260: int RobustPlaneSweep::robustUnionT<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(RegionT<DbArray>*, RegionT<DbArray>*, RegionT<DbArray>*) (RobustPlaneSweepAlgebra.cpp:2
437)
==25137==    by 0x1E708E0: int RobustPlaneSweep::SpatialUnionGeneric<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(Word*, Word&, int, Word&, void*) (RobustPlaneSweepAlgebra.cpp:2460)
==25137==    by 0x17512E2: QueryProcessor::Eval(void*, Word&, int) (QueryProcessor.cpp:4500)
==25137==    by 0x17519E7: QueryProcessor::Request(void*, Word&) (QueryProcessor.cpp:4689)
==25137==    by 0x18EB627: extrelationalg::AggregateB(Word*, Word&, int, Word&, void*) (ExtRelationAlgebra.cpp:9540)
==25137==    by 0x17512E2: QueryProcessor::Eval(void*, Word&, int) (QueryProcessor.cpp:4500)
==25137==    by 0x175004D: QueryProcessor::EvalP(void*, Word&, int) (QueryProcessor.cpp:4143)
==25137==    by 0x167BB8E: SecondoInterfaceTTY::Command_Let(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) (SecondoInterfaceTTY.cpp:2081)
==25137==    by 0x1676F39: SecondoInterfaceTTY::Secondo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int, bool, bool, unsigned long&, int&, int&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (SecondoInterfaceTTY.cpp:153
1)
==25137==    by 0x16D2548: SecondoTTY::CallSecondo() (SecondoTTY.cpp:577)
==25137==    by 0x16D290D: SecondoTTY::CallSecondo2() (SecondoTTY.cpp:629)
==25137==    by 0x16D1939: SecondoTTY::ProcessCommand() (SecondoTTY.cpp:422)
==25137==    by 0x16D1F1A: SecondoTTY::ProcessCommands(bool, bool) (SecondoTTY.cpp:481)
==25137==    by 0x16D2E6A: SecondoTTY::Execute() (SecondoTTY.cpp:721)
==25137==    by 0x16D3572: SecondoTTYMode(TTYParameter const&) (SecondoTTY.cpp:880)
==25137==    by 0x16CF4FF: main (MainTTY.cpp:164)
==25137==  Uninitialised value was created by a heap allocation
==25137==    at 0xEC4E17F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==25137==    by 0x1E76AD3: __gnu_cxx::new_allocator<RobustPlaneSweep::SweepEvent*>::allocate(unsigned long, void const*) (new_allocator.h:111)
==25137==    by 0x1E76983: std::allocator_traits<std::allocator<RobustPlaneSweep::SweepEvent*> >::allocate(std::allocator<RobustPlaneSweep::SweepEvent*>&, unsigned long) (alloc_traits.h:436)
==25137==    by 0x1E76493: std::_Deque_base<RobustPlaneSweep::SweepEvent*, std::allocator<RobustPlaneSweep::SweepEvent*> >::_M_allocate_node() (stl_deque.h:602)
==25137==    by 0x1E88827: void std::deque<RobustPlaneSweep::SweepEvent*, std::allocator<RobustPlaneSweep::SweepEvent*> >::_M_push_back_aux<RobustPlaneSweep::SweepEvent* const&>(RobustPlaneSweep::SweepEve
nt* const&) (deque.tcc:487)
==25137==    by 0x1E85C88: std::deque<RobustPlaneSweep::SweepEvent*, std::allocator<RobustPlaneSweep::SweepEvent*> >::push_back(RobustPlaneSweep::SweepEvent* const&) (stl_deque.h:1552)
==25137==    by 0x1E83B88: std::queue<RobustPlaneSweep::SweepEvent*, std::deque<RobustPlaneSweep::SweepEvent*, std::allocator<RobustPlaneSweep::SweepEvent*> > >::push(RobustPlaneSweep::SweepEvent* const&)
 (stl_queue.h:252)
==25137==    by 0x1E79282: RobustPlaneSweep::BentleyOttmann::SetNextStartEndEvent() (BentleyOttmann.cpp:153)
==25137==    by 0x1E795BE: RobustPlaneSweep::BentleyOttmann::GetNextEvent() (BentleyOttmann.cpp:256)
==25137==    by 0x1E79E4C: RobustPlaneSweep::BentleyOttmann::DetermineIntersectionsInternal() (BentleyOttmann.cpp:428)
==25137==    by 0x1E8EC9C: RobustPlaneSweep::Hobby::DetermineIntersectionsInternal() (Hobby.cpp:61)
==25137==    by 0x1E79CDD: RobustPlaneSweep::BentleyOttmann::DetermineIntersections() (BentleyOttmann.cpp:394)
==25137==    by 0x1E68E4E: RobustPlaneSweep::RegionRegionSetOp::SetOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RobustPlaneSweep::SetOpType, RegionT<DbArray>&) (RobustPlaneSweepAlgebra.cpp:826)
==25137==    by 0x1E622DA: RobustPlaneSweep::UnionOp(RegionT<DbArray> const&, RegionT<DbArray> const&, RegionT<DbArray>&) (RobustPlaneSweepAlgebra.cpp:1988)
==25137==    by 0x1E6C260: int RobustPlaneSweep::robustUnionT<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(RegionT<DbArray>*, RegionT<DbArray>*, RegionT<DbArray>*) (RobustPlaneSweepAlgebra.cpp:2437)
==25137==    by 0x1E708E0: int RobustPlaneSweep::SpatialUnionGeneric<RegionT<DbArray>, RegionT<DbArray>, RegionT<DbArray> >(Word*, Word&, int, Word&, void*) (RobustPlaneSweepAlgebra.cpp:2460)
==25137==    by 0x17512E2: QueryProcessor::Eval(void*, Word&, int) (QueryProcessor.cpp:4500)
==25137==    by 0x17519E7: QueryProcessor::Request(void*, Word&) (QueryProcessor.cpp:4689)
==25137==    by 0x18EB627: extrelationalg::AggregateB(Word*, Word&, int, Word&, void*) (ExtRelationAlgebra.cpp:9540)
==25137==    by 0x17512E2: QueryProcessor::Eval(void*, Word&, int) (QueryProcessor.cpp:4500)
==25137==    by 0x175004D: QueryProcessor::EvalP(void*, Word&, int) (QueryProcessor.cpp:4143)
==25137==    by 0x167BB8E: SecondoInterfaceTTY::Command_Let(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) (SecondoInterfaceTTY.cpp:2081)
==25137==    by 0x1676F39: SecondoInterfaceTTY::Secondo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int, bool, bool, unsigned long&, int&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (SecondoInterfaceTTY.cpp:1531)
==25137==    by 0x16D2548: SecondoTTY::CallSecondo() (SecondoTTY.cpp:577)
==25137==    by 0x16D290D: SecondoTTY::CallSecondo2() (SecondoTTY.cpp:629)

jnidzwetzki added a commit to secondo-database/secondo-database.github.io that referenced this issue Jun 2, 2021
@jnidzwetzki
Copy link
Member

The behavior of the operator triangulation_new needs also be changed in SECONDO 4.2 for MWGen

delete database berlingenmo;
create database berlingenmo;
@TM-Data/MWGen/createberlingenmo.sec

[...]

=> []
 let tri_reg_new = triangulation_new(node_reg) consume;
command
'let tri_reg_new = triangulation_new(node_reg) consume'
started at: Wed Jun  2 15:37:53 2021

noMemoryOperators = 0
perOperator = 0
Partition.cpp 2575 line empty
[Thread -1 () at Wed Jun  2 15:37:55 2021] Partition.cpp:2576: void SpacePartition::ReorderLine(SimpleLine*, std::vector<MyHalfSegment>&): Assertion failed: false
No backtrace named assert_fail

 Generating stack trace ...
 ************ BEGIN STACKTRACE ************
Writing stacktrace to: /tmp/tmp.Xgzb0a6fHF

 *********** END STACKTRACE **********************

*** Signal SIGABRT (6) caught! Calling default signal handler ...
./SecondoTTYBDB: line 34:  5458 Aborted                 (core dumped) $runner $*



========
SECONDO has crashed, printing stack trace....
========



Binary relocation: 0x5639bf5f8000

./SecondoBDB(_ZN7WinUnix10stacktraceEPKcS1_S1_+0x74)[0x5639c0c14536]
./SecondoBDB(_ZN11Application20AbortOnSignalHandlerEi+0x10f)[0x5639c0c0ba95]
/lib/x86_64-linux-gnu/libc.so.6(+0x3efd0)[0x7f25b5e57fd0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f25b5e57f47]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f25b5e598b1]
/usr/lib/libswipl.so.7.6(__assert_fail+0xa8)[0x7f25b7b3f018]
./SecondoBDB(_ZN14SpacePartition11ReorderLineEP11SimpleLineTI7DbArrayERSt6vectorI13MyHalfSegmentSaIS5_EE+0xbf)[0x5639c260b995]
./SecondoBDB(_ZN12CompTriangle19PolygonContourPointEjPiRSt6vectorIdSaIdEES4_+0x363)[0x5639c279f4a1]
./SecondoBDB(_ZN9RegVertex16TriangulationNewEv+0x16f)[0x5639c27b7701]
./SecondoBDB(_ZN18TransportationMode28OpTMTriangulationNewValueMapEP4WordRS0_iS2_Pv+0xb7)[0x5639c25ad4df]
./SecondoBDB(_ZN14QueryProcessor4EvalEPvR4Wordi+0xe87)[0x5639c0c41323]
./SecondoBDB(_ZN14QueryProcessor4OpenEPv+0x7c)[0x5639c0c41d76]
./SecondoBDB(_ZN6StreamI5TupleE4openEv+0x56)[0x5639c0d569a2]
./SecondoBDB(_ZN15OperatorConsume7ConsumeEP4WordRS0_iS2_Pv+0x10b)[0x5639c0dbdd07]
./SecondoBDB(_ZN14QueryProcessor4EvalEPvR4Wordi+0xe33)[0x5639c0c412cf]
./SecondoBDB(_ZN14QueryProcessor5EvalPEPvR4Wordi+0xea)[0x5639c0c4008e]
./SecondoBDB(_ZN19SecondoInterfaceTTY11Command_LetEmRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x2f9)[0x5639c0b6bbcf]
./SecondoBDB(_ZN19SecondoInterfaceTTY7SecondoERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmibbRmRiS9_RS5_S7_b+0x4c20)[0x5639c0b66f7a]
./SecondoBDB(_ZN10SecondoTTY11CallSecondoEv+0x34f)[0x5639c0bc2589]
./SecondoBDB(_ZN10SecondoTTY12CallSecondo2Ev+0x2c)[0x5639c0bc294e]
./SecondoBDB(_ZN10SecondoTTY14ProcessCommandEv+0x75c)[0x5639c0bc197a]
./SecondoBDB(_ZN10SecondoTTY15ProcessCommandsEbb+0x9d)[0x5639c0bc1f5b]
./SecondoBDB(_ZN10SecondoTTY11ProcessFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbb+0x154)[0x5639c0bc0cc8]
./SecondoBDB(_ZN10SecondoTTY14ProcessCommandEv+0x41a)[0x5639c0bc1638]
./SecondoBDB(_ZN10SecondoTTY15ProcessCommandsEbb+0x9d)[0x5639c0bc1f5b]
./SecondoBDB(_ZN10SecondoTTY7ExecuteEv+0x3d3)[0x5639c0bc2eab]
./SecondoBDB(_Z14SecondoTTYModeRK12TTYParameter+0x2cf)[0x5639c0bc35b3]
./SecondoBDB(main+0x1f6)[0x5639c0bbf540]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f25b5e3ab97]
./SecondoBDB(_start+0x2a)[0x5639c0b5ee4a]


========
 Trying to decode the stacktrace...
========


WinUnix::stacktrace(char const*, char const*, char const*) at WinUnix.cpp:247
Application::AbortOnSignalHandler(int) at Application.cpp:333
?? ??:0
?? ??:0
?? ??:0
?? ??:0
SpacePartition::ReorderLine(SimpleLineT<DbArray>*, std::vector<MyHalfSegment, std::allocator<MyHalfSegment> >&) at Partition.cpp:2578
CompTriangle::PolygonContourPoint(unsigned int, int*, std::vector<double, std::allocator<double> >&, std::vector<double, std::allocator<double> >&) at PaveGraph.cpp:2193
RegVertex::TriangulationNew() at PaveGraph.cpp:6755
TransportationMode::OpTMTriangulationNewValueMap(Word*, Word&, int, Word&, void*) at TransportationMode.cpp:15833
QueryProcessor::Eval(void*, Word&, int) at QueryProcessor.cpp:4500
QueryProcessor::Open(void*) at QueryProcessor.cpp:4743
Stream<Tuple>::open() at Stream.h:107
OperatorConsume::Consume(Word*, Word&, int, Word&, void*) at OperatorConsume.cpp:123
QueryProcessor::Eval(void*, Word&, int) at QueryProcessor.cpp:4491
QueryProcessor::EvalP(void*, Word&, int) at QueryProcessor.cpp:4151
SecondoInterfaceTTY::Command_Let(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool) at SecondoInterfaceTTY.cpp:2083
SecondoInterfaceTTY::Secondo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int, bool, bool, unsigned long&, int&, int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) at SecondoInterfaceTTY.cpp:1531
SecondoTTY::CallSecondo() at SecondoTTY.cpp:577 (discriminator 2)
SecondoTTY::CallSecondo2() at SecondoTTY.cpp:629
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:423
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::ProcessFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) at SecondoTTY.cpp:262
SecondoTTY::ProcessCommand() at SecondoTTY.cpp:375 (discriminator 1)
SecondoTTY::ProcessCommands(bool, bool) at SecondoTTY.cpp:481
SecondoTTY::Execute() at SecondoTTY.cpp:721
SecondoTTYMode(TTYParameter const&) at SecondoTTY.cpp:880
main at MainTTY.cpp:164
?? ??:0
_start at ??:?
========

jnidzwetzki added a commit to secondo-database/mwgen-scripts that referenced this issue Jun 10, 2021
jnidzwetzki added a commit that referenced this issue Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants