Permalink
Commits on Feb 23, 2012
  1. Merge branch 'sverk/hipe-debug-cherries'

    sverker committed Feb 23, 2012
    * sverk/hipe-debug-cherries:
      hipe,erts: Add DEBUG support with MFA's in stack descriptors
      hipe: Fix address_to_mfa in hipe loader
      hipe,erts: Debug support for native call trace
      erts: Make erts_printf accept internal match states
  2. Merge branch 'maint'

    sverker committed Feb 23, 2012
  3. Merge branch 'sverk/ets-compress-bug' into maint

    sverker committed Feb 23, 2012
    * sverk/ets-compress-bug:
      erts: Fail binary_to_term if bignum arity is too large
      erts: Fix bignum-bug in ETS with compressed option
    
    OTP-9932
Commits on Feb 21, 2012
  1. erts: Fix bignum-bug in ETS with compressed option

    sverker committed Feb 20, 2012
    A large 64-bit immediate number will be stored as SMALL_BIG_EXT by ETS
    compressed format. When uncompressing, the SMALL_BIG_EXT was first
    decoded as as bignum (by bytes_to_big) and then turned into a small
    (by big_norm). This works for normal "binary_to_term" as
    decoded_size() over-estimates the needed heap size. But for ETS no
    over-estimation is done as the real term size is known and stored in
    DbTerm.
    
    Fixed by preventing bytes_to_big() from writing bignum digit when the
    number is seen to fit in an immediate.
Commits on Feb 17, 2012
Commits on Feb 9, 2012
  1. hipe: Fix address_to_mfa in hipe loader

    sverker committed Feb 9, 2012
    Strange that the effect of this bug is not more fatal.
    
    Kudos to Fabian and Tom for spotting this one.
  2. erts: Make erts_printf accept internal match states

    sverker committed Nov 30, 2011
    This is useful during debugging to prevent erts_printf from crashing
    when passed a match state term.
Commits on Jan 11, 2012
  1. Merge branch 'maint'

    sverker committed Jan 11, 2012
  2. Merge branch 'sverk/inet_drv-valgrind-uninitialised' into maint

    sverker committed Jan 11, 2012
    * sverk/inet_drv-valgrind-uninitialised:
      otp,erts: Add phony valgrind target
      erts: Better suppression of uninitialised sctp_sndrcvinfo
  3. Merge branch 'sverk/wait_for_test_procs' into maint

    sverker committed Jan 11, 2012
    * sverk/wait_for_test_procs:
      stdlib: Enable unused 'end_per_testcase' in ets_SUITE
  4. Merge branch 'sverk/hipe-hibernate-sparc-bug' into maint

    sverker committed Jan 11, 2012
    * sverk/hipe-hibernate-sparc-bug:
      erts: Make GC tolerate hibernated process without hipe stack
  5. Merge branch 'sverk/nif_SUITE-skip-threading' into maint

    sverker committed Jan 11, 2012
    * sverk/nif_SUITE-skip-threading:
      erts: Add missing cleanup to nif_SUITE:threading
      erts: Skip nif_SUITE:threading if not supported
Commits on Dec 19, 2011
  1. otp,erts: Add phony valgrind target

    sverker committed Dec 14, 2011
    To avoid conflict with directory erts/emulator/valgrind
  2. stdlib: Enable unused 'end_per_testcase' in ets_SUITE

    sverker committed Dec 9, 2011
    Also added more information when waiting for test proc to die
  3. erts: Make GC tolerate hibernated process without hipe stack

    sverker committed Dec 9, 2011
    Seen causing segv on sparc with hibernate_native_SUITE:basic:
    
    nstack_walk_frame_ra (nsp=0x0, sdesc=0x6c8f2c) at hipe_risc_gc.h:105
    gensweep_nstack (p=0x6a6930, ptr_old_htop=0xffbfea50, ptr_n_htop=0xffbfea4c) at hipe/hipe_gc.c:224
    do_minor (p=0x6a6930, new_sz=233, objv=0x6a6984, nobj=3) at beam/erl_gc.c:949
    minor_collection (p=0x6a6930, need=3, objv=0x6a6984, nobj=3, recl=0xffbfece4) at beam/erl_gc.c:811
    erts_garbage_collect (p=0x6a6930, need=3, objv=0x6a6984, nobj=3) at beam/erl_gc.c:379
    erts_send_message (sender=0x6a6048, receiver=0x6a6930, receiver_locks=0xffbfedf8, message=6132762, flags=0) at beam/erl_message.c:922
    do_send (p=0x6a6048, to=515, msg=6132762, suspend=1) at beam/bif.c:2052
    erl_send (p=0x6a6048, to=515, msg=6132762) at beam/bif.c:2151
    send_2 (A__p=0x6a6048, BIF__ARGS=0x6a609c) at beam/bif.c:2146
    nbif_send_2 ()
Commits on Dec 8, 2011
  1. Merge branch 'sverk/misc-valgrind-fixes'

    sverker committed Dec 8, 2011
    * sverk/misc-valgrind-fixes:
      erts: Suppress valgrind warning about syscall sendmsg
      erts: Fix memory leak in test drivers
      erts: Small fix in inet_drv.c:sctp_set_opts
Commits on Dec 7, 2011
  1. erts: Suppress valgrind warning about syscall sendmsg

    sverker committed Dec 7, 2011
    Valgrind complains: "Syscall param socketcall.sendmsg(msg.msg_control)
    points to uninitialised byte(s)".
    
    Seems valgrind do not know which bytes of msg_control are padding.
  2. Merge branch 'sverk/packet_size-http/OTP-9389'

    sverker committed Dec 7, 2011
    * sverk/packet_size-http/OTP-9389:
      erts: Remove truncation of http packet parsing and return error instead
      honor packet_size for http packet parsing to fix OTP-9389
Commits on Dec 6, 2011
  1. Merge branch 'sverk/big-float-cmp-bug'

    sverker committed Dec 6, 2011
    * sverk/big-float-cmp-bug:
      erts: Fix bug in large big/float compare
  2. Merge branch 'sverk/ppc-hibernate-fix'

    sverker committed Dec 6, 2011
    * sverk/ppc-hibernate-fix:
      erts: Fix hipe bug in hibernate on PowerPC
  3. erts: Remove truncation of http packet parsing and return error instead

    sverker committed Nov 28, 2011
    This is a slight modification of previous commit by Steve Vinoski
    
    For backward compatibility of old users of decode_packet, I think it's enough
    to return error instead of keeping the old line truncation behaviour.
Commits on Dec 5, 2011
  1. Merge branch 'sverk/crypto-sha256'

    sverker committed Dec 5, 2011
    * sverk/crypto-sha256:
      crypto: Add sha256,384,512 in documentation for rsa_verify
      crypto: Add sha{256,384,512} to rsa_verify
      crypto: Add sha256 and sha512
    
    OTP-9778
  2. Merge branch 'sverk/deprecate-nif-reload'

    sverker committed Dec 5, 2011
    * sverk/deprecate-nif-reload:
      erts: Deprecate the NIF reload mechanism
    
    OTP-9771
Commits on Dec 2, 2011
  1. erts: Fix bug in large big/float compare

    sverker committed Dec 2, 2011
    Bug caused faulty result (big_SUITE:big_float_1)
    and an unhandled floating point exception.
Commits on Dec 1, 2011
  1. erts: Fix hipe bug in hibernate on PowerPC

    sverker committed Nov 30, 2011
    Seems to apply to Sparc and ARM as well (even if not observed).
Commits on Nov 30, 2011
  1. crypto: Add sha256 and sha512

    sverker committed Nov 30, 2011
    No test and doc