Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019445: shotcut: Shotcut crashes on startup with error: File already exists in database: opencv-caffe.proto

63 views
Skip to first unread message

Matteo Calorio

unread,
Sep 9, 2022, 6:40:04 AM9/9/22
to
Package: shotcut
Version: 22.01.30+ds-1
Severity: important

Dear Maintainer,

starting shotcut from command line I get this (from GUI it just shows the
initial splashscreen and exits):

[Info ] <Application::Application> Starting Shotcut version 22.01.30
[Info ] <Application::Application> Linux version
[Info ] <Application::Application> number of logical cores = 8
[Info ] <Application::Application> locale = QLocale(English, Latin, United
States)
[Info ] <Application::Application> install dir = "/usr/bin"
[Debug ] <ShotcutSettings::log> language "en_US"
[Debug ] <ShotcutSettings::log> deinterlacer "onefield"
[Debug ] <ShotcutSettings::log> external monitor ""
[Debug ] <ShotcutSettings::log> GPU processing false
[Debug ] <ShotcutSettings::log> interpolation "bilinear"
[Debug ] <ShotcutSettings::log> video mode "atsc_1080p_30"
[Debug ] <ShotcutSettings::log> realtime true
[Debug ] <ShotcutSettings::log> audio channels 2
[Debug ] <MainWindow::changeTheme> begin
[Debug ] <MainWindow::MainWindow> begin
[Info ] <MainWindow::MainWindow> device pixel ratio = 1
[Info ] <GLTestWidget::GLTestWidget> OpenGL context version 4 6
[Debug ] <Mlt::Controller::Controller> begin
[libprotobuf ERROR google/protobuf/descriptor_database.cc:120] File already
exists in database: opencv-caffe.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1382] CHECK failed:
GeneratedDatabase()->Add(encoded_file_descriptor, size):
terminate called after throwing an instance of
'google::protobuf::FatalException'
what(): CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor,
size):
Aborted


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages shotcut depends on:
ii frei0r-plugins 1:1.8.0-dmo1
ii libc6 2.34-7
ii libgcc-s1 12.2.0-1
ii libjs-three 111+dfsg1-2
ii libmlt++7 7.8.0+repack1-1
ii libmlt7 7.8.0+repack1-1
ii libqt5core5a 5.15.4+dfsg-5
ii libqt5gui5 5.15.4+dfsg-5
ii libqt5multimedia5 5.15.4-2
ii libqt5network5 5.15.4+dfsg-5
ii libqt5opengl5 5.15.4+dfsg-5
ii libqt5qml5 5.15.4+dfsg-4
ii libqt5quick5 5.15.4+dfsg-4
ii libqt5quickcontrols2-5 5.15.4+dfsg-2
ii libqt5quickwidgets5 5.15.4+dfsg-4
ii libqt5sql5 5.15.4+dfsg-5
ii libqt5websockets5 5.15.4-3
ii libqt5widgets5 5.15.4+dfsg-5
ii libqt5xml5 5.15.4+dfsg-5
ii libstdc++6 12.2.0-1
ii melt 7.8.0+repack1-1
ii qml-module-qtgraphicaleffects 5.15.4-2
ii qml-module-qtqml-models2 5.15.4+dfsg-4
ii qml-module-qtquick-controls 5.15.4-2
ii qml-module-qtquick-controls2 5.15.4+dfsg-2
ii qml-module-qtquick-dialogs 5.15.4-2
ii qml-module-qtquick-extras 5.15.4-2
ii qml-module-qtquick-layouts 5.15.4+dfsg-4
ii qml-module-qtquick-window2 5.15.4+dfsg-4
ii qml-module-qtquick2 5.15.4+dfsg-4
ii shotcut-data 22.01.30+ds-1

shotcut recommends no packages.

shotcut suggests no packages.

-- no debconf information

Gürkan Myczko

unread,
Sep 13, 2022, 8:10:04 AM9/13/22
to
Hi Matteo,

