Red Hat Bugzilla – Bug 501067
Segfault in libselinux when quitting QtRuby-based app
Last modified: 2009-06-28 20:21:05 EDT
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:126.96.36.199) Gecko/2009042708 Fedora/3.0.10-1.fc10 Firefox/3.0.10
I have tried to use Qt-Ruby bindings to make a small app, using the 'QtRuby' package. Even with a very simple application, a segfault occurs in libselinux selinux whenever I quit the application (Programmatically or using the Close button)
Steps to Reproduce:
1. Install ruby and QtRuby
2. Write a small app :
app = Qt::Application.new(ARGV)
b = Qt::MainWindow.new()
3. ruby <file>
4. quit application (Alt-F4 or close button)
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff722a88d in ?? () from /lib64/libselinux.so.1
#0 0x00007ffff722a88d in ?? () from /lib64/libselinux.so.1
#1 0x00007ffff721d29f in selinux_file_context_cmp () from /lib64/libselinux.so.1
#2 0x0000000000000000 in ?? (
This means that QT-Ruby most likely has a memory problem.
libselinux is just freeing memory in its destructor that it allocated when it started. Somehow qt-ruby has overridden this memory. libselinux is used in thousands of applications and this code executes cleanly in all of them. But we have seen several apps with memory problems have problems with libselinux cleaning up after itself in the destrutor.
Thank you for the report. This is an issue that needs to be addressed by the
upstream developers. Please report this upstream at http://bugs.kde.org and
add the upstream information to this report.
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution.
Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information.
Closing as INSUFFICIENT_DATA.
Steven M. Parrish - KDE Triage Master
- PackageKit Triager
Fedora Bugzappers volunteer triage team