Another issue with xch : relationship analysis
The following problem arises on codepoint-properties branch currently.
Starting program: /home/cameron/parabix-devel/debug12-build/bin/xch slc ../build12/hh --illustrator-width=200
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
xch: /home/cameron/parabix-devel/lib/kernel/pipeline/compiler/analysis/relationship_analysis.cpp:1331: static void kernel::PipelineAnalysis::addKernelRelationshipsInReferenceOrdering(unsigned int, const RelationshipGraph&, std::function<void(kernel::Kernel::PortType, unsigned int, unsigned int)>): Assertion `G[f].Reason != ReasonType::Reference' failed.
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff648e859 in __GI_abort () at abort.c:79
#2 0x00007ffff648e729 in __assert_fail_base (fmt=0x7ffff6624588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5555573df410 "G[f].Reason != ReasonType::Reference",
file=0x5555573dd970 "/home/cameron/parabix-devel/lib/kernel/pipeline/compiler/analysis/relationship_analysis.cpp", line=1331, function=<optimized out>) at assert.c:92
#3 0x00007ffff649ffd6 in __GI___assert_fail (assertion=assertion@entry=0x5555573df410 "G[f].Reason != ReasonType::Reference", file=file@entry=0x5555573dd970 "/home/cameron/parabix-devel/lib/kernel/pipeline/compiler/analysis/relationship_analysis.cpp",
line=line@entry=1331, function=function@entry=0x5555573dd9f8 "static void kernel::PipelineAnalysis::addKernelRelationshipsInReferenceOrdering(unsigned int, const RelationshipGraph&, std::function<void(kernel::Kernel::PortType, unsigned int, unsigned int)>)")
at assert.c:101
#4 0x000055555582ffa8 in kernel::PipelineAnalysis::addKernelRelationshipsInReferenceOrdering(unsigned int, boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, kernel::RelationshipNode, kernel::RelationshipType, boost::no_property, boost::listS> const&, std::function<void (kernel::Kernel::PortType, unsigned int, unsigned int)>) (kernel=kernel@entry=28, G=..., insertionFunction=...) at /home/cameron/parabix-devel/lib/kernel/pipeline/compiler/analysis/relationship_analysis.cpp:1324
#5 0x000055555581c08e in kernel::PipelineAnalysis::initialPartitioningPass (this=this@entry=0x7fffffffd8b0) at /usr/include/c++/9/bits/std_function.h:87
#6 0x0000555555804c2d in kernel::PipelineAnalysis::analyze (b=..., pipelineKernel=pipelineKernel@entry=0x55555822b4e0) at /home/cameron/parabix-devel/lib/kernel/pipeline/compiler/analysis/pipeline_analysis.hpp:36
#7 0x000055555580b1be in kernel::PipelineCompiler::PipelineCompiler (this=0x555558430830, b=..., pipelineKernel=0x55555822b4e0) at /home/cameron/parabix-devel/lib/kernel/pipeline/compiler/pipeline_compiler.hpp:920
#8 0x0000555555801bc5 in std::make_unique<kernel::PipelineCompiler, std::unique_ptr<kernel::KernelBuilder, std::default_delete<kernel::KernelBuilder> > const&, kernel::PipelineKernel*> () at /usr/include/c++/9/bits/unique_ptr.h:856
#9 kernel::PipelineKernel::instantiateKernelCompiler (this=0x55555822b4e0, b=...) at /home/cameron/parabix-devel/lib/kernel/pipeline/pipeline_kernel.cpp:474
#10 0x0000555555c91330 in kernel::Kernel::generateKernel (this=<optimized out>, b=...) at /home/cameron/parabix-devel/lib/kernel/core/kernel.cpp:205
#11 0x00005555557ef5f7 in CPUDriver::generateUncachedKernels (this=0x7fffffffe1e0) at /usr/include/c++/9/bits/unique_ptr.h:360
#12 0x00005555557f2198 in kernel::ProgramBuilder::compileKernel (this=this@entry=0x55555822be20, kernel=kernel@entry=0x55555822b4e0) at /home/cameron/parabix-devel/lib/kernel/pipeline/pipeline_builder.cpp:66
#13 0x00005555557f818e in kernel::ProgramBuilder::compile (this=0x55555822be20) at /home/cameron/parabix-devel/lib/kernel/pipeline/pipeline_builder.cpp:56
#14 0x00005555557432d8 in generatePipeline (pxDriver=..., p=<optimized out>, illustrator=...) at /usr/include/c++/9/bits/unique_ptr.h:360
#15 0x0000555555756c7b in main (argc=4, argv=<optimized out>) at /home/cameron/parabix-devel/tools/transcoders/xch.cpp:522
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information