Project

General

Profile

Actions

Bug #3133

closed

perfcounters: sigfpe when rbd caching is enabled

Added by Josh Durgin over 11 years ago. Updated over 11 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On irc, Damien Churchill reported this backtrace from qemu-kvm with rbd caching enabled:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fffe4f91700 (LWP 10897)]
0x00007ffff74ad565 in operator double (this=<synthetic pointer>) at ./include/utime.h:123
123    ./include/utime.h: No such file or directory.
(gdb) bt
#0  0x00007ffff74ad565 in operator double (this=<synthetic pointer>) at ./include/utime.h:123
#1  librbd::AioCompletion::complete (this=0x7fffcc00e080) at librbd.cc:514
#2  0x00007ffff74ab230 in finish_adding_completions (this=0x7fffcc00e080) at librbd.cc:494
#3  librbd::aio_read (ictx=0x555556464290, off=0, len=512, buf=0x7fffcc00e200 "3\300\216?", c=0x7fffcc00e080)
    at librbd.cc:2205
#4  0x00005555555f2d87 in ?? ()
#5  0x00005555555f2e80 in ?? ()
#6  0x00005555555db453 in ?? ()
#7  0x00005555555df5d8 in ?? ()
#8  0x00005555555df5d8 in ?? ()
#9  0x00005555555df86d in ?? ()
#10 0x000055555561119b in ?? ()
#11 0x00007ffff36e9310 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x00007fffffffb2c0 in ?? ()
#13 0x0000000000000000 in ?? ()
Actions #1

Updated by Josh Durgin over 11 years ago

  • Backport deleted (argonaut)

The floating point exception in this case was due to "inexact result". This kind of exception is turned off by default, but it may have been enabled by a windows guest during boot. It seems that qemu doesn't save/restore floating point mode when switching out of the guest for performance, and other hypervisors may do the same. Thus, the easiest solution is to remove the use of floating point in the client side. The server side probably doesn't need floating point either, but it isn't affected by this bug.

Actions #2

Updated by Josh Durgin over 11 years ago

  • Status changed from New to Duplicate

#3521 is the same problem

Actions

Also available in: Atom PDF