> [Debug ] <Mlt::Controller::Controller> begin
> [libprotobuf ERROR google/protobuf/descriptor_database.cc:120] File
> already
> exists in database: opencv-caffe.proto
> [libprotobuf FATAL google/protobuf/descriptor.cc:1382] CHECK failed:
> GeneratedDatabase()->Add(encoded_file_descriptor, size):
> terminate called after throwing an instance of
> 'google::protobuf::FatalException'
> what(): CHECK failed:
> GeneratedDatabase()->Add(encoded_file_descriptor,
> size):
> Aborted

I am not able to reproduce the problem on my system. However the error
message leads me to:
https://github.com/szagoruyko/torch-opencv-demos/issues/11

can you post the output of `locate opencv-caffe.proto` from your system?

Best,

Matteo Calorio

unread,
Sep 13, 2022, 9:10:04 AM9/13/22
to
Hi Gürkan

I checked the link you gave me and many others, but no one could lead me
to a solution.

The output of `locate opencv-caffe.proto` is empty.

Thanks,
  Matteo


Il 13/09/22 13:57, Gürkan Myczko ha scritto:

Gürkan Myczko

unread,
Sep 26, 2022, 1:10:03 PM9/26/22
to
Hi Matteo

I am tapping in the dark, but Imaged to upload the latest version of shotcut to unstable. Do you have the problem with that as well?

do you have the chance to create a new testuser and try with that?

best,
Gürkan


> On 13 Sep 2022, at 15:09, Matteo Calorio <mat...@calorio.net> wrote:
>
> Hi Gürkan

Matteo Calorio

unread,
Oct 11, 2022, 6:50:03 AM10/11/22
to

Hi Gürkan,

thanks, just updated it, but I have the same problem:

$ shotcut  
[Info   ] <Application::Application> Starting Shotcut version 22.10.05  


[Info   ] <Application::Application> Linux version  
[Info   ] <Application::Application> number of logical cores = 8  
[Info   ] <Application::Application> locale = QLocale(English, Latin, United States)  
[Info   ] <Application::Application> install dir = "/usr/bin"  
[Debug  ] <ShotcutSettings::log> language "en_US"  
[Debug  ] <ShotcutSettings::log> deinterlacer "onefield"  
[Debug  ] <ShotcutSettings::log> external monitor ""  
[Debug  ] <ShotcutSettings::log> GPU processing false  
[Debug  ] <ShotcutSettings::log> interpolation "bilinear"  
[Debug  ] <ShotcutSettings::log> video mode "atsc_1080p_30"  
[Debug  ] <ShotcutSettings::log> realtime true  
[Debug  ] <ShotcutSettings::log> audio channels 2  
[Debug  ] <MainWindow::changeTheme> begin  
[Debug  ] <MainWindow::MainWindow> begin  
[Info   ] <MainWindow::MainWindow> device pixel ratio = 1  
[Info   ] <GLTestWidget::GLTestWidget> OpenGL context version 4 6  

[Debug  ] <Mlt::Controller::Controller> begin  
[libprotobuf ERROR google/protobuf/descriptor_database.cc:120] File already exists in database: opencv-caffe.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1382] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):  
terminate called after throwing an instance of 'google::protobuf::FatalException'
 what():  CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):  
Aborted


I also created a new user and I have the same problem.

I can't understand which database it's talking about and how can I maybe check it...

Matteo


Gürkan Myczko

unread,
Oct 11, 2022, 7:30:04 AM10/11/22
to
Hi Matteo,

Ok, can you post the full output of this command please?

strace shotcut

Best,

Gürkan Myczko

unread,
Oct 12, 2022, 2:50:04 AM10/12/22
to
On 11.10.2022 16:17, Matteo Calorio wrote:
> Sure, thanks, here it is!

Thanks a lot. Looking at it, and comparing to my Debian unstable, I have
newer versions of libopencv..

Are you on Debian unstable/sid or testing? If you're on unstable/sid,
please upgrade your system (all packages),
and retry.

If you're not on sid, but testing, please try to rebuild opencv and
protobuf, and shotcut, and retry.

Unfortunately a simple sid backport to my older testing system didn't
work, just so. I'm some somehow confident
rebuilding opencv/protobuf, installing them, then rebuilding shotcut and
installing it, would/might fix your problem.

Should you test the proposed fix, please tell us if it worked or not.

HTH,
0 new messages