Giter Site home page Giter Site logo

abrt / satyr Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 21.0 7.45 MB

Automatic problem management with anonymous reports

License: GNU General Public License v2.0

Emacs Lisp 0.01% Shell 0.17% C 92.10% Python 4.81% Ruby 0.54% Makefile 1.31% M4 1.01% Roff 0.05%

satyr's Introduction

Translation status Build status Coverity Scan build status

ABRT

A set of tools to help users detect and report application crashes.

About

Its main purpose is to ease the process of reporting an issue and finding a solution.

The solution in this context might be a bugzilla ticket, knowledge base article or a suggestion to update a package to a version containing a fix.

This repository is one among a suite of related projects. The following diagram summarizes the dependencies between the individual packages comprising the ABRT suite.

flowchart BT
    abrt-java-connector --> abrt
    abrt-java-connector -. build .-> satyr
    abrt:::focus --> libreport & satyr
    abrt-java-connector --> libreport
    gnome-abrt --> abrt & libreport
    reportd --> libreport
    libreport --> satyr
    retrace-server[Retrace Server] -. "optional, for<br>packages only" .-> faf
    faf["ABRT Analytics (FAF)"] --> satyr

click abrt "https://github.com/abrt/abrt" "abrt GitHub repository" _blank
click abrt-java-connector "https://github.com/abrt/abrt-java-connector" "abrt-java-connector GitHub repository" _blank
click faf "https://github.com/abrt/faf" "ABRT Analytics GitHub repository" _blank
click gnome-abrt "https://github.com/abrt/gnome-abrt" "gnome-abrt GitHub repository" _blank
click libreport "https://github.com/abrt/libreport" "libreport GitHub repository" _blank
click reportd "https://github.com/abrt/reportd" "reportd GitHub repository" _blank
click satyr "https://github.com/abrt/satyr" "satyr GitHub repository" _blank
click retrace-server "https://github.com/abrt/retrace-server" "Retrace Server GitHub repository" _blank

classDef focus stroke-width: 4

Documentation

Every ABRT program and configuration file has a man page describing it. It is also possible to read the ABRT documentation online. For contributors and developers, there are also wiki pages describing some topics to deeper technical details.

Development

Running

ABRT consist of several services and many small utilities. While The utilities can be successfully run from the source directories after build, the services often uses the utilities to do actions and expect the utilities installed in the system directories. Hence to run the services, it is recommended to install ABRT first and run them as system services. The instructions how to build and install ABRT can be found in INSTALL.md

Technologies

satyr's People

Contributors

arhledvink avatar credmon avatar ernestask avatar janisozaur avatar jfilak avatar juliusmilan avatar kraj avatar marusak avatar mgrabovsky avatar michalfabik avatar michalnowak avatar mkutlak avatar mlichvar avatar mmilata avatar mozeq avatar msrb avatar mtoman avatar sorki avatar tstellar avatar wlindauer avatar xsuchy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

satyr's Issues

Make sure this backtrace is parsed correctly

Opened '20121026T13:01:04' by rmarko as https://fedorahosted.org/abrt/ticket/799

