Project

General

Profile

Actions

Bug #11402

closed

Seg Fault on intensive numeric calculation

Added by laise (Alexey Chernenkov) over 8 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin13.0]
[ruby-core:70157]

Description

Occur several times:

[BUG] Segmentation fault at 0x00000000000000
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin13.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.

(snip)

Files

bug-11402.log (358 KB) bug-11402.log nobu (Nobuyoshi Nakada), 07/29/2015 06:45 AM
ruby_2015-07-28-200557_Alexeys-MacBook-Air.crash (46.9 KB) ruby_2015-07-28-200557_Alexeys-MacBook-Air.crash laise (Alexey Chernenkov), 07/29/2015 12:50 PM
data_hash.rb (659 Bytes) data_hash.rb laise (Alexey Chernenkov), 07/31/2015 07:39 AM
aggregate_master_card_payment.rb (1.11 KB) aggregate_master_card_payment.rb laise (Alexey Chernenkov), 07/31/2015 07:40 AM

Updated by cesario (Franck Verrot) over 8 years ago

Alexey Chernenkov wrote:

Occur several times:

[BUG] Segmentation fault at 0x00000000000000
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin13.0]

-- Control frame information -----------------------------------------------
c:0066 p:---- s:0268 e:000267 CFUNC  :BigDecimal
c:0065 p:0013 s:0264 e:000260 BLOCK  /Users/laise/Work/itowl/eps-online/engines/summary_stats/app/services/summary_stats/aggregate_tx_service/aggregate_master_card_ [FINISH]

Hi Alexey,

Do you think #9657 (calling Float#to_d) can be related ?

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

Please show Crash Report log file.

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

You load bigdecimal-1.2.5, which is out-of-date.
Can't you try recent version?

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Assignee set to mrkn (Kenta Murata)

Updated by mrkn (Kenta Murata) over 8 years ago

Alexey, please give me your script to produce this issue.

Updated by laise (Alexey Chernenkov) over 8 years ago

Nobuyoshi Nakada wrote:

You load bigdecimal-1.2.5, which is out-of-date.
Can't you try recent version?

Ok, thanks. I'll try to update bigdecimal

Updated by laise (Alexey Chernenkov) over 8 years ago

Kenta Murata wrote:

Alexey, please give me your script to produce this issue.

It is a part of production ready app and has too many local dependencies. I have no short script to reproduce that (

Actions #9

Updated by laise (Alexey Chernenkov) over 8 years ago

Kenta Murata wrote:

Alexey, please give me your script to produce this issue.

The script is running on a daily basis. I upgraged bigdecimal to 1.2.7 and have not seen the exception since.

Actions #10

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0