Tried examining bug locally and getting symbols with apport:

fbacher@smeagol$ apport -cli /var/crash/_usr_bin_Xwayland.1000.crash
ksh: apport: not found [No such file or directory]
fbacher@smeagol$ apport-cli /var/crash/_usr_bin_Xwayland.1000.crash 

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (7.7 MB)
  E: Examine locally
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/E/V/K/I/C): S
fbacher@smeagol$ apport-cli /var/crash/_usr_bin_Xwayland.1000.crash

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (7.7 MB)
  E: Examine locally
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/E/V/K/I/C): E

*** This will launch apport-retrace in a terminal window to examine the
crash.


Choices:
  1: Run gdb session
  2: Run gdb session without downloading debug symbols
  3: Update /var/crash/_usr_bin_Xwayland.1000.crash with fully symbolic stack 
trace
  C: Cancel
Please choose (1/2/3/C): 3
Get:1 http://mirror.lstn.net/ubuntu bionic InRelease [242 kB]                   
                                                    
Get:2 http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu bionic InRelease 
[15.4 kB]                                             
Get:3 http://archive.canonical.com/ubuntu bionic InRelease [10.2 kB]            
                                                    
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]     
                                                    
Get:5 http://mirror.lstn.net/ubuntu bionic-updates InRelease [88.7 kB]          
                                                    
Ign http://ddebs.ubuntu.com bionic InRelease                                    
                                                    
Get:6 http://mirror.lstn.net/ubuntu bionic-backports InRelease [74.6 kB]        
                                                    
Ign http://ddebs.ubuntu.com bionic-updates InRelease                            
                                                    
Ign http://ddebs.ubuntu.com bionic-proposed InRelease                           
                                                    
Get:7 http://ddebs.ubuntu.com bionic Release [34.7 kB]                          
                                                    
Get:8 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages [2304 
B]                                                    
Get:9 http://mirror.lstn.net/ubuntu bionic/main amd64 Packages [1019 kB]        
                                                    
Get:10 http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu bionic/main 
Sources [15.3 kB]                                         
Get:11 http://ddebs.ubuntu.com bionic-updates Release [34.7 kB]                 
                                                    
Get:12 http://mirror.lstn.net/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB] 
                                                    
Get:13 http://mirror.lstn.net/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]    
                                                    
Get:14 http://mirror.lstn.net/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]    
                                                    
Get:15 http://mirror.lstn.net/ubuntu bionic amd64 Contents (deb) [39.5 MB]      
                                                    
Get:16 http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu bionic/main amd64 
Packages [20.3 kB]                                  
Get:17 http://ddebs.ubuntu.com bionic-proposed Release [34.7 kB]                
                                                    
Get:18 http://ddebs.ubuntu.com bionic Release.gpg [819 B]                       
                                                    
Get:19 http://ddebs.ubuntu.com bionic-updates Release.gpg [819 B]               
                                                    
Get:20 http://security.ubuntu.com/ubuntu bionic-security amd64 Contents (deb) 
[8602 kB]                                             
Get:21 http://ddebs.ubuntu.com bionic-proposed Release.gpg [819 B]              
                                                    
Get:22 http://ddebs.ubuntu.com bionic/main amd64 Packages [535 kB]              
                                                    
Get:23 http://mirror.lstn.net/ubuntu bionic/universe amd64 Packages [8570 kB]   
                                                    
Get:24 http://ddebs.ubuntu.com bionic/universe amd64 Packages [4596 kB]         
                                                    
Get:25 http://mirror.lstn.net/ubuntu bionic/universe amd64 DEP-11 Metadata 
[3287 kB]                                                
Get:26 http://mirror.lstn.net/ubuntu bionic/universe DEP-11 48x48 Icons [2151 
kB]                                                   
Get:27 http://mirror.lstn.net/ubuntu bionic/universe DEP-11 64x64 Icons [8420 
kB]                                                   
Get:28 http://mirror.lstn.net/ubuntu bionic/multiverse amd64 Packages [151 kB]  
                                                    