[ 42.863016] kernel BUG at include/net/cfg80211.h:2473!
[ 42.863016] invalid opcode: 0000 [#1] SMP
[ 42.863016] Modules linked in: be2iscsi iscsi_boot_sysfs bnx2i cnic uio cxgb4i cxgb4 cxgb3i cxgb3 mdio libcxgbi ib_iser rdma_cm ib_addr iw_cm ip6t_REJECT nf_conntrack_ipv6 ib_cm nf_defrag_ipv6 ib_sa ib_mad nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter xt_state nf_conntrack ip6_tables ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_hwdep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media snd_seq snd_seq_device lib80211_crypt_tkip wl(PO) snd_pcm vhost_net tun macvtap macvlan kvm_amd snd_page_alloc snd_timer snd kvm sp5100_tco i2c_piix4 cfg80211 hp_wmi sparse_keymap rfkill joydev soundcore lib80211 jmb38x_ms memstick shpchp k10temp ir_lirc_codec lirc_dev microcode ir_mce_kbd_decoder ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder r8169 mii rc_rc6_mce ene_ir rc_core uinput ata_generic pata_acpi pata_atiixp sdhci_pci sdhci mmc_core wmi video radeon i2c_algo_bit drm_kms_helper ttm drm i2c_core
[ 42.863016] CPU 1
[ 42.863016] Pid: 802, comm: wpa_supplicant Tainted: P O 3.6.1-1.fc17.x86_64 #1 Hewlett-Packard Compaq Presario CQ40 Notebook PC/30FE
[ 42.863016] RIP: 0010:[] [] wdev_priv.part.8+0x4/0x6 [wl]
[ 42.863016] RSP: 0018:ffff8801243fb958 EFLAGS: 00010246
[ 42.863016] RAX: 0000000000000000 RBX: ffff880138e111e0 RCX: ffff880138e111e0
[ 42.863016] RDX: ffff880138e111e0 RSI: ffff8801243b8000 RDI: ffff880138e111e0
[ 42.863016] RBP: ffff8801243fb958 R08: ffff88013fc96aa0 R09: 000000000000001a
[ 42.863016] R10: 0000000000000003 R11: ffff88013b402a00 R12: ffff880138e11000
[ 42.863016] R13: ffff8801243b8000 R14: ffff8801243b8000 R15: 0000000000000000
[ 42.863016] FS: 00007fbb1ce1f800(0000) GS:ffff88013fc80000(0000) knlGS:0000000000000000
[ 42.863016] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 42.863016] CR2: 00000000013fa528 CR3: 00000001242f5000 CR4: 00000000000007e0
[ 42.863016] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 42.863016] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 42.863016] Process wpa_supplicant (pid: 802, threadinfo ffff8801243fa000, task ffff880124322e20)
[ 42.863016] Stack:
[ 42.863016] ffff8801243fb9a8 ffffffffa0522544 ffffffffa026ec78 ffffffffa026ec78
[ 42.863016] 000000000000000c ffff8801243fba28 ffff880138e11000 0000000000000001
[ 42.863016] ffff8801243b8000 0000000000000000 ffff8801243fba08 ffffffffa026f005
[ 42.863016] Call Trace:
[ 42.863016] [] wl_cfg80211_scan+0x3f4/0x480 [wl]
[ 42.863016] [] ? nl80211_trigger_scan+0xf8/0x610 [cfg80211]
[ 42.863016] [] ? nl80211_trigger_scan+0xf8/0x610 [cfg80211]
[ 42.863016] [] nl80211_trigger_scan+0x485/0x610 [cfg80211]
[ 42.863016] [] genl_rcv_msg+0x250/0x2d0
[ 42.863016] [] ? genl_rcv+0x40/0x40
[ 42.863016] [] netlink_rcv_skb+0xa1/0xb0
[ 42.863016] [] genl_rcv+0x25/0x40
[ 42.863016] [] netlink_unicast+0x19d/0x220
[ 42.863016] [] netlink_sendmsg+0x2d8/0x390
[ 42.863016] [] sock_sendmsg+0xbc/0xf0
[ 42.863016] [] ? __mem_cgroup_commit_charge+0x16b/0x3a0
[ 42.863016] [] ? __wake_up_bit+0x31/0x40
[ 42.863016] [] __sys_sendmsg+0x3ac/0x3c0
[ 42.863016] [] ? handle_mm_fault+0x259/0x320
[ 42.863016] [] ? do_page_fault+0x1bc/0x4b0
[ 42.863016] [] ? __audit_syscall_exit+0x3ec/0x450
[ 42.863016] [] sys_sendmsg+0x49/0x90
[ 42.863016] [] system_call_fastpath+0x16/0x1b
[ 42.863016] Code: e7 e8 5f 79 ff ff 48 89 df e8 27 9e dd e0 31 f6 4c 89 ef e8 1d 93 e9 e0 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 0f 0b 55 48 89 e5 <0f> 0b 55 48 89 e5 66 66 66 66 90 0f 0b 55 48 89 e5 66 66 66 66
[ 42.863016] RIP [] wdev_priv.part.8+0x4/0x6 [wl]
[ 42.863016] RSP
[ 43.232344] ---[ end trace eba191717996895b ]---

make dist doesn't work

Fails with:
make[2]: *** No rule to make target backtraces', needed bydistdir'. Stop.

Which also breaks make rpm.

problem with demangling function in koops

Opened '20121009T13:36:43' by npajkovs as https://fedorahosted.org/abrt/ticket/770

https://retrace.fedoraproject.org/faf/problems/11514/

call trace nr. #12499 and #7051 are almost exactly same. there is only one difference in frames 8

manage_workers.isra.26
manage_workers.isra.25

first question could be, how the hack is possible that func names can have dots in names? It's a problem with demangling func names. See more

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40831

solution is strip everything behind dot occurs, with included dot.

Broken btp_koops_frame_parse test

This test is broken as it tries to compare expected vs parsed frame using btp_koops_frame_cmp function which only compares names not other fields.

I'm not sure if btp_koops_frame_cmp should be fixed to compare multiple fields.

Proper selection of unwinding library

First, if elfutils is new enough and supports unwinding, it should be used by satyr.

If elfutils is not available, libunwind should be checked. If it supports coredump unwinding, it should be used by satyr.

If libunwind is not available, dummy implementation from core_unwind.c should be used.

config.h should define HAVE_ELFUTILS_UNWIND and/or HAVE_LIBUNWIND_UNWIND to inform code about available functionality.

handle decorator frames in python stacktraces

Opened '20121129T16:22:41' by jfilak as https://fedorahosted.org/abrt/ticket/889

{{{
Traceback (most recent call last):
File "/usr/bin/system-config-services", line 1092, in on_serviceDisable_activate
self._systemd_change_unit_file(service, "disable")
File "/usr/bin/system-config-services", line 1071, in _systemd_change_unit_file
self.systemd_manager.DisableUnitFiles([unit.unit_id])
File "", line 2, in DisableUnitFiles
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 141, in _enable_proxy
return func(_p, *_k)
File "/usr/lib/python2.7/site-packages/scservices/core/systemd/manager.py", line 149, in DisableUnitFiles
runtime)
File "/usr/lib/python2.7/site-packages/slip/dbus/proxies.py", line 50, in call
return dbus.proxies._ProxyMethod.call(self, _args, *_kwargs)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.FileNotFound: No such file or directory
}}}

{{{
def enable_proxy(func=None, authfail_result=AUTHFAIL_DONTCATCH, authfail_exception=None, authfail_callback=None):
"""Decorator for DBus proxy methods.
}}}

{{{
@polkit.enable_proxy
def RestartUnit(self, name, mode='replace'):
return self.privileged_manager_interface.RestartUnit(name, mode)
}}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.