Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
14950 Discussions

Fitter setting: "Advanced Physical Optimization" leads to segmentation fault


When I turned on the "Advanced Physical Optimization" within the fitter setting, I have the following error:


Screenshot from 2018-09-27 10-04-14.png

Problem Details Error:   *** Fatal Error: Segment Violation at (nil) Module: quartus_fit Stack Trace: 0x742a3: LBLK_ALE_STATE::initialize(DEV_FAMILY_ENUM, DEV_DEVICE_ENUM) + 0x13 (legality_lblk) 0x7d7c6: LBLK_LAB_STATE::initialize() + 0x56 (legality_lblk) 0x89bf80: LLC_INTERFACE::getDefaultOpts() + 0x70 (fitter_vpr20kmain) 0x8b9888: LLC_INTERFACE::legalizeWithLLC(APL_INTERFACE*, LBLK_LAB&, std::vector<APL_NODE const*, tbb::scalable_allocator<APL_NODE const*> > const&, bool, bool) + 0x68 (fitter_vpr20kmain) 0x8ba0fd: PCL::APL::LegalityChecker::legalize(std::vector<APL_NODE const*, tbb::scalable_allocator<APL_NODE const*> > const&, PCL::LLC::Checker<APL_NODE, PCL::APL::LegalLabState>::LEGALIZATION_LEVEL, PCL::APL::LegalLabState**) const + 0xed (fitter_vpr20kmain) 0x8ba757: PCL::APL::APLHandler::createCoresFromNetlist(PCL::APL::APLHandler::LSCBCRun*, PCL::APL::APLHandler::BFCRun*, APL_NODE const*, unsigned long, PCL::LSC::ClusterGraph<APL_NODE, PCL::APL::LegalLabState, PCL::CLUSTER::Cluster<APL_NODE, PCL::APL::LegalLabState> >*, bool) + 0x2d7 (fitter_vpr20kmain) 0x8c740f: PCL::APL::APLHandler::createGraphFromAPLNode(PCL::APL::APLHandler::LSCBCRun*, APL_NODE const*, APL_DISTRIBUTION<APL_NODE const*> const&, PCL::APL::LegalityChecker*, PCL::APL::APLHandler::PCLRunProperties*) + 0x8f (fitter_vpr20kmain) 0x8cc37c: PCL::APL::APLHandler::setPCLRun(unsigned long, PCL::APL::APLHandler::LSCRun const*) + 0xd9c (fitter_vpr20kmain) 0x8cd397: PCL::APL::APLHandler::cluster() + 0xb7 (fitter_vpr20kmain) 0x8cde28: APL::cluster() + 0x88 (fitter_vpr20kmain) 0x84aa91: do_analytical_placement + 0x1411 (fitter_vpr20kmain) 0x84bfc2: do_analytical_placement_phase + 0x2a2 (fitter_vpr20kmain) 0x828348: do_clustering + 0x838 (fitter_vpr20kmain) 0x82a799: cl_flow_pack_to_cbes + 0x2a9 (fitter_vpr20kmain) 0x82aefa: l_do_clustering_phase + 0xda (fitter_vpr20kmain) 0x83546d: aa_flow_place + 0x1d (fitter_vpr20kmain) 0x835dfe: aa_flow_fit + 0x4e (fitter_vpr20kmain) 0x6e2c64: VPR_QI_FACADE::vpr_qi_main() + 0x24 (fitter_vpr20kmain) 0x6853e: fitapi_run_vpr + 0x5e (fitter_fitapi) 0xba65a: FITCC_EXPERT::run_vpr() const + 0xba (fitter_fitcc) 0xbb2ca: FITCC_EXPERT::place_and_route() const + 0xba (fitter_fitcc) 0xbda00: FITCC_EXPERT::invoke_fitter() const + 0xea0 (fitter_fitcc) 0x161ee: ftitan_execute + 0x1f2 (fitter_ftitan) 0x2457e: fmain_start(CMP_FACADE*) + 0x4ae (fitter_fmain) 0x1f826: qfit_execute_fit(QCU_FRAMEWORK*, QFIT_FRAMEWORK*) + 0x1d6 (comp_qfit_legacy_flow) 0x1bda2: QFIT_FRAMEWORK::execute() + 0x282 (comp_qfit_legacy_flow) 0x23568: qfit_legacy_flow_run_legacy_fitter_flow + 0x218 (comp_qfit_legacy_flow) 0x4d671: TclInvokeStringCommand + 0x81 (tcl8.6) 0x51ec7: TclNRRunCallbacks + 0x47 (tcl8.6) 0x536e7: TclEvalEx + 0x947 (tcl8.6) 0xfb366: Tcl_FSEvalFileEx + 0x266 (tcl8.6) 0xfb47e: Tcl_EvalFile + 0x2e (tcl8.6) 0x11ebc: qexe_evaluate_tcl_script(std::string const&) + 0x382 (comp_qexe) 0x18dcf: qexe_do_tcl(QEXE_FRAMEWORK*, std::string const&, std::string const&, std::list<std::string, std::allocator<std::string> > const&, bool, bool) + 0x597 (comp_qexe) 0x19d7b: qexe_run_tcl_option(QEXE_FRAMEWORK*, char const*, std::list<std::string, std::allocator<std::string> >*, bool) + 0x57e (comp_qexe) 0x3e06a: qcu_run_tcl_option(QCU_FRAMEWORK*, char const*, std::list<std::string, std::allocator<std::string> >*, bool) + 0x1065 (comp_qcu) 0x1c586: qexe_standard_main(QEXE_FRAMEWORK*, QEXE_OPTION_DEFINITION const**, int, char const**) + 0x6b3 (comp_qexe) 0x3b75: qfit2_main(int, char const**) + 0xc5 (quartus_fit) 0x40720: msg_main_thread(void*) + 0x10 (ccl_msg) 0x602c: thr_final_wrapper + 0xc (ccl_thr) 0x407df: msg_thread_wrapper(void* (*)(void*), void*) + 0x62 (ccl_msg) 0xa559: mem_thread_wrapper(void* (*)(void*), void*) + 0x99 (ccl_mem) 0x8f92: err_thread_wrapper(void* (*)(void*), void*) + 0x27 (ccl_err) 0x63f2: thr_thread_wrapper + 0x15 (ccl_thr) 0x427e2: msg_exe_main(int, char const**, int (*)(int, char const**)) + 0xa3 (ccl_msg) 0x21b97: __libc_start_main + 0xe7 (     End-trace     Executable: quartus Comment: None   System Information Platform: linux64 OS name: Ubuntu 18.04.1 OS version: 18   Quartus Prime Information Address bits: 64 Version: 17.1.0 Build: 590 Edition: Standard Edition


0 Kudos
1 Reply


I tried to replicate the issue with available system Ubuntu : 14.04.5 LTS & Kernel : Linux 4.4.0-31-generic with Quartus Std v17.1 but I am able to compile full design code available in quartus tool with fitter setting : "Advanced Physical Optimization" option.


which devices are you using ?

Try same design on different machine if possible or reinstall on same machine.


Best Regards

Vikas Jathar 

(This message was posted on behalf of Intel Corporation)