Get:29 http://mirror.lstn.net/ubuntu bionic/multiverse amd64 DEP-11 Metadata 
[49.7 kB]                                              
Get:30 http://mirror.lstn.net/ubuntu bionic/multiverse DEP-11 48x48 Icons [8931 
B]                                                  
Get:31 http://mirror.lstn.net/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 
kB]                                                  
Get:32 http://mirror.lstn.net/ubuntu bionic/restricted amd64 Packages [9184 B]  
                                                    
Get:33 http://mirror.lstn.net/ubuntu bionic-updates amd64 Contents (deb) [9913 
kB]                                                  
Get:34 http://ddebs.ubuntu.com bionic/multiverse amd64 Packages [73.0 kB]       
                                                    
Get:35 http://ddebs.ubuntu.com bionic-updates/main amd64 Packages [169 kB]      
                                                    
Get:36 http://ddebs.ubuntu.com bionic-updates/universe amd64 Packages [118 kB]  
                                                    
Get:37 http://ddebs.ubuntu.com bionic-updates/multiverse amd64 Packages [3492 
B]                                                    
Get:38 http://ddebs.ubuntu.com bionic-proposed/main amd64 Packages [35.0 kB]    
                                                    
Get:39 http://ddebs.ubuntu.com bionic-proposed/universe amd64 Packages [31.9 
kB]                                                    
Get:40 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 
Packages [66.8 kB]                                          
Get:41 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 
Metadata [6828 B]                                    
Get:42 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 
Icons [9088 B]                                       
Get:43 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 
Icons [11.3 kB]                                      
Get:44 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 
Packages [1444 B]                                         
Get:45 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 
[168 kB]                                               
Get:46 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 
Metadata [204 B]                                         
Get:47 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 
Icons [29 B]                                             
Get:48 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 
Icons [29 B]                                             
Get:49 http://mirror.lstn.net/ubuntu bionic-updates/universe amd64 Packages 
[192 kB]                                                
Get:50 http://mirror.lstn.net/ubuntu bionic-updates/universe amd64 DEP-11 
Metadata [166 kB]                                         
Get:51 http://mirror.lstn.net/ubuntu bionic-updates/universe DEP-11 48x48 Icons 
[172 kB]                                            
Get:52 http://mirror.lstn.net/ubuntu bionic-updates/universe DEP-11 64x64 Icons 
[280 kB]                                            
Get:53 http://mirror.lstn.net/ubuntu bionic-updates/multiverse amd64 Packages 
[4180 B]                                              
Get:54 http://mirror.lstn.net/ubuntu bionic-updates/multiverse amd64 DEP-11 
Metadata [2468 B]                                       
Get:55 http://mirror.lstn.net/ubuntu bionic-updates/multiverse DEP-11 48x48 
Icons [29 B]                                            
Get:56 http://mirror.lstn.net/ubuntu bionic-updates/multiverse DEP-11 64x64 
Icons [2638 B]                                          
Get:57 http://mirror.lstn.net/ubuntu bionic-updates/main amd64 Packages [322 
kB]                                                    
Get:58 http://mirror.lstn.net/ubuntu bionic-updates/main amd64 DEP-11 Metadata 
[139 kB]                                             
Get:59 http://mirror.lstn.net/ubuntu bionic-updates/main DEP-11 48x48 Icons 
[31.4 kB]                                               
Get:60 http://mirror.lstn.net/ubuntu bionic-updates/main DEP-11 64x64 Icons 
[56.9 kB]                                               
Get:61 http://mirror.lstn.net/ubuntu bionic-backports amd64 Contents (deb) 
[3555 B]                                                 
Get:62 http://mirror.lstn.net/ubuntu bionic-backports/universe amd64 Packages 
[2704 B]                                              
Get:63 http://mirror.lstn.net/ubuntu bionic-backports/universe amd64 DEP-11 
Metadata [5100 B]                                       
Get:64 http://mirror.lstn.net/ubuntu bionic-backports/universe DEP-11 48x48 
Icons [29 B]                                            
Get:65 http://mirror.lstn.net/ubuntu bionic-backports/universe DEP-11 64x64 
Icons [1789 B]                                          
Fetched 90.6 MB in 6s (0 B/s)                                                   
                                                    
