A simple test case was created by Steven Noonan to trigger the issue:

Copy the attached code into a file named bugtest.c
Compile with "gcc -o bugtest bugtest.c"
Run ./bugtest  (does not have to be run as root)
If you see no output, bug does not exist; if it does you will immediately see 
something similar to:

triden@tweety:~$ ./bugtest
[  837.276658] BUG: Bad page map in process bugtest  pte:8000000000000965 
pmd:3c076067
[  837.276666] page:ffffea0000000000 count:-31 mapcount:-31 mapping:          
(null) index:0x0
[  837.276669] page flags: 0x10(dirty)
[  837.276672] page dumped because: bad pte
[  837.276674] addr:00007f0639a5e000 vm_flags:08100071 
anon_vma:ffff88003b1fdbc0 mapping:          (null) index:7f0639a5e
[  837.276821] BUG: Bad rss-counter state mm:ffff88003d2e8700 idx:0 val:-1
[  837.276825] BUG: Bad rss-counter state mm:ffff88003d2e8700 idx:1 val:1

Reference: https://lkml.org/lkml/2014/1/21/544

** Attachment added: "testcase program"
   
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1313450/+attachment/4129266/+files/xen-bug.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1313450

Title:
  Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2 or Xen) with
  default configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313450/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to