Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.4
    • Fix Version/s: JRuby-OSSL 0.7.6
    • Component/s: C Extensions
    • Labels:
      None
    • Environment:
      Mac OS Lion, jruby 1.6.3 (ruby-1.8.7-p330) (2011-10-26 d9009b7) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]
    • Number of attachments :
      0

      Description

      Error is usually along the lines of:

      java(61909,0x10d6e6000) malloc: *** error for object 0x7ff14a8307c0: pointer being freed was not allocated
      *** set a breakpoint in malloc_error_break to debug
      

      JRuby 1.6.3 didn't have this issue, JRuby 1.6.4 and 1.6.5 do.

      Git bisect (using `ant clean cext` shows the bad commit as:

      d9009b75eb0dc63b17c3583549f9042135737224 is the first bad commit
      commit d9009b75eb0dc63b17c3583549f9042135737224
      Author: Wayne Meissner <wmeissner@gmail.com>
      Date:   Mon Aug 15 21:14:51 2011 +1000
      
          Improve cext ruby object -> native handle GC correctness
      
      :040000 040000 cf2e090681f2ab84eded1eda90e5daec26ba0fed 13d9c3697b91e2ed4a7303bf7ab84e9670ab0ef0 M	cext
      :040000 040000 f5900d637bdbd8cb82cc1f40dfc8afe2841108fd e4f2e5f9b43b5bd4d8174ff1005f600df6ba7028 M	src
      

        Issue Links

          Activity

          Hiro Asari made changes -
          Field Original Value New Value
          Assignee Thomas E Enebo [ enebo ] Wayne Meissner [ wmeissner ]
          Description Error is usually along the lines of:

          java(61909,0x10d6e6000) malloc: *** error for object 0x7ff14a8307c0: pointer being freed was not allocated
          *** set a breakpoint in malloc_error_break to debug

          JRuby 1.6.3 didn't have this issue, JRuby 1.6.4 and 1.6.5 do.

          Git bisect (using `ant clean cext` shows the bad commit as:

          d9009b75eb0dc63b17c3583549f9042135737224 is the first bad commit
          commit d9009b75eb0dc63b17c3583549f9042135737224
          Author: Wayne Meissner <wmeissner@gmail.com>
          Date: Mon Aug 15 21:14:51 2011 +1000

              Improve cext ruby object -> native handle GC correctness

          :040000 040000 cf2e090681f2ab84eded1eda90e5daec26ba0fed 13d9c3697b91e2ed4a7303bf7ab84e9670ab0ef0 M cext
          :040000 040000 f5900d637bdbd8cb82cc1f40dfc8afe2841108fd e4f2e5f9b43b5bd4d8174ff1005f600df6ba7028 M src
          Error is usually along the lines of:

          {noformat}
          java(61909,0x10d6e6000) malloc: *** error for object 0x7ff14a8307c0: pointer being freed was not allocated
          *** set a breakpoint in malloc_error_break to debug
          {noformat}

          JRuby 1.6.3 didn't have this issue, JRuby 1.6.4 and 1.6.5 do.

          Git bisect (using `ant clean cext` shows the bad commit as:
          {noformat}
          d9009b75eb0dc63b17c3583549f9042135737224 is the first bad commit
          commit d9009b75eb0dc63b17c3583549f9042135737224
          Author: Wayne Meissner <wmeissner@gmail.com>
          Date: Mon Aug 15 21:14:51 2011 +1000

              Improve cext ruby object -> native handle GC correctness

          :040000 040000 cf2e090681f2ab84eded1eda90e5daec26ba0fed 13d9c3697b91e2ed4a7303bf7ab84e9670ab0ef0 M cext
          :040000 040000 f5900d637bdbd8cb82cc1f40dfc8afe2841108fd e4f2e5f9b43b5bd4d8174ff1005f600df6ba7028 M src
          {noformat}
          Hiro Asari made changes -
          Assignee Wayne Meissner [ wmeissner ]
          Priority Major [ 3 ] Minor [ 4 ]
          Hiro Asari made changes -
          Assignee Wayne Meissner [ wmeissner ]
          Hiro Asari made changes -
          Assignee Wayne Meissner [ wmeissner ]
          Charles Oliver Nutter made changes -
          Link This issue is related to JRUBY-6441 [ JRUBY-6441 ]
          Charles Oliver Nutter made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Charles Oliver Nutter [ headius ]
          Fix Version/s JRuby-OSSL 0.7.6 [ 18327 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Charles Oliver Nutter
              Reporter:
              Mat Schaffer
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: