Debian Bug report logs - #1050302
libcoin80c v4.0.0+ds-5 makes Freecad crash

version graph

Package: libcoin80c; Maintainer for libcoin80c is Debian Science Team <[email protected]>; Source for libcoin80c is src:coin3 (PTS, buildd, popcon).

Affects: freecad

Reported by: mattux <[email protected]>

Date: Tue, 22 Aug 2023 19:33:02 UTC

Severity: important

Found in versions coin3/4.0.2+ds-3, coin3/4.0.0+ds-5, 4.0.3+ds-2, coin3/4.0.3+ds-2, coin3/4.0.3+ds-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Tue, 22 Aug 2023 19:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to mattux <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Science Team <[email protected]>. (Tue, 22 Aug 2023 19:33:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: mattux <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: libcoin80c v4.0.0+ds-5 makes Freecad crash
Date: Tue, 22 Aug 2023 20:08:37 +0200
Package: libcoin80c
Version: 4.0.0+ds-5
Severity: important

Dear Maintainer,

This is my first bug report and I hope I'm filling it correctly.

I'm a french debian testing user (I sticked to bookworm till last week) and I'm
facing a problem using FreeCAD which seems related to the libcoin80c package.

When opening a file in FreeCAD, the software crashes with an error message :
freecad: ./src/glue/gl.cpp:2354: const cc_glglue* cc_glglue_instance(int):
Assertion `current_ctx && "Must have a current GL context when instantiating
cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment
variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa
bug.)"' failed.

I used the "COIN_GL_NO_CURRENT_CONTEXT_CHECK=1 freecad" command as advertised,
and the software didn't crash.
I reverted back to v4.0.0+ds-3 from stable and it didn't crash too.
So I'm keeping v4.0.0+ds-3 pinned to have a working software without having to
use the command line.

I'm not very regular in reading my emails but I will try answering to your
questions dilligently.
Thanks.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcoin80c depends on:
ii  libc6       2.37-7
ii  libexpat1   2.5.0-2
ii  libgcc-s1   13.2.0-2
ii  libglx0     1.6.0-1
ii  libopengl0  1.6.0-1
ii  libstdc++6  13.2.0-2

libcoin80c recommends no packages.

Versions of packages libcoin80c suggests:
ii  libbz2-1.0     1.0.8-5+b1
ii  libfreetype6   2.13.0+dfsg-1
pn  libopenal0a    <none>
pn  libsimage-dev  <none>
ii  zlib1g         1:1.2.13.dfsg-1

-- no debconf information



Added indication that 1050302 affects freecad Request was from Tobias Frost <[email protected]> to [email protected]. (Sat, 09 Dec 2023 12:18:07 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Sat, 09 Dec 2023 15:57:05 GMT) (full text, mbox, link).


Acknowledgement sent to Tobias Frost <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Sat, 09 Dec 2023 15:57:05 GMT) (full text, mbox, link).


Message #12 received at [email protected] (full text, mbox, reply):

From: Tobias Frost <[email protected]>
To: [email protected]
Subject: Re: libcoin80c v4.0.0+ds-5 makes Freecad crash
Date: Sat, 09 Dec 2023 16:54:21 +0100
Documenting a (works for me(tm)) workaround:

Starting freecad with 

freecad -- -platform xcb

avoids the crash.


(It could be that this is a Wayland-only issue, but I cant test that
right now)





Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Thu, 16 Jan 2025 07:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Michele Cane <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Thu, 16 Jan 2025 07:45:02 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Michele Cane <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: libcoin80t64: Upstream fix for Egl
Date: Thu, 16 Jan 2025 08:43:44 +0100
Package: libcoin80t64
Version: 4.0.2+ds-3
Followup-For: Bug #1050302

Hi,

Upstream just merged a PR that fixes this issue. I tested it and Freecad does not crash anymore when opening a file.

Cheers
Mike

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.8-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcoin80t64 depends on:
ii  libc6       2.40-5
ii  libexpat1   2.6.4-1
ii  libgcc-s1   14.2.0-13
ii  libglx0     1.7.0-1+b2
ii  libopengl0  1.7.0-1+b2
ii  libstdc++6  14.2.0-13
ii  libx11-6    2:1.8.10-2

libcoin80t64 recommends no packages.

Versions of packages libcoin80t64 suggests:
ii  libbz2-1.0     1.0.8-6
ii  libfreetype6   2.13.3+dfsg-1
pn  libopenal0a    <none>
pn  libsimage-dev  <none>
ii  zlib1g         1:1.3.dfsg+really1.3.1-1+b1

-- no debconf information



Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Fri, 31 Jan 2025 12:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Tobias Frost <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Fri, 31 Jan 2025 12:54:03 GMT) (full text, mbox, link).


Message #22 received at [email protected] (full text, mbox, reply):

From: Tobias Frost <[email protected]>
To: [email protected], Michele Cane <[email protected]>
Subject: Re: libcoin80t64: Upstream fix for Egl
Date: Fri, 31 Jan 2025 13:52:41 +0100
Hi Michele, 

On Thu, 16 Jan 2025 08:43:44 +0100 Michele Cane <[email protected]>
wrote:
> Package: libcoin80t64
> Version: 4.0.2+ds-3
> Followup-For: Bug #1050302
> 
> Hi,
> 
> Upstream just merged a PR that fixes this issue. I tested it and
Freecad does not crash anymore when opening a file.
> 
Can you share the link to the MR?

Thanks!

--
tobi



Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Fri, 31 Jan 2025 14:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Fri, 31 Jan 2025 14:48:01 GMT) (full text, mbox, link).


Message #27 received at [email protected] (full text, mbox, reply):

From: [email protected]
To: "[email protected]" <[email protected]>, Tobias Frost <[email protected]>
Subject: Re: libcoin80t64: Upstream fix for Egl
Date: Fri, 31 Jan 2025 14:44:57 +0000
[Message part 1 (text/plain, inline)]
Here we go

https://github.com/coin3d/coin/commit/67a4b0656f51b71db3a22c9eb004061531b48f44

[Message part 2 (text/html, inline)]
[publickey - [email protected] - 0x556DB47C.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Tue, 04 Feb 2025 09:39:01 GMT) (full text, mbox, link).


Acknowledgement sent to Leopold Palomo-Avellaneda <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Tue, 04 Feb 2025 09:39:01 GMT) (full text, mbox, link).


Message #32 received at [email protected] (full text, mbox, reply):

From: Leopold Palomo-Avellaneda <[email protected]>
To: "[email protected]" <[email protected]>, Tobias Frost <[email protected]>, [email protected], Michele Cane <[email protected]>
Subject: Re: libcoin80t64: Upstream fix for Egl
Date: Tue, 4 Feb 2025 10:29:12 +0100
Hi,

I have pushed a 4.0.3 version to unstable. Now it is in testing. Could you test
if it fails?

In any case, I have checked the PR from upstream that you have pointed and it is
quite difficult to apply it to 4.0.3.

Best regards,

Leopold

--
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Tue, 04 Feb 2025 17:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Michele Cane <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Tue, 04 Feb 2025 17:03:02 GMT) (full text, mbox, link).


Message #37 received at [email protected] (full text, mbox, reply):

From: Michele Cane <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: libcoin80c v4.0.0+ds-5 makes Freecad crash
Date: Tue, 04 Feb 2025 17:59:21 +0100
Package: libcoin80t64
Version: 4.0.3+ds-1
Followup-For: Bug #1050302

I have the same behaviour with teh latest version.

We should probably ask coin3 maintainer to relase a 4.0.4 version including the PR that fixes EGL.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcoin80t64 depends on:
ii  libc6       2.40-6
ii  libexpat1   2.6.4-1
ii  libgcc-s1   14.2.0-16
ii  libglx0     1.7.0-1+b2
ii  libopengl0  1.7.0-1+b2
ii  libstdc++6  14.2.0-16
ii  libx11-6    2:1.8.10-2

libcoin80t64 recommends no packages.

Versions of packages libcoin80t64 suggests:
ii  libbz2-1.0     1.0.8-6
ii  libfreetype6   2.13.3+dfsg-1
pn  libopenal0a    <none>
pn  libsimage-dev  <none>
ii  zlib1g         1:1.3.dfsg+really1.3.1-1+b1

-- no debconf information



Reply sent to Anton Gladky <[email protected]>:
You have taken responsibility. (Sat, 01 Mar 2025 18:57:02 GMT) (full text, mbox, link).


Notification sent to mattux <[email protected]>:
Bug acknowledged by developer. (Sat, 01 Mar 2025 18:57:02 GMT) (full text, mbox, link).


Message #42 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected]
Subject: Bug#1050302: fixed in coin3 4.0.3+ds-2
Date: Sat, 01 Mar 2025 18:52:42 +0000
[Message part 1 (text/plain, inline)]
Source: coin3
Source-Version: 4.0.3+ds-2
Done: Anton Gladky <[email protected]>

We believe that the bug you reported is fixed in the latest version of
coin3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <[email protected]> (supplier of updated coin3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 01 Mar 2025 17:54:39 +0100
Source: coin3
Architecture: source
Version: 4.0.3+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <[email protected]>
Changed-By: Anton Gladky <[email protected]>
Closes: 1050302
Changes:
 coin3 (4.0.3+ds-2) unstable; urgency=medium
 .
   * Team upload.
   * Fix freecad crash (egl). (Closes: #1050302)
Checksums-Sha1:
 7fd0b211590f84acecba679e7f7c8dfd61f0bbc6 2411 coin3_4.0.3+ds-2.dsc
 da5b314e10a59856b0307ce91428caae280d95cb 22060 coin3_4.0.3+ds-2.debian.tar.xz
 f7073deac38f155f695e2f838a17145f1706c107 16467 coin3_4.0.3+ds-2_source.buildinfo
Checksums-Sha256:
 fcb2967d08632ed3d9804d9981b2df7e13daf1b58d66defe7ccc6a58fa57be8e 2411 coin3_4.0.3+ds-2.dsc
 81f590af73906d95dbc9725928620107313dadd1343b91990e96ba87fc49c9f8 22060 coin3_4.0.3+ds-2.debian.tar.xz
 6ed3bc3e4a980b62721b3ae8b60a660bff23751168227f4fe5d654a374fce815 16467 coin3_4.0.3+ds-2_source.buildinfo
Files:
 58cf3ce4f6b731efa80145fb093aa1b4 2411 graphics optional coin3_4.0.3+ds-2.dsc
 522401ca0dd9df36e82ba338ea7c938c 22060 graphics optional coin3_4.0.3+ds-2.debian.tar.xz
 86298560aa4d684864cc57acd95113ec 16467 graphics optional coin3_4.0.3+ds-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAmfDStgACgkQ0+Fzg8+n
/wY32Q//RyF3bazQOLujsOA3+KZ2uqpI4XB6LtZyrY7dlrwJBeFrfy86eLllzSCE
P+GR2g92rILrbYbBzoQeF5pmyWzRJTj1xq3QsrwOINGHffpOz9gXR8YYNIEQ1suH
NaHI0vz5vRhhvmHlA08eb6t+mm00Zsegu4EC9p/JcrWJ7Rlw7zL7sVbGJdwiTOVc
sSBGBQky6HUu2W7msvuoiSfm3KHX49YpsyzKQxDR1tBj4RXPeZZ+fs1AAnDBG3fC
1TyoyHRqcA9hxv7jMPk7OnM0JXmQs9ym9DmMXNpVtY8HvuxOQ+Cqm1VGK0byyU5J
QP83T4iedWNZLQCW8QCaNpSCws+NOD67HVVUDmyCyFmAl5ve+FnAeFXU9F7HCBg1
TzOIErjACXOvqLPt29vPzeIlQDCD2QfGXN4cPws95IyHoNF8swjf83LS0eR6PBCm
T8WCx+v4VullKmr0wEdZub7jnghmaY465NPDSHtEvuJG2qeFDVxpf5lL46vBTPHo
EVgTYlcBSHYnKAczkc9tNOVd8yidf/2UxQHFC/3ql+7xcmTBxAR2fJdujwhn5hBi
kBJ6rOIPjwLQX8PtubnoJwgiasXwXamnUIU98icnryGb6ABn5t7KnDf40qZ7XZ1O
uuHATBEot7gR3oGc/3ptHajLHkgGmvM9AUyUfxKMUIQGdRO9N10=
=DH/6
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Sun, 09 Mar 2025 18:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michele Cane <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Sun, 09 Mar 2025 18:39:03 GMT) (full text, mbox, link).


Message #47 received at [email protected] (full text, mbox, reply):

From: Michele Cane <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: libcoin80t64: Freecad still crashes with v4.0.3+ds-2
Date: Sun, 09 Mar 2025 19:35:39 +0100
Package: libcoin80t64
Version: 4.0.3+ds-2
Followup-For: Bug #1050302

Dear Maintainer,

stil getting teh same error when opening a file with latest version

freecad: ./src/glue/gl.cpp:2249: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.

Cheers

Mike

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.17-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcoin80t64 depends on:
ii  libc6       2.41-3
ii  libexpat1   2.6.4-1
ii  libgcc-s1   14.2.0-17
ii  libglx0     1.7.0-1+b2
ii  libopengl0  1.7.0-1+b2
ii  libstdc++6  14.2.0-17
ii  libx11-6    2:1.8.10-2

libcoin80t64 recommends no packages.

Versions of packages libcoin80t64 suggests:
ii  libbz2-1.0     1.0.8-6
ii  libfreetype6   2.13.3+dfsg-1
pn  libopenal0a    <none>
pn  libsimage-dev  <none>
ii  zlib1g         1:1.3.dfsg+really1.3.1-1+b1

-- no debconf information



Information forwarded to [email protected], Debian Science Team <[email protected]>:
Bug#1050302; Package libcoin80c. (Sun, 23 Mar 2025 16:57:01 GMT) (full text, mbox, link).


Acknowledgement sent to Tobias Frost <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <[email protected]>. (Sun, 23 Mar 2025 16:57:01 GMT) (full text, mbox, link).


Message #52 received at [email protected] (full text, mbox, reply):

From: Tobias Frost <[email protected]>
To: [email protected]
Subject: Re: libcoin80t64: Freecad still crashes with v4.0.3+ds-2
Date: Sun, 23 Mar 2025 17:55:48 +0100
Control: reopen -1 
Control: found -1 4.0.3+ds-2

Can confirm, freecad is still crashing with: 

freecad: ./src/glue/gl.cpp:2249: const cc_glglue*
cc_glglue_instance(int): Assertion `current_ctx && "Must have a current
GL context when instantiating cc_glglue!! (Note: if you are using an
old Mesa GL version, set the environment variable
COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa
bug.)"' failed.
Aborted

--
tobi




Bug reopened Request was from Tobias Frost <[email protected]> to [email protected]. (Sun, 23 Mar 2025 16:57:01 GMT) (full text, mbox, link).


Marked as found in versions 4.0.3+ds-2. Request was from Tobias Frost <[email protected]> to [email protected]. (Sun, 23 Mar 2025 16:57:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:12:25 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.