Bug 1197175
Summary: | [abrt] spice-gtk-tools: signal_handler(): spicy killed by SIGABRT | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michele <f.michele89> | ||||||||||||||||||||||||
Component: | spice-gtk | Assignee: | Marc-Andre Lureau <marcandre.lureau> | ||||||||||||||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||
Version: | 21 | CC: | alon, berrange, cfergeau, crobinso, hdegoede, jirinek, marcandre.lureau, sandmann, virt-maint | ||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/e80608110c4cdef9a8f0d56c7676f15813b1ef3f | ||||||||||||||||||||||||||
Whiteboard: | abrt_hash:e4b669c5a4f97c0c62b7818307fce03b053279f8 | ||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||
Last Closed: | 2015-06-29 23:38:27 UTC | Type: | --- | ||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||
Attachments: |
|
Description
Michele
2015-02-27 16:30:59 UTC
Created attachment 996105 [details]
File: backtrace
Created attachment 996106 [details]
File: build_ids
Created attachment 996107 [details]
File: cgroup
Created attachment 996108 [details]
File: core_backtrace
Created attachment 996109 [details]
File: dso_list
Created attachment 996110 [details]
File: environ
Created attachment 996111 [details]
File: limits
Created attachment 996112 [details]
File: maps
Created attachment 996113 [details]
File: open_fds
Created attachment 996114 [details]
File: proc_pid_status
Created attachment 996115 [details]
File: var_log_messages
*** Bug 1211571 has been marked as a duplicate of this bug. *** Looked into this out of curiousity. signal_handler is: static void signal_handler(int signum) { static gint recursion = FALSE; /* * reset all signal handlers: any further crashes should just be allowed * to crash normally. * */ signal(SIGSEGV, segv_handler); signal(SIGABRT, abrt_handler); signal(SIGFPE, fpe_handler); signal(SIGILL, ill_handler); #ifndef G_OS_WIN32 signal(SIGBUS, bus_handler); #endif /* Stop bizarre loops */ if (recursion) abort (); recursion = TRUE; g_main_loop_quit(mainloop); } It's hitting the abort()... but the usage of signal handler is strange anyways. I don't know why it wants to catch SIGABRT etc, the only thing it seems to want to handle is SIGINT and SIGTERM And you can't call any gtk functions from a signal handler, which may contribute to crashes here: http://askra.de/software/gtk-signals/x2992.html (In reply to Cole Robinson from comment #13) > And you can't call any gtk functions from a signal handler, which may > contribute to crashes here: http://askra.de/software/gtk-signals/x2992.html And if it doesn't crash, it is likely to deadlock, because g_main_loop_quit acquires mutexes, and that is not async signal safe. That should fix it: http://lists.freedesktop.org/archives/spice-devel/2015-May/019697.html f22 should have spice-gtk 0.29 with the fixes now |