[DRE-maint] Bug#843474: ruby-ethon: FTBFS: [BUG] Segmentation fault at 0x007f2767e0d800

Chris Lamb lamby at debian.org
Sun Nov 6 22:10:04 UTC 2016


Source: ruby-ethon
Version: 0.9.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

ruby-ethon fails to build from source in unstable/amd64:

  []

            when mime type
              sets mime type to text
            when no mime type
              sets mime type to default application/octet-stream
          when no MIME
            sets mime type to default application/octet-stream
      when params contains file
        transforms
      when params key contains a null byte
        preserves
      when params value contains a null byte
        preserves
    #empty?
      when params empty
        returns true
      when params not empty
        returns false
  
  Ethon::Easy::ResponseCallbacks
    #on_complete
      responds
      when no block given
        returns @on_complete
      when block given
        stores
      when multiple blocks given
        stores
    #on_headers
      responds
      when no block given
        returns @on_headers
      when block given
        stores
      when multiple blocks given
        stores
    #on_body
      responds
      when no block given
        returns @on_body
      when block given
        stores
      when multiple blocks given
        stores
    #complete
      executes blocks and passes self
      when @on_complete nil
        doesn't raise
    #headers
      executes blocks and passes self
      when @on_headers nil
        doesn't raise
    #body
      executes blocks and passes self
      executes blocks and passes chunk
      when @on_body nil
        doesn't raise
  
  Ethon::Easy::Util
    escape_zero_byte
      when value has no zero byte
        returns same value
      when value has zero byte
        returns escaped
  
  Ethon::Easy
    .new
      inits curl
      when options are empty
        sets only callbacks
      when options not empty
        when followlocation is set
          sets followlocation
    #set_attributes
      when options are empty
        sets only callbacks
      when options aren't empty
        when valid key
          sets
        when invalid key
          raises invalid option error
    #reset
      resets url
      resets escape?
      resets hash
      resets easy handle
      resets on_complete
      resets on_headers
      resets on_body
    #dup
      sets a new handle
      preserves url
      preserves on_complete callback
      preserves on_headers callback
  D, [2016-11-06T22:07:14.550828 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.007464
  D, [2016-11-06T22:07:14.592603 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.007464
      preserves body_write_callback of original handle
  D, [2016-11-06T22:07:14.602889 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008938
  D, [2016-11-06T22:07:14.644777 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008938
      sets new body_write_callback of duplicated handle
  D, [2016-11-06T22:07:14.655129 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008426
  D, [2016-11-06T22:07:14.696761 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008426
      preserves headers_write_callback of original handle
  D, [2016-11-06T22:07:14.706802 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008366
  D, [2016-11-06T22:07:14.748684 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008366
      sets new headers_write_callback of duplicated handle
      resets response_body
      resets response_headers
  D, [2016-11-06T22:07:14.759694 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.008385
      sets response_body for duplicated Easy
  D, [2016-11-06T22:07:14.768601 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.007803
      sets response_headers for duplicated Easy
  D, [2016-11-06T22:07:14.777166 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.00734
      preserves response_body for original Easy
  D, [2016-11-06T22:07:14.785476 #4814] DEBUG -- : ETHON: performed EASY effective_url=http://localhost:3001/ response_code=200 return_code=ok total_time=0.007379
      preserves response_headers for original Easy
    #mirror
      returns a Mirror
      builds from easy
    #log_inspect
      contains url
      contains response_code
      contains return_code
      contains total_time
  
  Ethon::Libc
    #getdtablesize
      returns an integer
      returns bigger zero
  
  Ethon::Loggable
    #logger=
      sets the logger
  
  Ethon::Multi::Operations
    #handle
      returns a pointer
    #running_count
      when hydra has no easy
        returns nil
      when hydra has easy
        returns 1
      when hydra has more easys
        returns 2
    #get_timeout
      when code ok
        doesn't raise
        when timeout smaller zero
          returns 1
        when timeout bigger or equal zero
          returns timeout
      when code not ok
        raises MultiTimeout error
    #set_fds
      when code ok
        doesn't raise
        when max_fd -1
          waits 100ms
        when max_fd not -1
          when code smaller zero
            raises Select error
          when code bigger or equal zero
            doesn't raise
      when code not ok
        raises MultiFdset error
    #perform
      when no easy handles
        returns nil
        logs
      when easy handle
        requests
        sets easy
      when four easy handles
        sets response codes
    #ongoing?
      when easy_handles
        when running_count not greater 0
          returns true
        when running_count greater 0
          returns true
      when no easy_handles
        when running_count not greater 0
          returns false
        when running_count greater 0
          returns true
    #init_vars
      sets @timeout
      sets @timeval
      sets @fd_read
      sets @fd_write
      sets @fd_excep
      sets @max_fd
    #reset_fds
      resets @fd_read
      resets @fd_write
      resets @fd_excep
    #check
      example at ./spec/ethon/multi/operations_spec.rb:273 (PENDING: untested)
    #run
      example at ./spec/ethon/multi/operations_spec.rb:277 (PENDING: untested)
    #trigger
      calls multi perform
      sets running count
      returns multi perform code
  
  Ethon::Multi::Options
    maxconnects=
      responds_to
      sets option
    pipelining=
      responds_to
      sets option
    socketdata=
      responds_to
      sets option
    socketfunction=
      responds_to
      sets option
    timerdata=
      responds_to
      sets option
    timerfunction=
      responds_to
      sets option
    max_total_connections=
      responds_to
      sets option
    #value_for
      when option in bool
        when value true
          returns 1
        when value false
          returns 0
      when value in int
        returns value casted to int
      when value in unspecific_options
        when value a string
          returns zero byte escaped string
        when value not a string
          returns value
  
  Ethon::Multi::Stack
    #add
      when easy already added
        returns nil
      when easy new
        adds easy to multi
        adds easy to easy_handles
      when multi_add_handle fails
        raises multi add error
      when multi cleaned up before
        raises multi add error
    #delete
      when easy in easy_handles
        deletes easy from multi
        deletes easy from easy_handles
      when easy is not in easy_handles
        does nothing
        adds easy to easy_handles
      when multi_remove_handle fails
        raises multi remove error
  
  Ethon::Multi
    .new
      inits curl
      when options not empty
        when pipelining is set
          sets pipelining
  
  Pending: (Failures listed here are expected and do not affect your suite's status)
  
    1) Ethon::Multi::Operations#check 
       # untested
       # ./spec/ethon/multi/operations_spec.rb:273
  
    2) Ethon::Multi::Operations#run 
       # untested
       # ./spec/ethon/multi/operations_spec.rb:277
  
  
  Finished in 6.4 seconds (files took 0.65735 seconds to load)
  528 examples, 0 failures, 2 pending
  
  [BUG] Segmentation fault at 0x007f2767e0d800
  ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
  
  -- Machine register context ------------------------------------------------
   RIP: 0x00007f2767e0d800 RBP: 0x00007f2769d195d8 RSP: 0x00007ffc1bde4f28
   RAX: 0x0000000001c27910 RBX: 0x00000000034f9b50 RCX: 0x0000000001c27910
   RDX: 0x00000000ffffffff RDI: 0x00007f2769d19b08 RSI: 0x0000000000000000
    R8: 0x0000000002ef8720  R9: 0x0000000000000000 R10: 0x00007ffc1bde4b88
   R11: 0x0000000000000207 R12: 0x00007f2767b5acde R13: 0x00007f2769d1ac20
   R14: 0x0000000000000000 R15: 0x0000000000000000 EFL: 0x0000000000010206
  
  -- C level backtrace information -------------------------------------------
  Segmentation fault (core dumped)
  /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install /home/lamby/temp/cdt.20161106220647.hAy53ph0sf.db.ruby-ethon/ruby-ethon-0.9.0/debian/ruby-ethon returned exit code 1
  debian/rules:6: recipe for target 'binary' failed
  make: *** [binary] Error 1

  []

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-ethon.0.9.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 10872 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161106/166865e4/attachment-0001.obj>


More information about the Pkg-ruby-extras-maintainers mailing list