Bug 1193940 - gparted segfaults on f22
Summary: gparted segfaults on f22
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gparted
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-18 15:26 UTC by Peter Robinson
Modified: 2015-03-21 14:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-21 14:59:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2015-02-18 15:26:57 UTC
When running gparted from root it crashes on Fedora 22 

pyparted-3.10.3-1.fc22.x86_64
gparted-0.21.0-1.fc22.x86_64
parted-3.2-5.fc22.x86_64

Sorry there's not full debug symbols (there's some issue with the debuginfo repos from my connection)

# gdb /usr/sbin/gpartedbin 
GNU gdb (GDB) Fedora 7.8.90.20150214-7.fc22
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/gpartedbin...Reading symbols from /usr/sbin/gpartedbin...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install gparted-0.21.0-1.fc22.x86_64
(gdb) r
Starting program: /usr/sbin/gpartedbin 
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.21-gdb.py", line 58, in <module>
    import libstdcxx.v6
  File "/lib64/../share/gcc-5.0.0/python/libstdcxx/v6/__init__.py", line 19, in <module>
    from printers import register_libstdcxx_printers
ImportError: No module named 'printers'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6904bea in Glib::wrap_register(unsigned long, Glib::ObjectBase* (*)(_GObject*)) () from /lib64/libglibmm-2.4.so.1
(gdb) thread apply all bt full

Thread 1 (Thread 0x7ffff7f9ea00 (LWP 3062)):
#0  0x00007ffff6904bea in Glib::wrap_register(unsigned long, Glib::ObjectBase* (*)(_GObject*)) () at /lib64/libglibmm-2.4.so.1
#1  0x00007ffff68f495e in Glib::wrap_init() () at /lib64/libglibmm-2.4.so.1
#2  0x0000000000418def in main ()

Comment 1 Mukundan Ragavan 2015-02-19 01:41:49 UTC
Let me fire up Rawhide and see what I can do. Seem some gcc-5 entries ... Hmmm.

Thanks for the report.

Comment 2 Mukundan Ragavan 2015-03-04 01:47:38 UTC
could you give this build a try to see if you can start gparted?

https://koji.fedoraproject.org/koji/taskinfo?taskID=9134729

Comment 3 Peter Robinson 2015-03-04 01:51:24 UTC
Sadly I don't currently have a F-23 box with X where I can test this, on F-22 it won't run (likely due to gcc5 or hardened build changes) as I get this:

# gparted 
/usr/sbin/gpartedbin: symbol lookup error: /usr/sbin/gpartedbin: undefined symbol: _ZN4Glib7ustringaSERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
#

Comment 4 Mukundan Ragavan 2015-03-04 01:53:18 UTC
oh right, I forgot about those two. I will build on f22 once dependencies are tagged in and ping here

sorry for the noise.

Comment 5 Fedora Update System 2015-03-15 22:30:48 UTC
gparted-0.21.0-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/gparted-0.21.0-2.fc22

Comment 6 Fedora Update System 2015-03-21 04:52:06 UTC
gparted-0.21.0-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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