#674 ✓resolved
Michael Sofaer

do_sqlite3 segfault in Debian

Reported by Michael Sofaer | November 27th, 2008 @ 11:25 PM

I created a merb installation in Debian with ruby 1.8.7 patchlevel 72, merb 1.0.3, dm-core 0.9.7 and do_sqlite3 0.9.9

Got a segmentation fault in rake db:automigrate as attached:

http://pastie.org/325842

Comments and changes to this ticket

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) December 1st, 2008 @ 06:20 PM

    • Tag changed from gem extensions, do_sqlite3 to gem extensions, debian, do_sqlite3, linux
    • State changed from “new” to “hold”

    Mike, have you tried this same app on another OS to see if it's the OS that is having the problem or do_sqlite3?

    Also, what version of SQLite3 did you compile do_sqlite3 against?

  • Dave Myron

    Dave Myron December 30th, 2008 @ 03:13 PM

    I'm getting this same segmentation fault on CentOS 5.2 with merb 1.0.7, dm-core 0.9.8 and do_sqlite3 0.9.9.

    Ruby version however is Ruby Enterprise Edition 1.8.6-20081215 (was happening with 200808xx too).

  • Dave Myron

    Dave Myron December 30th, 2008 @ 03:15 PM

    My installed version of sqlite is 3.3.6-2.i386

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) January 8th, 2009 @ 04:57 AM

    • State changed from “hold” to “unconfirmed”
    • Assigned user set to “Dirkjan Bussink”
  • Dirkjan Bussink

    Dirkjan Bussink January 13th, 2009 @ 09:56 AM

    Could you verify this with the latest do_sqlite3? I've fixed some things in there for supporting older sqlite3 versions and I've just tested it with 3.3.6 myself and it seems to work ok. Some specs fail for me, but at least no segfaults.

  • Justin Smestad

    Justin Smestad February 22nd, 2009 @ 02:53 AM

    I just tried this on Debian Lenny. Running Merb 1.0.9, DM 0.9.10, do_sqlite 0.9.11, and sqlite3 3.5.9 and there is no such problem. I also tried 3.5.x releases and no problem, so this assumed an outdated problem with the adapter.

  • Dirkjan Bussink

    Dirkjan Bussink February 23rd, 2009 @ 01:50 AM

    • State changed from “unconfirmed” to “resolved”

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Pages