I have prepared a change to the Debian package that will eliminate this
issue.

** Description changed:

- FreeCAD crashes at startup in Ubuntu 18.04.
+ [Impact]
  
- This is printed at the console:
+  * FreeCAD crashes at startup in Ubuntu 18.04.
+ 
+  * Backporting the proposed fix will prevent FreeCAD from crashing.
+ 
+  * The proposed upload will fix the issue by providing an environment
+ variable in the freecad.desktop file. This environment variable will set
+ LIBGL_DRI3_DISABLE=true.
+ 
+ [Test Case]
+ 
+  * On Ubuntu 18.04 with a system where a video card or some form of graphics 
acceleration is used, install freecad and run normally.
+  
+  This is printed at the console:
  
  FreeCAD 0.16, Libs: 0.16R
  © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
-   #####                 ####  ###   ####  
-   #                    #      # #   #   # 
-   #     ##  #### ####  #     #   #  #   # 
-   ####  # # #  # #  #  #     #####  #   # 
-   #     #   #### ####  #    #     # #   # 
+   #####                 ####  ###   ####
+   #                    #      # #   #   #
+   #     ##  #### ####  #     #   #  #   #
+   ####  # # #  # #  #  #     #####  #   #
+   #     #   #### ####  #    #     # #   #
    #     #   #    #     #    #     # #   #  ##  ##  ##
    #     #   #### ####   ### #     # ####   ##  ##  ##
  
  failed to create drawable
  [xcb] Unknown sequence number while processing queue
  [xcb] Most likely this is a multi-threaded client and XInitThreads has not 
been called
  [xcb] Aborting, sorry about that.
  freecad: ../../src/xcb_io.c:259: poll_for_event: Zusicherung 
»!xcb_xlib_threads_sequence_lost« nicht erfüllt.
  Abgebrochen
+ 
+ [Regression Potential]
+ 
+  * An environment variable disabling LIBGL_DIR3 is set in the
+ freecad.desktop file. The affected functionality is limited to the
+ FreeCAD process and any child processes.

** Patch added: "freecad_0.16.6712+dfsg1-1ubuntu3.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1754084/+attachment/5277684/+files/freecad_0.16.6712+dfsg1-1ubuntu3.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1754084

Title:
  Freecad crashes at start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1754084/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to