summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2012-09-10 14:50:25 +0200
committergebele <gebele@in-silico.ch>2012-09-10 14:50:25 +0200
commit790d38f863c49b4ddf75624e9cdbcfcac41b6b0d (patch)
tree3f420c824211f0d0ec04ac7c5af58aff178f7801
parentd9b9713ffa21c0e544383ce1e84e6879b0c16bc3 (diff)
initial commit fix-error-message-about-segmentation-fault
-rw-r--r--_posts/2012-09-10-fix-error-message-about-segmentation-faults.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/_posts/2012-09-10-fix-error-message-about-segmentation-faults.md b/_posts/2012-09-10-fix-error-message-about-segmentation-faults.md
new file mode 100644
index 0000000..bbd3122
--- /dev/null
+++ b/_posts/2012-09-10-fix-error-message-about-segmentation-faults.md
@@ -0,0 +1,22 @@
+---
+layout: post
+title: "fix error/bug message about segmentation faults"
+description: "possible fix for error/bug message about segmentation faults"
+category: general
+tags: [debugging, curl]
+---
+{% include JB/setup %}
+
+===
+If you get error messages like:
+
+ .rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/addressable-2.2.8/lib/addressable/uri.rb:1319: [BUG] Segmentation fault
+ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]<br>
+ .rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rdf-0.3.5.2/lib/rdf/model/uri.rb:85:in initialize: method method_missing called on terminated object (0x000000188b67b8 flags=0x0 klass=0x0) (NotImplementedError)
+
+It looks like the error that libcurl version 7.21 have so i decided first to compile and install version 7.26 to fix this bug, without success.<br>
+In fact that e.g.installing libcurl3-dev or other maybe missing curl libs with aptitude alert that libcurl4-gnutls-dev and libraptor1-dev would be removed i decided to simply uninstall curl and reinstall it again, with success !
+
+In my case i executed a ruby script within a backtick curl command, that pulls huge amount of rdf graphs into an array.
+
+It seems like sth. to do with the install order of curl after some rubygems ? Maybe it is possible to configure the path to curl while installing the gems through Bundler ? Installed curl version is now 7.21.0-2.1+squeeze2 again.