Comments (12)
I am running ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.2.1]
and seeing a segfault after doing a select
with ALTER TABLE
with postgres as well.
But it looks to me it's more a Ruby bug since it segfaulted at lines in Ruby code instead of native code. However it's actually hard to tell. I don't yet have time to figure out what's going on, but want to let people know we have similar issues. (though it might not be related)
from do.
Could any one of you create a small repro for this to reproduce the problem? Ideally just a script with no dependencies except for DataObjects itself. I'm sure it would be fairly easy to fix then.
from do.
@dbussink I'll try to do that tomorrow morning (I'm in the UK) and post a link here. This is my first DataMapper app and I'm relatively new to Ruby. If I get stuck then I'll mention that here too.
from do.
Here it is. https://gist.github.com/godfat/5626115
So it looks like it crashed at execute_reader
which is a C function.
from do.
Could it be a postgres change? I am using psql --version psql (PostgreSQL) 9.2.4
from do.
I've uploaded a script that's based on godfat's. https://gist.github.com/crantok/5626645
One thing I forgot:
Server version: 5.5.30-30.1 Percona Server (GPL), Release rel30.1, Revision 465
from do.
@crantok Looks like your issue is a different one from @godfat, they don't seem to be related. I've managed to reproduce the issue of @godfat, but the one @crantok reported seems to run fine for me.
from do.
That's a pity. Any idea what my next step should be? I wonder whether it's worth pointing my host's support at this thread.
from do.
I don't know if it's possible to set up a machine somewhere that shows this problem? If you could get this crash reproduced in for example an isolated virtual machine that I could get access to, that would be great. That's probably the easiest way to get the information needed to fix this issue.
from do.
Providing a VM is beyond my abilities. I've raised a ticket with my host to see if they can help in this regard.
from do.
I've found out that there was a problem with the gem installation on my hosting account. Reinstallation killed the problem so my original issue was a phantom. I haven't closed the issue in case you still need it open for the postgres segfault.
from do.
Ah, I'm closing it then, since the postgres segfault was fixed.
from do.
Related Issues (20)
- Usage of .my.cnf file in do_mysql HOT 1
- Fixnum deprecated after ruby 2.4
- postgres - precision lost when casting on double precision HOT 2
- do_postgres won't install with postgresql-9.3 on Ubuntu 13.10 HOT 15
- do_postgres relies on server header files HOT 2
- do_mysql should not automatically coerce tinyint(1) values into bools
- Installing do_postgres fails on OSX maverick and brew install postgresql
- do_postgres does work with rubyinstaller version 2.1 HOT 3
- do_mysql and do_postgres don't run in ruby 2.2 HOT 6
- do_sqlite3:0.10.14 - LoadError: "cannot load such file -- do_sqlite3/2.1/do_sqlite3" HOT 1
- do_postgres appears to be truncating timestamp smaller than seconds HOT 1
- Time is losing timezone from DB and assuming local time zone
- Case sensitive error message test
- do_jdbc not compatible with jruby-9000 HOT 1
- Sqlite3 doesn't handle sub-second time in jruby
- Does not work with MySQL 5.7 HOT 14
- UTF-8-MB4 issues HOT 1
- SQLite DB Connection String ASCII characters
- Configurable pooling
- [do_postgres] Returning ID when bigint fails at `atoi` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from do.