Error messages
A couple of messages. Are these a problem to be solved, or ignored?
1. Whenever I start Engrid, I get a bunch of these messages in the terminal: karl@home-linux:~$ engrid void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 59 m_LogFileName = /tmp/enGrid_20130806131638629/enGrid_output.txt QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) QObject: Cannot create children for a parent that is in a different thread. (Parent is GuiMainWindow(0x7fff9692eac0), parent's thread is QThread(0x1d70610), current thread is QThread(0x19738078) 2. Fairly often, I get this message after meshing the same file for awhile, which results in a crash: No projection found for point, id_node= 125643 , xp= inf inf -inf m_G1= (-inf, -inf, inf) m_G2= (-inf, -inf, inf) m_G3= (nan, nan, nan) QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread Xlib: sequence lost (0x24383 > 0x14385) in reply type 0x1c! QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. engrid: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. /home/karl/Software/engrid/run.bash: line 26: 6367 Aborted (core dumped) $dir/src/engrid I know there are other ways to report bugs, but I am wondering if these messages are particular to my installation, or if others have them also? Thanks, Karl |
Greetings Karl,
This: Quote:
Which enGrid version are you building and which instructions are you following? Because those errors are related to building enGrid in Debug mode and/or with QT threading activated. Best regards, Bruno |
Quote:
Thanks Much, Karl |
Hi Karl,
I forgot to ask: which Linux Distribution are you using? I want to check if I can reproduce this issue. Best regards, Bruno |
Quote:
I reinstalled master last night and the Qt messages went away! Maybe the branch changed. Thanks for your help. Ubuntu 12.04 LTS. --edit-- oops, the message about the threads is still there. Master branch. |
Hi Karl,
Ah, nothing like living on the bleeding edge of enGrid :) OK, I've tried just now the following steps on two machines (one real and one virtual) Ubuntu 12.04 x86_64, with BrlCad installed from the Deb package located here: http://sourceforge.net/projects/brlc...0Linux/7.24.0/ And ran the following command for activating the respective environment variable: Code:
export BRLCADINCDIR=/usr/brlcad/include Code:
source scripts/setup_pathes.bash But the problem is that it failed to build, with the following messages: Code:
./libengrid/libengrid.so: undefined reference to `nglib::Ng_NewMesh()' I'll see if I can figure out how to solve this in some 12h from now. Best regards, Bruno |
1 Attachment(s)
Hi Karl,
I finally managed to have the time and figure out the problem on my side. From what I can figure out, the same hasn't happened to you and Oliver it's possibly because the "Makefile" files weren't updated (for those interested, it's fixed in this commit: https://github.com/enGits/engrid/com...e75294868d84bb ). Anyway, now I'm in a position to help diagnose the problem. Please run the following commands from the folder "engrid/src": Code:
export LD_LIBRARY_PATH=./libengrid:./netgen_svn:$LD_LIBRARY_PATH:/usr/brlcad/lib Best regards, Bruno |
Quote:
|
All times are GMT -4. The time now is 07:03. |