Mir

Application crashes due to rival protobuf versions

Bug #1708137 reported by henning hinze
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
gstreamer-vaapi (Ubuntu)
Invalid
Undecided
Unassigned
mesa (Ubuntu)
Invalid
Undecided
Unassigned
mir (Ubuntu)
New
Undecided
Unassigned
protobuf (Ubuntu)
New
Undecided
Unassigned

Bug Description

So somewhen in last week there were made some changes in the ubuntu repository which effect libEGL. This lib newly uses libmirclient.so.9 which itself uses libprotobuf-lite.so.9. The default protobuffers version shipped with ubuntu is 2.6.1. My application uses libgstvaapi which uses libEGL. My application as well uses protobuffers but I link it statically to version 3.0.0 due to its json compatibility. So when now starting the application it crashes immediately due to rivaling protobuffers version. This problem first occured last week somewhen. This makes it impossible to use libEGL/libmir and a not-default protobuffers version in one application. Please let me how you're going to deal with that.

Best,
Henning
---
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
DistUpgraded: Fresh install
DistroCodename: xenial
DistroRelease: Ubuntu 16.04
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21fa]
InstallationDate: Installed on 2016-09-23 (317 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: LENOVO 2325A95
Package: mir
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-89-generic root=UUID=454b2c55-2a2b-41ca-a3bd-65b0d601658b ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-89.112-generic 4.4.76
Tags: xenial ubuntu compiz-0.9
Uname: Linux 4.4.0-89-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 12/20/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET90WW (2.50 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2325A95
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: 000H014363
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ET90WW(2.50):bd12/20/2012:svnLENOVO:pn2325A95:pvrThinkPadX230:rvnLENOVO:rn2325A95:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2325A95
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1~ubuntu16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 12.0.6-0ubuntu0.16.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2

Revision history for this message
henning hinze (plazmakeks) wrote :

thats the error msg i get when i start my application

This program was compiled against version 2.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.0.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/build/mir-ui6vjS/mir-0.26.3+16.04.20170605/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)

affects: protobuf (Ubuntu) → mesa (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1708137

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in gstreamer-vaapi (Ubuntu):
status: New → Incomplete
Changed in mesa (Ubuntu):
status: New → Incomplete
Changed in mir (Ubuntu):
status: New → Incomplete
Revision history for this message
henning hinze (plazmakeks) wrote : BootLog.txt

apport information

tags: added: apport-collected compiz-0.9 ubuntu xenial
description: updated
Revision history for this message
henning hinze (plazmakeks) wrote : CurrentDmesg.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : DpkgLog.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : JournalErrors.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : Lspci.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : Lsusb.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : ProcEnviron.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : ProcInterrupts.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : ProcModules.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : UdevDb.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : UnitySupportTest.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : XorgLog.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : XorgLogOld.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : Xrandr.txt

apport information

Revision history for this message
henning hinze (plazmakeks) wrote : xdpyinfo.txt

apport information

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks.

This is an old issue. It used to cause problems with Unity8 too (see bug 1535297).

A proper fix needs to come from protobuf itself, but the bug could also be avoided if Mir or your app were willing and able to change protobuf versions.

Changed in gstreamer-vaapi (Ubuntu):
status: Incomplete → New
Changed in mesa (Ubuntu):
status: Incomplete → New
Changed in mir (Ubuntu):
status: Incomplete → New
summary: - application crashes due to rival protobuffers versions
+ Application crashes due to rival protobuf versions
Changed in gstreamer-vaapi (Ubuntu):
status: New → Invalid
Changed in mesa (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.