Public bug reported:

Can be reproduced by running:

gdbus call --session --dest com.ubuntu.content.dbus.Service --object-
path / --method com.ubuntu.content.dbus.Service.CreatePaste bogus_app
bogus_surface '[]' '[]'

This is the backtrace:

#0  0x00007ffff636e7ef in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:58
#1  0x00007ffff63703ea in __GI_abort () at abort.c:89
#2  0x00007ffff69a856d in __gnu_cxx::__verbose_terminate_handler() () at 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff69a6316 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff69a6361 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff69a6579 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff73b3ae3 in 
ubuntu::app_launch::Application::create(ubuntu::app_launch::AppID const&, 
std::shared_ptr<ubuntu::app_launch::Registry> const&) () at 
/usr/lib/x86_64-linux-gnu/libubuntu-app-launch.so.3
#7  0x00007ffff7b9d5b0 in (anonymous namespace)::app_id_matches (pid=24093, 
id=..., this=<optimized out>)
    at ./src/com/ubuntu/content/utils.cpp:215
#8  0x00007ffff7b9d5b0 in 
com::ubuntu::content::detail::Service::CreatePaste(QString const&, QString 
const&, QByteArray const&, QStringList const&) (this=0x555555846e90, 
app_id=..., surfaceId=..., mimeData=..., types=...)
    at ./src/com/ubuntu/content/detail/service.cpp:331
#9  0x000055555556706d in ServiceAdaptor::CreatePaste(QString const&, QString 
const&, QByteArray const&, QStringList const&) (this=<optimized out>, 
app_id=..., surfaceId=..., mimeData=..., types=...)
    at ./build/src/com/ubuntu/content/service/serviceadaptor.cpp:51

** Affects: content-hub (Ubuntu)
     Importance: Undecided
         Status: New

** Branch linked: lp:~attente/content-hub/1655105

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

Title:
  Segmentation fault when creating a paste with a bogus app id

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1655105/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to