New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault at startup (pgmodeler/pgmodeler) #283
Comments
mmh... seems to delete the parent form in baseobjectwidget.cpp:102 I'm not familiar enough with the codebase (yet) to decide why this should be done. |
Seems it was a bug on Qt 5.1.0. pgModeler is running fine on Qt 5.1.1 and nothing was changed.... |
scratches head just compiled with Qt 5.1.1 and still have the crash. Wired. #0 0x00007ffff6b7e444 in QWidget::~QWidget() () from /home/jolo/usr/qt5/5.1.1/gcc_64/lib/libQt5Widgets.so.5 |
This is very strange.... :/ What's the Window Manager, Distro and GCC version you're using? |
Hah! Just found the cause! :) The objects are being destroyed at startup because pgModeler couldn't find some of it's conf files and try to raise an exception but the crash occurs here... I'll change the way pgModeler raises errors on constructors. As a workaround make sure that the values of PGMODELER_??? environment vars (http://www.pgmodeler.com.br/wiki/doku.php?id=installation) are correclty set. |
thanks for having a look! From the comment in pgmodeler.var: "Specify here the full path to the pgmodeler's root directory" ... i set the PGMODELER_ROOT to the root source dir, i.e. the git repositories root. But indeed, i guess it should be set to the build subdirectory. At least this fixes the crash and gets rid of the dialog informing me that pgmodeler is unable to load plugins. Maybe the comment should include a hint that PGMODELER_ROOT should point to the "build" subdirectory... |
Platform:
Tested both 0.5.2 and 0.6.0-alpha from the downloads section, and builds from source produces the error too.
The text was updated successfully, but these errors were encountered: