
integrity install path/to/my/app segfaults in CentOS 5
Reported by Jacqui | November 20th, 2008 @ 06:44 PM | in 0.1.9
trying to setup integrity in a rails app in CentOS 5 results in a seg fault. here's the output from gdb, followed by the output of my gem env.
[app@broadway se]$ gdb --args ruby /usr/local/bin/integrity install /home/app/integrity/se/ GNU gdb Red Hat Linux (6.5-25.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run Starting program: /usr/local/bin/ruby /usr/local/bin/integrity install /home/app/integrity/se/ [Thread debugging using libthread_db enabled] [New Thread 46912496198448 (LWP 31490)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912496198448 (LWP 31490)] 0x000000364fe140ec in longjmp () from /lib64/ld-linux-x86-64.so.2 (gdb) bt #0 0x000000364fe140ec in longjmp () from /lib64/ld-linux-x86-64.so.2 #1 0x5b2958d76984ecab in ?? () Cannot access memory at address 0x5b29727dc257cd6b
[app@broadway se]$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.0 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/local/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /home/app/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org", "http://gems.github.com"]
- REMOTE SOURCES:
Comments and changes to this ticket
-
ronin-278 (at lighthouseapp) November 20th, 2008 @ 06:47 PM
- State changed from new to open
- Milestone set to 0.1.9
- Assigned user set to ronin-278 (at lighthouseapp)
I'll try to get a CentOS 5 somewhere and try to repeat your steps.
-
Jon Yurek December 7th, 2008 @ 11:45 PM
I am seeing the same problem, but on i686 CentOS 5:
[integrity@fumble integrity]$ gdb --args ruby /usr/local/bin/integrity install ci GNU gdb Red Hat Linux (6.5-37.el5_2.2rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/local/bin/ruby /usr/local/bin/integrity install ci [Thread debugging using libthread_db enabled] [New Thread -1208998208 (LWP 11523)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208998208 (LWP 11523)] 0x008bc589 in __longjmp () from /lib/ld-linux.so.2 (gdb)
RubyGems Environment: - RUBYGEMS VERSION: 1.3.0 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i686-linux] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/local/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /usr/local/lib/ruby/gems/1.8 - /home/integrity/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://gems.rubyforge.org/
-
ronin-278 (at lighthouseapp) December 8th, 2008 @ 03:49 AM
- State changed from open to resolved
It seems RHEL5 and CentOS 5 ship with sqlite 3.3.6, which doesn't quite work with do_sqlite3.
Updating sqlite3 should avoid this problem.
-
LaurencePetersen November 8th, 2020 @ 02:13 PM
The integrity of the lighthouse and all pitons hurried for the goals. The natives of the blunt element and customwritings.com is filed for the reforms. Margin is passed for the fulfillment of the goals for the gaps.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.