Bug 684504 - krename segfaults
Summary: krename segfaults
Keywords:
Status: CLOSED DUPLICATE of bug 684908
Alias: None
Product: Fedora
Classification: Fedora
Component: krename
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Novacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-13 05:23 UTC by John Rosich
Modified: 2016-12-01 00:29 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-03-14 18:48:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Rosich 2011-03-13 05:23:45 UTC
Description of problem:krename segfaults


Version-Release number of selected component (if applicable):krename-4.0.7-1.fc16.x86_64 but also exits on previous versions. 


How reproducible:Always


Steps to Reproduce:
1.start krename from command line 
2.Message shown in #3 appears almost instantaneously after pressing 'enter' key
3.Segmentation fault (core dumped)
  
Actual results:program fails to start


Expected results:program should start


Additional info:Logs contain no error messages

Comment 1 Rex Dieter 2011-03-14 18:45:04 UTC
Can you get a backtrace?

(In the meantime, I'll see if I can reproduce)

Comment 2 Rex Dieter 2011-03-14 18:48:34 UTC

*** This bug has been marked as a duplicate of bug 684908 ***

Comment 3 John Rosich 2011-03-14 21:55:45 UTC
Rex, we been trying to scope out this problem this afternoon. We suspected one of the policycorexxx family of packages was the culprit and installed policycore-2.0.85-21 from koji on the x86_64 machine which we plan to move to'fc16'. Here's the backtrace from that machine

Start backtrace 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
[xxxxxxx@localhost ~]# sepolgen-ifgen:64:get_policy:UnboundLocalError: local variable 'i' referenced before assignment
bash: sepolgen-ifgen:64:get_policy:UnboundLocalError:: command not found
[xxxxxxx@localhost ~]# 
[xxxxxxx@localhost ~]# Traceback (most recent call last):
bash: syntax error near unexpected token `most'
[xxxxxxx@localhost ~]#   File "/usr/bin/sepolgen-ifgen", line 143, in <module>
bash: syntax error near unexpected token `newline'
[xxxxxxx@localhost ~]#     sys.exit(main())
bash: syntax error near unexpected token `main'
[xxxxxxx@localhost ~]#   File "/usr/bin/sepolgen-ifgen", line 120, in main
bash: File: command not found
[xxxxxxx@localhost ~]#     attrs = get_attrs()
bash: syntax error near unexpected token `('
[xxxxxxx@localhost ~]#   File "/usr/bin/sepolgen-ifgen", line 74, in get_attrs
bash: File: command not found
[xxxxxxx@localhost ~]#     policy_path = get_policy()
bash: syntax error near unexpected token `('
[xxxxxxx@localhost ~]#   File "/usr/bin/sepolgen-ifgen", line 64, in get_policy
bash: File: command not found
[xxxxxxx@localhost ~]#     p = selinux.selinux_binary_policy_path() + "." + str(i)
bash: syntax error near unexpected token `('
[xxxxxxx@localhost ~]# UnboundLocalError: local variable 'i' referenced before assignment
bash: UnboundLocalError:: command not found
[xxxxxxx@localhost ~]# 
[xxxxxxx@localhost ~]# Local variables in innermost frame:
bash: Local: command not found
[xxxxxxx@localhost ~]# 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
End Backtrace

Machines which haven't been updated to the koji version of polcore show the same info as in bug 684908.

Thanks for your help in resolving the krename issue and your excellent work with the KDE product line. 

John

Comment 4 Kevin Kofler 2011-03-14 22:21:22 UTC
Bug 684908 has nothing to do with SELinux, it's a plain C++ static initialization order issue.


Note You need to log in before you can comment on or make changes to this bug.