Bug 715342 - Mount segfaults
Summary: Mount segfaults
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-22 15:05 UTC by r3obh
Modified: 2011-10-20 10:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-20 10:49:47 UTC
Type: ---


Attachments (Terms of Use)
Strace log (9.94 KB, text/x-log)
2011-06-22 15:05 UTC, r3obh
no flags Details

Description r3obh 2011-06-22 15:05:06 UTC
Created attachment 506031 [details]
Strace log

Description of problem:
# mount /tmp
Segmentation fault


Version-Release number of selected component (if applicable):
util-linux-2.19.1-1.fc15.x86_64


How reproducible:
Always


Steps to Reproduce:

Put this is /etc/fstab and try to mount:
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

The mode=1777 causes mount to segfault.
  

Actual results:
Segfault


Expected results:
Mount or at least fail gracefully.


Additional info:

# mount /boot
# mount /tmp
Segmentation fault
# strace -o /boot/strace.log mount /tmp
Segmentation fault

Strace log attached

Comment 1 Karel Zak 2011-06-24 07:43:01 UTC
I cannot reproduce this problem.

Please, try to call mount(8) from debugger,

  # debuginfo-install util-linux
  # gdb /bin/mount
  > run /tmp
  ...
  Segmentation fault
  > bt

and add the backtrace to the bugzilla.

It would be also nice to have debug output from libmount, it's simple:

 # LIBMOUNT_DEBUG=0xffff mount /tmp

Thanks!

Comment 2 Karel Zak 2011-07-11 11:02:23 UTC
This seems like duplicate to #707035.


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