From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 18F4F17D48EA for ; Wed, 4 Feb 2015 11:42:09 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 56991B5D888 for ; Wed, 4 Feb 2015 11:42:55 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 8DE6697A832 for ; Wed, 4 Feb 2015 11:42:56 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ANvtkaIkDjKu for ; Wed, 4 Feb 2015 11:42:56 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 5539897A82C for ; Wed, 4 Feb 2015 11:42:56 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id AE7C2952408 for ; Wed, 4 Feb 2015 11:42:54 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id EEA56120452; Wed, 4 Feb 2015 11:42:50 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id A0E67120420 for ; Wed, 4 Feb 2015 11:42:47 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=mVnS2lvEN0zFo7Hrh+P8C7NySPU=; b=GMrzB3Aoao+kiiNMT5 DiMlUHWX/mTJ9Xj6EQPQ/9WMYzltpUmFUAw1ayQBS3C82NQq26sJ9mWbG5X06dqH rZgLK63deZ+SzjmQR5noJZ942kF+w40d7lNXs+1LvOYxCf5z8axJX5635dKeDZAF feAVQV2EEXnUFhEMFn/NV/aSo= Received: by filter0277p1mdw1.sendgrid.net with SMTP id filter0277p1mdw1.23404.54D187234 2015-02-04 02:42:44.220880777 +0000 UTC Received: from herokuapp.com (ec2-54-82-112-102.compute-1.amazonaws.com [54.82.112.102]) by ismtpd-039 (SG) with ESMTP id 14b5277e536.742.5346 for ; Wed, 04 Feb 2015 02:42:44 +0000 (UTC) Date: Wed, 04 Feb 2015 02:42:43 +0000 From: kallisti5@unixzen.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 42416 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10811 X-Redmine-Issue-Author: kallisti5 X-Redmine-Sender: kallisti5 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: OOF Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7EnyAmH0bMRCl4urxAimskis9ndMiZ5eVIgU XjuexqWhhjJUsxzRnb9aTAYwo5BpKrh+QckrbMDEYnExysJsy6ZBSIS6Lk+eOw8TWUIgzGqWz09jhw yMYp/YwF3FIDLL8= X-ML-Name: ruby-core X-Mail-Count: 67991 Subject: [ruby-core:67991] [ruby-trunk - Bug #10811] x86_64 segfault on Haiku X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #10811 has been updated by Alexander von Gluck. And our PTHREAD haves: ``` /Builds/ruby-2.2.0> grep -R HAVE_PTHREAD .ext/ .ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_COND_INIT 1 .ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_CONDATTR_INIT 1 .ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_SIGMASK 1 .ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_ATTR_INIT 1 .ext/include/x86_64-haiku/ruby/config.h:#define HAVE_PTHREAD_H 1 ``` We don't provide a pthread attr function to get the stack like Linux + BSD. Old enhancement here: https://dev.haiku-os.org/ticket/3883 ---------------------------------------- Bug #10811: x86_64 segfault on Haiku https://bugs.ruby-lang.org/issues/10811#change-51377 * Author: Alexander von Gluck * Status: Open * Priority: Low * Assignee: * ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-haiku] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- make test, although all ruby scripts result in this failure.. ``` make[2]: `ruby' is up to date. make[2]: Leaving directory `/Builds/ruby-2.2.0' make[1]: Leaving directory `/Builds/ruby-2.2.0' Generating RDoc documentation No newer files. Files: 0 Classes: 0 (0 undocumented) Modules: 0 (0 undocumented) Constants: 0 (0 undocumented) Attributes: 0 (0 undocumented) Methods: 0 (0 undocumented) Total: 0 (0 undocumented) 0.00% documented Elapsed: 0.0s test succeeded test_attr.rb \./bootstraptest/runner.rb:449: [BUG] vm_call0_cfunc_with_frame: cfp consistency error ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-haiku] -- Control frame information ----------------------------------------------- c:0020 p:---- s:0088 e:000087 CFUNC :value c:0019 p:0015 s:0085 e:000084 RESCUE ./bootstraptest/runner.rb:450 c:0018 p:0092 s:0082 E:002140 METHOD ./bootstraptest/runner.rb:450 c:0017 p:0095 s:0073 E:002098 METHOD ./bootstraptest/runner.rb:226 c:0016 p:0017 s:0065 E:002118 METHOD ./bootstraptest/runner.rb:264 c:0015 p:0021 s:0059 E:0021a8 METHOD ./bootstraptest/runner.rb:273 c:0014 p:0011 s:0053 e:000052 TOP /Builds/ruby-2.2.0/bootstraptest/test_attr.rb:1 [FINISH] c:0013 p:---- s:0051 e:000050 CFUNC :load c:0012 p:0099 s:0047 e:000046 BLOCK ./bootstraptest/runner.rb:188 [FINISH] c:0011 p:---- s:0041 e:000040 CFUNC :each c:0010 p:0054 s:0038 e:000037 METHOD ./bootstraptest/runner.rb:180 c:0009 p:0009 s:0034 e:000033 BLOCK ./bootstraptest/runner.rb:161 c:0008 p:0006 s:0032 e:000031 BLOCK ./bootstraptest/runner.rb:484 [FINISH] c:0007 p:---- s:0030 e:000029 CFUNC :chdir c:0006 p:0015 s:0026 e:000025 BLOCK ./bootstraptest/runner.rb:483 c:0005 p:0045 s:0023 e:000022 METHOD /Builds/ruby-2.2.0/lib/tmpdir.rb:88 c:0004 p:0054 s:0016 e:000015 METHOD ./bootstraptest/runner.rb:482 c:0003 p:0602 s:0012 e:000011 METHOD ./bootstraptest/runner.rb:160 c:0002 p:0401 s:0004 E:000300 EVAL ./bootstraptest/runner.rb:505 [FINISH] c:0001 p:0000 s:0002 E:000b10 TOP [FINISH] -- Ruby level backtrace information ---------------------------------------- ./bootstraptest/runner.rb:505:in `
' ./bootstraptest/runner.rb:160:in `main' ./bootstraptest/runner.rb:482:in `in_temporary_working_directory' /Builds/ruby-2.2.0/lib/tmpdir.rb:88:in `mktmpdir' ./bootstraptest/runner.rb:483:in `block in in_temporary_working_directory' ./bootstraptest/runner.rb:483:in `chdir' ./bootstraptest/runner.rb:484:in `block (2 levels) in in_temporary_working_directory' ./bootstraptest/runner.rb:161:in `block in main' ./bootstraptest/runner.rb:180:in `exec_test' ./bootstraptest/runner.rb:180:in `each' ./bootstraptest/runner.rb:188:in `block in exec_test' ./bootstraptest/runner.rb:188:in `load' /Builds/ruby-2.2.0/bootstraptest/test_attr.rb:1:in `' ./bootstraptest/runner.rb:273:in `assert_equal' ./bootstraptest/runner.rb:264:in `assert_check' ./bootstraptest/runner.rb:226:in `show_progress' ./bootstraptest/runner.rb:450:in `with_stderr' ./bootstraptest/runner.rb:450:in `ensure in with_stderr' ./bootstraptest/runner.rb:450:in `value' -- Other runtime information ----------------------------------------------- * Loaded script: ./bootstraptest/runner.rb * Loaded features: 0 enumerator.so 1 rational.so 2 complex.so 3 /Builds/ruby-2.2.0/.ext/x86_64-haiku/enc/encdb.so 4 /Builds/ruby-2.2.0/.ext/x86_64-haiku/enc/trans/transdb.so 5 /Builds/ruby-2.2.0/lib/unicode_normalize.rb 6 /Builds/ruby-2.2.0/.ext/x86_64-haiku/etc.so 7 /Builds/ruby-2.2.0/lib/fileutils.rb 8 /Builds/ruby-2.2.0/lib/tmpdir.rb [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Abort make: *** [yes-btest-ruby] Abort ``` ---Files-------------------------------- 2.2.0-buildlog-haiku-x86_64.txt (341 KB) -- https://bugs.ruby-lang.org/