Fetched 0 B in 0s (0 B/s)                                                       
                                                    
Extracting downloaded debs...
Traceback (most recent call last):
  File "/usr/bin/apport-retrace", line 325, in <module>
    options.dynamic_origins)
  File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 220, in 
make_sandbox
    pkgs = needed_runtime_packages(report, sandbox_dir, pkgmap_cache_dir, 
pkg_versions, verbose)
  File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 94, in 
needed_runtime_packages
    arch=report.get('Architecture'))
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 469, in 
get_file_package
    return self._search_contents(file, map_cachedir, release, arch)
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1264, in 
_search_contents
    src = urlopen(url)
  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1792643

Title:
  apport does not upload wayland or gnome-shell crash data

Status in apport package in Ubuntu:
  New

Bug description:
   uname -a

  Linux smeagol 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC
  2018 x86_64 x86_64 x86_64 GNU/Linux

   lsb_release -rd 
  Description:  Ubuntu 18.04.1 LTS
  Release:      18.04

  In trying to upload .crash data for bug 1789962 "gnome-shell segfaults
  in Wayland when display is turned off while Kodi running" I determined
  that apport-cli and friends were never able to upload the .crash
  files. The URL where they should appear is:
  
https://errors.ubuntu.com/user/39229ebea988d6578bed98d7e18bd96fd9cd523cf89495ed70d4ce4c0f8b7937667368f389be8d8b2588bafc31d1935109305b4abf52dbb724a7cf43c3b425b4

  Earlier, I did upload the .crash files directly and was told by the
  defect reviewer that:

  _usr_bin_Xwayland.1000.crash: Stack trace mostly unreadable (missing symbols)
  _usr_bin_gnome-shell.1000.crash: Stack trace is missing

  
   You can see the other bug for details, here is the last comment that I added 
(so far):

  I deleted all entries in /var/crash and /var/lib/whoopsie.
  I recreated the problem

  ls -l /var/crash

  total 92136
  -rw-r----- 1 fbacher whoopsie 40426131 Sep 14 14:52 
_usr_bin_gnome-shell.1000.crash
  -rw-r----- 1 fbacher whoopsie 6167683 Sep 14 14:53 
_usr_bin_Xwayland.1000.crash
  -rw-r----- 1 fbacher whoopsie 47750972 Sep 14 14:53 
_usr_lib_x86_64-linux-gnu_kodi_kodi-wayland.1000.crash

  fbacher@smeagol$ apport-cli _usr_bin_gnome-shell.1000.crash

  *** Error: Invalid problem report

  No such file or directory

  Press any key to continue...

  fbacher@smeagol$ apport-cli /var/crash/_usr_bin_gnome-shell.1000.crash

  *** Send problem report to the developers?

  After the problem report has been sent, please fill out the form in the
  automatically opened web browser.

  What would you like to do? Your options are:
    S: Send report (40.6 MB)
    E: Examine locally
    V: View report
    K: Keep report file for sending later or copying to somewhere else
    I: Cancel and ignore future crashes of this program version
    C: Cancel
  Please choose (S/E/V/K/I/C):
  S

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  < Deleted lots and lots of ellipsis >
  <command exited here, no URL, just ended after tons of ellipsis >

  echo $?
  0
  total 4
  ls -l /var/lib/whoopsie
  -rw------- 1 root root 128 Sep 13 18:39 whoopsie-id

  sudo cat /var/lib/whoopsie/whoopsie-id

  
39229ebea988d6578bed98d7e18bd96fd9cd523cf89495ed70d4ce4c0f8b7937667368f389be8d8b2588bafc31d1935109305b4abf52dbb724a7cf43c3b425b4

  Checked the URL:
  
https://errors.ubuntu.com/user/39229ebea988d6578bed98d7e18bd96fd9cd523cf89495ed70d4ce4c0f8b7937667368f389be8d8b2588bafc31d1935109305b4abf52dbb724a7cf43c3b425b4

  No entries since 08/11. None for wayland, gnome-shell or Kodi.
  I checked for over 5 minutes.


  So perhaps something is going bad on my end, but I just don't know
  what or how to  debug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1792643/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to