Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Quartus 15.1 crashing when going for Tools...License Setup

It just goes as "core dumped" when you run in terminal.

I bypassed the bash script and ran quartus straight into gdb and got this backtrace:

 # 0  0x00007fffadc8dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56#1  0x00007fffadc910d8 in __GI_abort () at abort.c:89# 2  0x00007fffea7c53b8 in qt_message_output(QtMsgType, char const*) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 3  0x00007fffea7c555c in ?? () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 4  0x00007fffea7c5715 in qFatal(char const*, ...) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 5  0x00007fff4df2a4bf in PRDQ_PTE::update_line_edit() () from /home/sun/altera/15.1/quartus/linux64/libprj_prdq.so# 6  0x00007fff4df39efd in PRDQ_PTE::PRDQ_PTE(int, QWidget*, QFlags<Qt::WindowType>) () from /home/sun/altera/15.1/quartus/linux64/libprj_prdq.so# 7  0x00007fff4df3a719 in prdq_options_pte () from /home/sun/altera/15.1/quartus/linux64/libprj_prdq.so# 8  0x00007fffc4bbb5a6 in AFCQ_TREE_SHEET::get_dyn_page(AFCQ_PAGE_INFO*) () from /home/sun/altera/15.1/quartus/linux64/libgcl_afcq.so# 9  0x00007fffc4bbbc0f in AFCQ_TREE_SHEET::add_pages(QList<AFCQ_PAGE_INFO*>*, QStandardItem*) () from /home/sun/altera/15.1/quartus/linux64/libgcl_afcq.so# 10 0x00007fffc4bbbc61 in AFCQ_TREE_SHEET::add_pages(QList<AFCQ_PAGE_INFO*>*, QStandardItem*) () from /home/sun/altera/15.1/quartus/linux64/libgcl_afcq.so# 11 0x00007fff4df414bc in PRDQ_SHEET::PRDQ_SHEET(QList<AFCQ_PAGE_INFO*>*, QWidget*) () from /home/sun/altera/15.1/quartus/linux64/libprj_prdq.so# 12 0x00007fff4df4257e in prdq_dyn_options_dlg () from /home/sun/altera/15.1/quartus/linux64/libprj_prdq.so# 13 0x00007ffff74a5b42 in QUI_TOOLS_MENU::license_setup_action() () from /home/sun/altera/15.1/quartus/linux64/libsys_qui.so# 14 0x00007ffff74a33b0 in QUI_TOOLS_MENU::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /home/sun/altera/15.1/quartus/linux64/libsys_qui.so# 15 0x00007fffea8ff1f8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 16 0x00007fffb46969c2 in QAction::triggered(bool) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 17 0x00007fffb4697d70 in QAction::activate(QAction::ActionEvent) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 18 0x00007fffb4b3236b in ?? () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 19 0x00007fffb4b37b32 in ?? () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 20 0x00007fffb46fc361 in QWidget::event(QEvent*) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 21 0x00007fffb4b3765b in QMenu::event(QEvent*) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 22 0x00007fffb469de4f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 23 0x00007fffb46a46d3 in QApplication::notify(QObject*, QEvent*) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 24 0x00007fffea8e75b4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 25 0x00007fffb46a10c5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 26 0x00007fffb4724a95 in ?? () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 27 0x00007fffb4723993 in QApplication::x11ProcessEvent(_XEvent*) () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 28 0x00007fffb474ed32 in ?? () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 29 0x00007fffaca90e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0# 30 0x00007fffaca91048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0# 31 0x00007fffaca910ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0# 32 0x00007fffea91a505 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 33 0x00007fffb474e87f in ?? () from /home/sun/altera/15.1/quartus/linux64/libQtGui.so.4# 34 0x00007fffea8e65c5 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 35 0x00007fffea8e6998 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 36 0x00007fffea8eb7c4 in QCoreApplication::exec() () from /home/sun/altera/15.1/quartus/linux64/libQtCore.so.4# 37 0x0000000000408478 in qgq_main(int, char const**) ()# 38 0x00007fffb90f5e60 in msg_main_thread(void*) () from /home/sun/altera/15.1/quartus/linux64/libccl_msg.so# 39 0x00007fffb648302c in thr_final_wrapper () from /home/sun/altera/15.1/quartus/linux64/libccl_thr.so# 40 0x00007fffb90f5f1c in msg_thread_wrapper(void* (*)(void*), void*) () from /home/sun/altera/15.1/quartus/linux64/libccl_msg.so# 41 0x000000000040c0d9 in mem_thread_wrapper(void* (*)(void*), void*) ()# 42 0x00007fffb6abfdef in err_thread_wrapper(void* (*)(void*), void*) () from /home/sun/altera/15.1/quartus/linux64/libccl_err.so# 43 0x00007fffb64833f2 in thr_thread_wrapper () from /home/sun/altera/15.1/quartus/linux64/libccl_thr.so# 44 0x00007fffb90f8122 in msg_exe_main(int, char const**, int (*)(int, char const**)) () from /home/sun/altera/15.1/quartus/linux64/libccl_msg.so# 45 0x000000000040854a in main ()

Im' running Ubuntu 14.04 LTS.

19 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Personally, I'd prefer Altera concentrate on the FPGA aspects rather than trying to support lots of different Linux distributions. Realize that all of Linux is probably only a few percent of their customers, with the vast majority running windows. I'd also prefer to see software crash on purpose when it detects something is wrong instead of silently producing output with a subtle bug in it.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Galfonz,

    I see you're a Windows user. It shows in your response. So let me clarify a few points.

    1. There are not many "linux distributions" as it appear. There is basically two major distributions - redhat and debian - and pretty much all others are just versions of them.

    2. Even if they are different distributions, they are fully interoperable. I can compile my software on Ubuntu 15.10 (latest) and run it on RHEL 6.1 with no problems, provided I ship the dependencies, which Altera does with Quartus, shipping QT4 etc. (see that libQtCore.so.4 is shipped in $QUARTUS/linux64). So if someone throws "we do not support Ubuntu" they are clearly showing their lack of basic knowledge not only on Linux in general but also Redhat, which is supported.

    3. You are overstating the windows share of Altera users. I think it is the other way around - more Linux users than Windows. In some areas as networking and finance, 100% of the users are Linux. I would like to hear an official number from Altera on this though.

    4. Software crash on purpose - actually looking at the exception, it looks like quartus updated a widget on Qt4 with some invalid data ( perhaps a null pointer? ) and then Qt4 threw a qFatal() because it was so serious it could not be recovered from.

    Let's wait for Altera to come back with the solution. My hunch is that this is an issue that affects all users Windows and Linux alike. I'm seeing in the logs that this exception has been thrown from Altera's code so it is very likely it's some logic error while handling previous version's license entries.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I personally use linux in a VM for driver development for SoC. I installed Centos 6.5 (based on red hat) and haven't had issues, I've run Quartus 14.1 on it as well, but not often. I have seen several complaints from Ubuntu and other Linux version users, but few from red hat (or derivitives) users. If they are solved its usually by adding stuff present in red hat but not in the other distro.

    I think the path to Linux happiness with Quartus is to use a supported distro or something as close as possible. You're just borrowing trouble otherwise. After all the point is to do FPGA, not Linux maintenance.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The latest Redhat 7 is still in kernel 3.10 while even Ubuntu 14.04 LTS (long term support) is already on 3.19.

    Redhat has about 3,000 packages only against 40-60,000 on Debian/Ubuntu. It is good for backend servers like file or mail.

    I just dont understand why anyone would possibly elect redhat as a development environment.

    And just to freak out some people in this forum, here's Vivado support list:

    • Red Hat Enterprise Workstation 5.8 - 5.10 (32-bit and 64-bit)

    • Red Hat Enterprise Workstation 6.4 - 6.5 (32-bit and 64-bit)

    • SUSE Linux Enterprise 11.1 - 11.2 (32-bit and 64-bit)

    • Cent OS 6.4 and 6.5 (64-bit)

    • Ubuntu Linux 14.04 LTS (64-bit)

    Altera, please make an effort.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    [SOLVED]

    Update: I deleted the directory ~/.altera.quartus and restarted. Now Quartus Prime 15.1 goes into Tools...License Setup with NO problem.

    So it seems that apparently the new quartus is getting in trouble reading license files from 15.0. From my logs, more especifically ~/.altera.quartus/quartus2.qreg.

    As I believed, this is NOT a Ubuntu problem. It should affect other users, perhaps even Windows users as well.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    [SOLVED]

    Update: I deleted the directory ~/.altera.quartus and restarted. Now Quartus Prime 15.1 goes into Tools...License Setup with NO problem.

    So it seems that apparently the new quartus is getting in trouble reading license files from 15.0. From my logs, more especifically ~/.altera.quartus/quartus2.qreg.

    As I believed, this is NOT a Ubuntu problem. It should affect other users, perhaps even Windows users as well.

    --- Quote End ---

    Thanks for sharing the solution.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm good now, but I'm 100% there's a bug somewhere there in Quartus.

    If Altera doesnt care, I have more to do.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Did the OP get any resolution on this, because I'm seeing something similar with Quartus 16.0 and 16.1? My configuration is CentOS 7.2 and my Qt version is 5.4.0. Does anyone know which versions of Qt are compatible with Quartus?