|
[Sponsors] |
August 7, 2013, 00:10 |
Error messages
|
#1 |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
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 |
|
August 16, 2013, 22:38 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
August 17, 2013, 02:59 |
|
#3 | |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
Quote:
Thanks Much, Karl |
||
August 17, 2013, 07:46 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
August 17, 2013, 12:31 |
|
#5 | |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
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. Last edited by atg; August 17, 2013 at 14:17. |
||
August 17, 2013, 21:49 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 export BRLCADLIBDIR=/usr/brlcad/lib Code:
source scripts/setup_pathes.bash make clean rm Makefile* libengrid/Makefile* netgen_svn/Makefile* scripts/build-nglib.sh qmake make -j 4 But the problem is that it failed to build, with the following messages: Code:
./libengrid/libengrid.so: undefined reference to `nglib::Ng_NewMesh()' ./libengrid/libengrid.so: undefined reference to `typeinfo for netgen::NgException' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GetPoint(void**, int, double*)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GetNE(void**)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GetSurfaceElement(void**, int, int*)' ./libengrid/libengrid.so: undefined reference to `vtable for netgen::NgException' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_Meshing_Parameters::Ng_Meshing_Parameters()' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GenerateVolumeMesh(void**, nglib::Ng_Meshing_Parameters*)' /usr/lib/x86_64-linux-gnu/libavcodec.so.53: undefined reference to `deflateBound@ZLIB_1.2.0' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_DeleteMesh(void**)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GetNSE(void**)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_AddPoint(void**, double*)' ./libengrid/libengrid.so: undefined reference to `netgen::NgException::~NgException()' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_Init()' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GetVolumeElement(void**, int, int*)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_Exit()' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_AddSurfaceElement(void**, nglib::Ng_Surface_Element_Type, int*)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_RestrictMeshSizeBox(void**, double*, double*, double)' ./libengrid/libengrid.so: undefined reference to `nglib::Ng_GetNP(void**)' /usr/lib/x86_64-linux-gnu/libxml2.so.2: undefined reference to `gzdirect@ZLIB_1.2.2.3' I'll see if I can figure out how to solve this in some 12h from now. Best regards, Bruno
__________________
|
|
August 24, 2013, 17:37 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 ldd engrid > ldd_engrid.txt 2>&1 Best regards, Bruno
__________________
|
|
August 30, 2013, 12:16 |
|
#8 | |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
Quote:
|
||
|
|