Code Monkey home page Code Monkey logo

Comments (1)

Watson1978 avatar Watson1978 commented on June 1, 2024

This issue still reproduce with Ruby 2.3 and RMagick 3.0.0.

$ ruby -v thumbnail.rb
ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18]
thumbnail.rb:4: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18]

-- 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.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0003 p:---- s:0009 e:000008 CFUNC  :write
c:0002 p:0040 s:0005 E:0003d8 EVAL   thumbnail.rb:4 [FINISH]
c:0001 p:0000 s:0002 E:001b40 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
thumbnail.rb:4:in `<main>'
thumbnail.rb:4:in `write'

-- Machine register context ------------------------------------------------
 rax: 0x0000000000000000 rbx: 0x00007ff6808c6a00 rcx: 0x0000000000000000
 rdx: 0x0000000000000080 rdi: 0x00007ff681811200 rsi: 0x0000000000000000
 rbp: 0x00007ffee8840e50 rsp: 0x00007ffee88409a0  r8: 0x0000000000000000
  r9: 0x00007ff681814478 r10: 0x00007ff67e72fe30 r11: 0x00000001079cc585
 r12: 0x00007ff681811200 r13: 0x0000000107f87000 r14: 0x0000000000000000
 r15: 0x00007ff681814478 rip: 0x0000000107c81394 rfl: 0x0000000000010202

-- C level backtrace information -------------------------------------------
0   ruby                                0x0000000107579a39 rb_vm_bugreport + 377
1   ruby                                0x00000001074086cf rb_bug_context + 447
2   ruby                                0x00000001074e7aa4 sigsegv + 68
3   libsystem_platform.dylib            0x00007fff6c51cb3d _sigtramp + 29
4   jpeg.so                             0x0000000107c81394 WriteJPEGImage + 7546
5   libMagickCore-6.Q16.6.dylib         0x00000001079f1bf3 WriteImage + 1819
6   RMagick2.bundle                     0x0000000107863fd2 Image_write + 290
7   ruby                                0x000000010756f5ab vm_call_cfunc + 299
8   ruby                                0x0000000107558a3e vm_exec_core + 10094
9   ruby                                0x0000000107569a55 vm_exec + 117
10  ruby                                0x0000000107411496 ruby_exec_internal + 150
11  ruby                                0x00000001074113a8 ruby_run_node + 56
12  ruby                                0x00000001073bd5df main + 79
....

from rmagick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.