View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001438 | FreeCAD | Bug | public | 2014-02-24 08:03 | 2014-03-02 10:35 |
| Reporter | sdavies | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Product Version | trunk | ||||
| Fixed in Version | 0.14 | ||||
| Summary | 0001438: FreeCAD crashes on any attempt to print | ||||
| Description | OS: "Fedora release 20 (Heisenbug)" Platform: 64-bit Version: 0.14.3202 (Git) Branch: master Hash: 49ba4de6b84678511b6ef9f0de97629d99a48ec0 Python version: 2.7.5 Qt version: 4.8.5 Coin version: 3.1.3 SoQt version: 1.5.0 Selecting the Print icon makes FreeCAD crash without any visible message. | ||||
| Steps To Reproduce | Open a part and select Print. Printer selection page appears. Click Go. | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
Can you run it in the debugger so that we have a callstack to see what happens. |
|
|
I recompiled with Debug and tried to print. The result was: loaded the Generic plugin Draft workbench activated Attach observer 0x51e83e8 Attach observer 0x3fb7580 *** Abort *** an exception was raised, but no catch was found. ... The exception is:SIGSEGV 'segmentation violation' detected. Address f800 |
|
|
Thanks, now we know that a segmentation fault has occurred and OCC's signal handling framework aborted the application. However, what I wanted you to do is to run "gdb ./FreeCAD" so that we have a callstack and that we could better locate the error. Besides this you can also try to use the Screenshot command under the Tools menu. If this also crashes then you very likely have a graphic driver problem that doesn't properly handle off-screen rendering (or its failure). |
|
|
Sorry. I am not familiar with gdb. When developing in C, I use Eclipse. Here is the gdb output: [root@se5 freecad-build]# gdb bin/FreeCAD GNU gdb (GDB) Fedora 7.6.50.20130731-19.fc20 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/> Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/> For help, type "help". Type "apropos word" to search for commands related to "word". .. Reading symbols from /var/sources/freecad-build/bin/FreeCAD...done. (gdb) run Starting program: /var/sources/freecad-build/bin/FreeCAD [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace FreeCAD 0.14, Libs: 0.14R3202 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## Detaching after fork from child process 3072. Detaching after fork from child process 3073. Attach observer 0xad73c0 Attach observer 0xb71c90 Attach observer 0xaa5b20 Attach observer 0xb374d8 Attach observer 0xb3bb78 Attach observer 0xb3bb78 Attach observer 0x9ce510 Coin 3.1.3: Sanity Check Report This system's vsnprintf() has a variable argument invocation which is not working properly with Coin. Application will continue to run, but be aware that this problem could cause obscure bugs. Please report this problem to <coin-support@coin3d.org> for further assistance. [New Thread 0x7fffdb547700 (LWP 3076)] loaded the Generic plugin [New Thread 0x7fff935cd700 (LWP 3077)] [New Thread 0x7fff929ad700 (LWP 3078)] [New Thread 0x7fff91755700 (LWP 3079)] [New Thread 0x7fff90f54700 (LWP 3081)] [New Thread 0x7fff83fff700 (LWP 3082)] Draft workbench activated [New Thread 0x7fff82950700 (LWP 3083)] [New Thread 0x7fff8214f700 (LWP 3084)] [Thread 0x7fff90f54700 (LWP 3081) exited] [Thread 0x7fff83fff700 (LWP 3082) exited] [Thread 0x7fff82950700 (LWP 3083) exited] [Thread 0x7fff8214f700 (LWP 3084) exited] Attach observer 0x19de458 Attach observer 0x34ee050 [New Thread 0x7fff8214f700 (LWP 3092)] [New Thread 0x7fff82950700 (LWP 3093)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffee3ad0cf in vfprintf () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install OCE-foundation-0.13-1.fc20.x86_64 OCE-modeling-0.13-1.fc20.x86_64 OpenEXR-libs-1.7.1-6.fc20.x86_64 avahi-libs-0.6.31-21.fc20.x86_64 boost-filesystem-1.54.0-9.fc20.x86_64 boost-program-options-1.54.0-9.fc20.x86_64 boost-regex-1.54.0-9.fc20.x86_64 boost-signals-1.54.0-9.fc20.x86_64 boost-system-1.54.0-9.fc20.x86_64 boost-thread-1.54.0-9.fc20.x86_64 bzip2-libs-1.0.6-9.fc20.x86_64 cups-libs-1.7.0-9.fc20.x86_64 dbus-libs-1.6.12-8.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 fontconfig-2.11.0-1.fc20.x86_64 freetype-2.5.0-4.fc20.x86_64 gamin-0.1.10-15.fc20.x86_64 glib2-2.38.2-2.fc20.x86_64 glibc-2.18-12.fc20.x86_64 gstreamer-0.10.36-6.fc20.x86_64 gstreamer-plugins-base-0.10.36-6.fc20.x86_64 ilmbase-1.0.3-7.fc20.x86_64 jasper-libs-1.900.1-25.fc20.x86_64 jbigkit-libs-2.0-9.fc20.x86_64 kde-runtime-libs-4.12.2-1.fc20.x86_64 kdelibs-4.12.2-2.fc20.x86_64 keyutils-libs-1.5.8-1.fc20.x86_64 krb5-libs-1.11.5-2.fc20.x86_64 lcms-libs-1.19-10.fc20.x86_64 libICE-1.0.8-6.fc20.x86_64 libSM-1.2.1-6.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXcursor-1.1.14-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXi-1.7.2-2.fc20.x86_64 libXinerama-1.1.3-2.fc20.x86_64 libXmu-1.1.1-5.fc20.x86_64 libXrandr-1.4.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64 libXt-1.1.4-7.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libcom_err-1.42.8-3.fc20.x86_64 libdrm-2.4.50-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.2-7.fc20.x86_64 libicu-50.1.2-10.fc20.x86_64 libjpeg-turbo-1.3.0-2.fc20.x86_64 libmng-1.0.10-12.fc20.x86_64 libpciaccess-0.13.2-1.fc20.x86_64 libpng-1.6.3-3.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libspnav-0.2.2-6.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64 libtiff-4.0.3-14.fc20.x86_64 libuuid-2.24.1-1.fc20.x86_64 libwebp-0.3.1-2.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64 libxslt-1.1.28-5.fc20.x86_64 mesa-dri-drivers-9.2.5-1.20131220.fc20.x86_64 mesa-libGL-9.2.5-1.20131220.fc20.x86_64 mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 nss-softokn-freebl-3.15.4-1.fc20.x86_64 openssl-libs-1.0.1e-37.fc20.x86_64 orc-0.4.18-1.fc20.x86_64 pcre-8.33-4.fc20.x86_64 python-libs-2.7.5-10.fc20.x86_64 python-pyside-1.1.0-4.fc20.x86_64 qt-4.8.5-15.fc20.x86_64 qt-mobility-1.2.2-0.5.20120224git.fc20.x86_64 qt-x11-4.8.5-15.fc20.x86_64 qtwebkit-2.3.3-3.fc20.x86_64 shiboken-libs-1.1.0-3.fc19.x86_64 sqlite-3.8.3-1.fc20.x86_64 tbb-4.1-4.20130314.fc20.x86_64 xerces-c-3.1.1-5.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64 (gdb) I also tried Tools/Save picture (not in gdb) and got: Draft workbench activated Attach observer 0x46e3118 Attach observer 0x462e4e0 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 31 (X_GrabKeyboard) Resource id: 0x0 Coin info in SoOffscreenRenderer::getNumWriteFiletypes(): You need simage v1.1 for this functionality. *** Abort *** an exception was raised, but no catch was found. ... The exception is:SIGSEGV 'segmentation violation' detected. Address 7 I installed simage 1.7 and tried again: [root@se5 freecad-build]# gdb bin/FreeCAD GNU gdb (GDB) Fedora 7.6.50.20130731-19.fc20 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/> Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/> For help, type "help". Type "apropos word" to search for commands related to "word". .. Reading symbols from /var/sources/freecad-build/bin/FreeCAD...done. (gdb) run Starting program: /var/sources/freecad-build/bin/FreeCAD [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace FreeCAD 0.14, Libs: 0.14R3202 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## Detaching after fork from child process 3404. Detaching after fork from child process 3405. Attach observer 0xad4e20 Attach observer 0xb71860 Attach observer 0xb5ad30 Attach observer 0x8fb968 Attach observer 0x9014f8 Attach observer 0x9014f8 Attach observer 0x911530 Coin 3.1.3: Sanity Check Report This system's vsnprintf() has a variable argument invocation which is not working properly with Coin. Application will continue to run, but be aware that this problem could cause obscure bugs. Please report this problem to <coin-support@coin3d.org> for further assistance. [New Thread 0x7fffdb547700 (LWP 3407)] loaded the Generic plugin [New Thread 0x7fff935cd700 (LWP 3408)] [New Thread 0x7fff929ad700 (LWP 3409)] [New Thread 0x7fff91755700 (LWP 3410)] [New Thread 0x7fff90f54700 (LWP 3411)] [New Thread 0x7fff83fff700 (LWP 3412)] Draft workbench activated [New Thread 0x7fff82950700 (LWP 3413)] [New Thread 0x7fff8214f700 (LWP 3414)] [Thread 0x7fff83fff700 (LWP 3412) exited] [Thread 0x7fff90f54700 (LWP 3411) exited] [Thread 0x7fff82950700 (LWP 3413) exited] [Thread 0x7fff8214f700 (LWP 3414) exited] Attach observer 0x3499de8 Attach observer 0x2f39690 Coin info in SoOffscreenRenderer::getNumWriteFiletypes(): You need simage v1.1 for this functionality. [New Thread 0x7fff8214f700 (LWP 3421)] [New Thread 0x7fff82950700 (LWP 3422)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffee3ad0cf in vfprintf () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install OCE-foundation-0.13-1.fc20.x86_64 OCE-modeling-0.13-1.fc20.x86_64 OpenEXR-libs-1.7.1-6.fc20.x86_64 boost-filesystem-1.54.0-9.fc20.x86_64 boost-program-options-1.54.0-9.fc20.x86_64 boost-regex-1.54.0-9.fc20.x86_64 boost-signals-1.54.0-9.fc20.x86_64 boost-system-1.54.0-9.fc20.x86_64 boost-thread-1.54.0-9.fc20.x86_64 bzip2-libs-1.0.6-9.fc20.x86_64 dbus-libs-1.6.12-8.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 fontconfig-2.11.0-1.fc20.x86_64 freetype-2.5.0-4.fc20.x86_64 gamin-0.1.10-15.fc20.x86_64 glib2-2.38.2-2.fc20.x86_64 glibc-2.18-12.fc20.x86_64 gstreamer-0.10.36-6.fc20.x86_64 gstreamer-plugins-base-0.10.36-6.fc20.x86_64 ilmbase-1.0.3-7.fc20.x86_64 jasper-libs-1.900.1-25.fc20.x86_64 jbigkit-libs-2.0-9.fc20.x86_64 kde-runtime-libs-4.12.2-1.fc20.x86_64 kdelibs-4.12.2-2.fc20.x86_64 keyutils-libs-1.5.8-1.fc20.x86_64 krb5-libs-1.11.5-2.fc20.x86_64 lcms-libs-1.19-10.fc20.x86_64 libICE-1.0.8-6.fc20.x86_64 libSM-1.2.1-6.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXcursor-1.1.14-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXi-1.7.2-2.fc20.x86_64 libXinerama-1.1.3-2.fc20.x86_64 libXmu-1.1.1-5.fc20.x86_64 libXrandr-1.4.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64 libXt-1.1.4-7.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libcom_err-1.42.8-3.fc20.x86_64 libdrm-2.4.50-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.2-7.fc20.x86_64 libicu-50.1.2-10.fc20.x86_64 libjpeg-turbo-1.3.0-2.fc20.x86_64 libmng-1.0.10-12.fc20.x86_64 libpciaccess-0.13.2-1.fc20.x86_64 libpng-1.6.3-3.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libspnav-0.2.2-6.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64 libtiff-4.0.3-14.fc20.x86_64 libuuid-2.24.1-1.fc20.x86_64 libwebp-0.3.1-2.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64 libxslt-1.1.28-5.fc20.x86_64 mesa-dri-drivers-9.2.5-1.20131220.fc20.x86_64 mesa-libGL-9.2.5-1.20131220.fc20.x86_64 mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 openssl-libs-1.0.1e-37.fc20.x86_64 orc-0.4.18-1.fc20.x86_64 pcre-8.33-4.fc20.x86_64 python-libs-2.7.5-10.fc20.x86_64 python-pyside-1.1.0-4.fc20.x86_64 qt-4.8.5-15.fc20.x86_64 qt-mobility-1.2.2-0.5.20120224git.fc20.x86_64 qt-x11-4.8.5-15.fc20.x86_64 qtwebkit-2.3.3-3.fc20.x86_64 shiboken-libs-1.1.0-3.fc19.x86_64 sqlite-3.8.3-1.fc20.x86_64 tbb-4.1-4.20130314.fc20.x86_64 xerces-c-3.1.1-5.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64 (gdb) help List of classes of commands: aliases -- Aliases of other commands breakpoints -- Making program stop at certain points data -- Examining data files -- Specifying and examining files internals -- Maintenance commands obscure -- Obscure features running -- Running the program stack -- Examining the stack status -- Status inquiries support -- Support facilities tracepoints -- Tracing of program execution without stopping the program user-defined -- User-defined commands Type "help" followed by a class name for a list of commands in that class. Type "help all" for the list of all commands. Type "help" followed by command name for full documentation. Type "apropos word" to search for commands related to "word". Command name abbreviations are allowed if unambiguous. (gdb) quit A debugging session is active. Inferior 1 [process 3396] will be killed. Quit anyway? (y or n) y [root@se5 freecad-build]# I think the two are the same. (Do I need to rebuild Coin or FreeCAD to include simage?) |
|
|
Sorry, I should have given you more detailed instructions how to get the callstack. When you start FreeCAD with the debugger you enter this: 1. gdb ./FreeCAD 2. run (starts FreeCAD, now you reproduce the crash in the print command) 3. bt (shows the callstack) |
|
|
Not sure if this is related to the use of pbuffers. So you can try disabling it by Tools > Edit parameter and navigate to Preferences > Document. Now set the value of the key DisablePBuffers to true. If there does not exist such a key create it via context-menu, New Boolean. |
|
|
Sorry,I had to disappear for a few days for my niece's wedding. I tried to upkload this trace earlier but the Mantis server crashed on me. Here is the backtrace: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 31 (X_GrabKeyboard) Resource id: 0x0 [New Thread 0x7fffcee6b700 (LWP 4143)] [New Thread 0x7fffb7ee4700 (LWP 4144)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffee3ad0cf in vfprintf () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install GConf2-3.2.6-7.fc20.x86_64 OCE-foundation-0.13-1.fc20.x86_64 OCE-modeling-0.13-1.fc20.x86_64 ORBit2-2.14.19-9.fc20.x86_64 adwaita-gtk2-theme-3.10.0-1.fc20.x86_64 atk-2.10.0-1.fc20.x86_64 avahi-glib-0.6.31-21.fc20.x86_64 avahi-libs-0.6.31-21.fc20.x86_64 boost-filesystem-1.54.0-9.fc20.x86_64 boost-program-options-1.54.0-9.fc20.x86_64 boost-regex-1.54.0-9.fc20.x86_64 boost-signals-1.54.0-9.fc20.x86_64 boost-system-1.54.0-9.fc20.x86_64 boost-thread-1.54.0-9.fc20.x86_64 bzip2-libs-1.0.6-9.fc20.x86_64 cairo-1.13.1-0.1.git337ab1f.fc20.x86_64 cups-libs-1.7.0-9.fc20.x86_64 dbus-glib-0.100.2-2.fc20.x86_64 dbus-libs-1.6.12-8.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 fontconfig-2.11.0-1.fc20.x86_64 freetype-2.5.0-4.fc20.x86_64 gamin-0.1.10-15.fc20.x86_64 gdk-pixbuf2-2.30.3-1.fc20.x86_64 glib2-2.38.2-2.fc20.x86_64 glibc-2.18-12.fc20.x86_64 gnome-vfs2-2.24.4-14.fc20.x86_64 gstreamer-0.10.36-6.fc20.x86_64 gstreamer-plugins-base-0.10.36-6.fc20.x86_64 gtk2-2.24.22-2.fc20.x86_64 gvfs-1.18.3-2.fc20.x86_64 harfbuzz-0.9.24-1.fc20.x86_64 jbigkit-libs-2.0-9.fc20.x86_64 kde-runtime-libs-4.12.2-1.fc20.x86_64 kdelibs-4.12.2-3.fc20.x86_64 keyutils-libs-1.5.8-1.fc20.x86_64 krb5-libs-1.11.5-2.fc20.x86_64 lcms-libs-1.19-10.fc20.x86_64 libICE-1.0.8-6.fc20.x86_64 libSM-1.2.1-6.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXcomposite-0.4.4-4.fc20.x86_64 libXcursor-1.1.14-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXi-1.7.2-2.fc20.x86_64 libXinerama-1.1.3-2.fc20.x86_64 libXmu-1.1.1-5.fc20.x86_64 libXrandr-1.4.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64 libXt-1.1.4-7.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libacl-2.2.52-4.fc20.x86_64 libart_lgpl-2.3.21-8.fc20.x86_64 libattr-2.4.47-3.fc20.x86_64 libbluray-0.5.0-2.fc20.x86_64 libbonobo-2.32.1-6.fc20.x86_64 libbonoboui-2.24.5-6.fc20.x86_64 libcanberra-0.30-4.fc20.x86_64 libcanberra-gtk2-0.30-4.fc20.x86_64 libcom_err-1.42.8-3.fc20.x86_64 libdrm-2.4.50-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.2-7.fc20.x86_64 libgcrypt-1.5.3-2.fc20.x86_64 libgnome-2.32.1-7.fc20.x86_64 libgnome-keyring-3.10.1-1.fc20.x86_64 libgnomecanvas-2.30.3-7.fc20.x86_64 libgnomeui-2.24.5-7.fc20.x86_64 libgpg-error-1.12-1.fc20.x86_64 libicu-50.1.2-10.fc20.x86_64 libjpeg-turbo-1.3.0-2.fc20.x86_64 libmng-1.0.10-12.fc20.x86_64 libogg-1.3.0-6.fc20.x86_64 libpciaccess-0.13.2-1.fc20.x86_64 libpng-1.6.3-3.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libspnav-0.2.2-6.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64 libtdb-1.2.12-2.fc20.x86_64 libtiff-4.0.3-14.fc20.x86_64 libtool-ltdl-2.4.2-23.fc20.x86_64 libuuid-2.24.1-1.fc20.x86_64 libvorbis-1.3.4-1.fc20.x86_64 libwayland-client-1.2.0-3.fc20.x86_64 libwayland-server-1.2.0-3.fc20.x86_64 libwebp-0.3.1-2.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64 libxslt-1.1.28-5.fc20.x86_64 mesa-dri-drivers-9.2.5-1.20131220.fc20.x86_64 mesa-libEGL-9.2.5-1.20131220.fc20.x86_64 mesa-libGL-9.2.5-1.20131220.fc20.x86_64 mesa-libgbm-9.2.5-1.20131220.fc20.x86_64 mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 nss-softokn-freebl-3.15.4-1.fc20.x86_64 openssl-libs-1.0.1e-37.fc20.x86_64 orc-0.4.18-1.fc20.x86_64 pango-1.36.1-2.fc20.x86_64 pcre-8.33-4.fc20.x86_64 pixman-0.30.0-3.fc20.x86_64 popt-1.16-2.fc20.x86_64 python-libs-2.7.5-11.fc20.x86_64 python-pyside-1.1.0-4.fc20.x86_64 qt-4.8.5-15.fc20.x86_64 qt-mobility-1.2.2-0.5.20120224git.fc20.x86_64 qt-x11-4.8.5-15.fc20.x86_64 qtwebkit-2.3.3-3.fc20.x86_64 shiboken-libs-1.1.0-3.fc19.x86_64 sqlite-3.8.3-1.fc20.x86_64 systemd-libs-208-14.fc20.x86_64 tbb-4.1-4.20130314.fc20.x86_64 xerces-c-3.1.1-5.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64 (gdb) bt #0 0x00007fffee3ad0cf in vfprintf () from /lib64/libc.so.6 #1 0x00007fffee3d9029 in vsnprintf () from /lib64/libc.so.6 0000002 0x00007ffff4ce2bf9 in coin_common_vsnprintf () from /usr/local/lib/libCoin.so.60 0000003 0x00007ffff4ce2c6f in coin_vsnprintf () from /usr/local/lib/libCoin.so.60 0000004 0x00007ffff4d1b15c in cc_string_vsprintf () from /usr/local/lib/libCoin.so.60 0000005 0x00007ffff4de4009 in cc_debugerror_postinfo () from /usr/local/lib/libCoin.so.60 0000006 0x00007ffff4e460d3 in glglue_allow_newer_opengl () from /usr/local/lib/libCoin.so.60 0000007 0x00007ffff4e4674b in cc_glglue_glversion () from /usr/local/lib/libCoin.so.60 0000008 0x00007ffff4e467ca in cc_glglue_glversion_matches_at_least () from /usr/local/lib/libCoin.so.60 0000009 0x00007ffff4e4db99 in cc_glglue_instance () from /usr/local/lib/libCoin.so.60 0000010 0x00007ffff4e4dcb6 in cc_glglue_instance_from_context_ptr () from /usr/local/lib/libCoin.so.60 0000011 0x00007ffff4e5335b in glxglue_has_pbuffer_support() () from /usr/local/lib/libCoin.so.60 0000012 0x00007ffff4e5411a in glxglue_context_create_offscreen () from /usr/local/lib/libCoin.so.60 ---Type <return> to continue, or q <return> to quit--- 0000013 0x00007ffff4e5146c in cc_glglue_context_create_offscreen () from /usr/local/lib/libCoin.so.60 0000014 0x00007ffff4e515c8 in cc_glglue_context_max_dimensions () from /usr/local/lib/libCoin.so.60 0000015 0x00007ffff4f20307 in CoinOffscreenGLCanvas::getMaxTileSize() () from /usr/local/lib/libCoin.so.60 0000016 0x00007ffff4f1f500 in CoinOffscreenGLCanvas::clampSize(SbVec2s&) () from /usr/local/lib/libCoin.so.60 0000017 0x00007ffff4f1f76d in CoinOffscreenGLCanvas::setWantedSize(SbVec2s) () from /usr/local/lib/libCoin.so.60 0000018 0x00007ffff4f152b8 in SoOffscreenRendererP::renderFromBase(SoBase*) () from /usr/local/lib/libCoin.so.60 0000019 0x00007ffff4f16144 in SoOffscreenRenderer::render(SoNode*) () from /usr/local/lib/libCoin.so.60 0000020 0x00007ffff769a4d3 in Gui::View3DInventorViewer::savePicture ( this=0x2f0afd0, w=793, h=1123, eBackgroundType=2, img=...) at /var/sources/free-cad-code/src/Gui/View3DInventorViewer.cpp:650 0000021 0x00007ffff76935bc in Gui::View3DInventor::print (this=0x2de4790, printer=0x7fffffffba40) at /var/sources/free-cad-code/src/Gui/View3DInventor.cpp:532 0000022 0x00007ffff7693150 in Gui::View3DInventor::print (this=0x2de4790) at /var/sources/free-cad-code/src/Gui/View3DInventor.cpp:439 0000023 0x00007ffff74b6ba3 in StdCmdPrint::activated (this=0xc704e0, iMsg=0) ---Type <return> to continue, or q <return> to quit--- at /var/sources/free-cad-code/src/Gui/CommandDoc.cpp:620 0000024 0x00007ffff74ab679 in Gui::Command::invoke (this=0xc704e0, i=0) at /var/sources/free-cad-code/src/Gui/Command.cpp:288 0000025 0x00007ffff74a2285 in Gui::Action::onActivated (this=0x19fcf90) at /var/sources/free-cad-code/src/Gui/Action.cpp:92 0000026 0x00007ffff74a76bd in Gui::Action::qt_static_metacall (_o=0x19fcf90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffbce0) at /var/sources/freecad-build/src/Gui/moc_Action.cpp:49 0000027 0x00007ffff0761cf8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4 0000028 0x00007ffff1205782 in QAction::triggered(bool) () from /lib64/libQtGui.so.4 0000029 0x00007ffff1207337 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4 0000030 0x00007ffff15d2e36 in QAbstractButtonPrivate::click() () from /lib64/libQtGui.so.4 0000031 0x00007ffff15d2f7c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4 0000032 0x00007ffff169469a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQtGui.so.4 0000033 0x00007ffff125ec58 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4 0000034 0x00007ffff120bd8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4 0000035 0x00007ffff1212879 in QApplication::notify(QObject*, QEvent*) () ---Type <return> to continue, or q <return> to quit--- from /lib64/libQtGui.so.4 0000036 0x00007ffff743afd7 in Gui::GUIApplication::notify (this=0x7fffffffcbf0, receiver=0x19f82f0, event=0x7fffffffc410) at /var/sources/free-cad-code/src/Gui/Application.cpp:1524 0000037 0x00007ffff074d39d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4 0000038 0x00007ffff1211fa7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4 #39 0x00007ffff12876ab in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4 #40 0x00007ffff128611c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4 0000041 0x00007ffff12adb24 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4 0000042 0x00007fffe99cd2a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 0000043 0x00007fffe99cd628 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0 0000044 0x00007fffe99cd6dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 0000045 0x00007ffff077bea5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- 0000046 0x00007ffff12adca6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4 0000047 0x00007ffff074bedf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 0000048 0x00007ffff074c22d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 0000049 0x00007ffff0751749 in QCoreApplication::exec() () from /lib64/libQtCore.so.4 0000050 0x00007ffff74363f7 in Gui::Application::runApplication () at /var/sources/free-cad-code/src/Gui/Application.cpp:1794 0000051 0x000000000040872e in main (argc=1, argv=0x7fffffffded8) at /var/sources/free-cad-code/src/Main/MainGui.cpp:309 (gdb) (I will try the pbuffers idea just now but the problem looks to be with the Coin "sanity check" issue.) |
|
|
I just tried your PBuffers idea and it worked:-)) Could you please explain. Cheers and thanks, Stephen |
|
|
Thanks for your feedback! To me it seems that this is one of the rare crashes on systems where pbuffers are not supported. In most of the cases nothing was done but SoOffscreenRenderer::render returned "false". > Could you please explain. Somewhere in the source code of Coin it was mentioned that pbuffers are very hardware-related and thus does not work on all systems. There was a further comment to move to framebuffer objects because it is an OpenGL extension and works on all systems but the Coin developers never realized this. Fortunately, I found a tutorial how to use framebuffer objects inside a Qt application and implemented this stuff myself. |
|
|
I'll close this ticket as unfixable because it's not a FreeCAD but Coin or driver bug. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-02-24 08:03 | sdavies | New Issue | |
| 2014-02-24 14:12 | wmayer | Note Added: 0004288 | |
| 2014-02-25 04:07 | sdavies | Note Added: 0004298 | |
| 2014-02-25 09:03 | wmayer | Note Added: 0004299 | |
| 2014-02-26 03:11 | sdavies | Note Added: 0004305 | |
| 2014-02-26 09:42 | wmayer | Note Added: 0004306 | |
| 2014-02-27 15:19 | wmayer | Note Added: 0004322 | |
| 2014-02-27 15:19 | wmayer | Status | new => feedback |
| 2014-03-02 08:41 | sdavies | Note Added: 0004342 | |
| 2014-03-02 08:41 | sdavies | Status | feedback => new |
| 2014-03-02 09:07 | sdavies | Note Added: 0004343 | |
| 2014-03-02 10:34 | wmayer | Note Added: 0004345 | |
| 2014-03-02 10:35 | wmayer | Note Added: 0004346 | |
| 2014-03-02 10:35 | wmayer | Status | new => closed |
| 2014-03-02 10:35 | wmayer | Resolution | open => not fixable |
| 2014-03-02 10:35 | wmayer | Fixed in Version | => 0.14 |
FreeCAD