Score:0

How to make fake apport crash to come up in notification and bar, so i can test how is notification response buttons. 3rd time apport not comming up!

in flag

How to make fake apport crash to come up in notification and bar, so i can test how is notification response buttongs. Nothing new breaking news now anymore to see if apport notifications work. How to make crash with notification be made to happen? How to test if apport is at all working? Or does it come only 2 times and then later cant report without knowing cli? Solution for basic users wanted to know.

~$ chromium-browser 
Illegal instruction (core dumped)

But apport isnt comming since 3rd time running it. 2 times came notification, but not anymore.

Someone suggested in terminal this

kill -SIGBUS $$

But apport doesnt still come up even if it made crash file.

in flag
@ArturMeinild no, i need to get notificaion to come up because of bug https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1958046
Artur Meinild avatar
vn flag
In that case, sorry. I'm just having a really hard time understanding your question. Especially I don't understand the "Breaking news" part.
in flag
Nothing new is breaking again new now. Except i can get chromium-browser opening to crash, but i cant get with it notification anymore. Why i cant get notification screenshot in that bug link.
N0rbert avatar
zw flag
Please add output of `ls /var/crash/` to the question.
in flag
@N0rbert _usr_lib_chromium browser_chomium-browser.1000.crash. I tried also rm /var/crash/* to remove all files, so new formrming maybe will make it come again and make new chromium crash, but notification for this one doesnt come up at all- not full one, notification one, bubble notification.
waltinator avatar
it flag
Read `man ulimit` and do `ulimit -c unlimited`.
in flag
@waltinator mmm. ok. read man ulimit and did just ulimit and it has already output of setting: unlimited. did also that command- output of ulimit the same, so it had this setting. Googling ulimit apport https://wiki.ubuntu.com/Apport#How_does_it_work_internally.3F Note that even if ulimit is set to disabled core files (by specyfing a core file size of zero using ulimit -c 0), apport will still capture the crash. For intercepting Python crashes it installs a /etc/python*/sitecustomize.py to call apport on unhandled exceptions. What to do?
waltinator avatar
it flag
Read `man 7 signal;man kill`. There are several signals, if uncaught, will cause a coredump.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.