Bug 715342

Summary: Mount segfaults
Product: [Fedora] Fedora Reporter: r3obh <Robert.Harley>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jonathan, kzak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-20 10:49:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Strace log none

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.