Hello,
2012/5/1 Sunjoong Lee :
> Joonas, test my new one on your 64-bit computer and/or make a merge request
> of yours unless it work.
>
I tried it now, and the version in commit
c55adf43a8c0e59706f40e65a07d457d60e55a83 seems to work fine in
computers of different sizes of pointer widths.
-Joo
Hi, Daniel and Joonas;
2012/5/1 Daniel Krueger
>
> (make-pointer (bit-extract (lognot 0) 0 (* 8 (sizeof '*
>
Good and thank you. I made a new patch based on that.
> On Tue, May 1, 2012 at 5:01 PM, Joonas Sarajärvi wrote:
> >> Replying to myself, I now noticed that the change will not work
Oh, I'm sorry, I missed the fact that all bits in the pointer would be
set. Correct would be this:
(make-pointer (bit-extract (lognot 0) 0 (* 8 (sizeof '*
So, okay, this may not be a better solution :D
- Daniel
On Tue, May 1, 2012 at 5:05 PM, Daniel Krueger wrote:
> Hi,
>
> I just wanted t
Hi,
I just wanted to note that it should work just to use (make-pointer #xff).
- Daniel
On Tue, May 1, 2012 at 5:01 PM, Joonas Sarajärvi wrote:
> 2012/5/1 Joonas Sarajärvi :
>
>> However, thank you for taking a look at the problem. The change you
>> placed at
>> git://gitorious.org/~sunjoong/g
2012/5/1 Joonas Sarajärvi :
> However, thank you for taking a look at the problem. The change you
> placed at
> git://gitorious.org/~sunjoong/guile-sqlite3/sunjoongs-guile-sqlite3.git
> seems to completely resolve the crash for me.
>
> -Joonas
Replying to myself, I now noticed that the change wi
2012/4/29 Sunjoong Lee :
> Hi, Joonas;
>
> Yesterday, David said simple solution of yours. I think I found the case
> of segfault.
>
Hello,
Sorry for having been so inactive in this thread, despite starting it.
Other life activities pretty much took the whole weekend.
However, thank you for taki
Hi, Andy;
Where is a "request a pull" button?
I tried somethings; one of them makes 3e2add75. I don't know what's exactly
work but https://gitorious.org/guile-sqlite3 display "sunjoong committed
3e2add75 on April 30, 2012 13:23". Now, the time to "pull request."
2012/4/30 Andy Wingo
>
> What it
On Mon 30 Apr 2012 12:32, Sunjoong Lee writes:
> 2012/4/30 Andy Wingo
>
> Would you mind sending a pull request on gitorious? Preferably we could
> add a test case too.
>
> I apologize for my poor english; I'm willing to "send a pull request on
> gitorious" but don't know what means t
2012/4/30 Andy Wingo
>
> Would you mind sending a pull request on gitorious? Preferably we could
> add a test case too.
>
I apologize for my poor english; I'm willing to "send a pull request on
gitorious" but don't know what means that sentence.
Joonas had reported that Segmentation fault cras
On Sun 29 Apr 2012 03:58, Sunjoong Lee writes:
> Yesterday, David said simple solution of yours. I think I found the case
> of segfault.
Nice!
Would you mind sending a pull request on gitorious? Preferably we could
add a test case too.
Cheers,
Andy
--
http://wingolog.org/
Hi, Joonas;
Yesterday, David said simple solution of yours. I think I found the case
of segfault.
## cut here ##
--- sqlite3.scm.old 2012-01-24 00:22:10.0 +0900
+++ sqlite3.scm 2012-04-29 10:37:37.999722092 +0900
@@ -284,11 +284,11 @@
(let ((bind-blob (pointer->procedur
hello,
> ...
>(stmt (sqlite-prepare db "INSERT INTO foos(name) VALUES(?);")))
i'd rather bind the statment in scheme _anyway_ if i was you.
david
;; --
(use-modules (sqlite3))
(define db (sqlite-open "ex0.db"))
(define (sqlite/command db command)
(let ((stmt (sqlite-prepare db comm
Hi,
> I mean a example code of Joonas Sarajärvi,
> http://paste.pocoo.org/show/587676/ , produces a Segmentation fault on
> Guile 2.0.5 too. I though what if a integer. In the integer case, there is
> no Segmentation fault. Here is a diff of my test code from Joonas's:
the paste seems unavalaibl
Hi, David;
2012/4/28 David Pirotte
>
> Best would be to send us an small, complete and concise example of you
> consider
> reproducible, could you d that ?
>
I mean a example code of Joonas Sarajärvi,
http://paste.pocoo.org/show/587676/ , produces a Segmentation fault on
Guile 2.0.5 too. I thoug
Hi,
> > I tried to run guile in gdb to get a backtrace from the crash. The
> > segfault seems to be triggered inside libsqlite3 code, but I could not
> > ...
> Same crash on Guile 2.0.5. It looks like string encoding problem. Suppose
> name be an integer not a string like 10, it would not crash.
-[ Thu, Apr 26, 2012 at 05:04:23PM -0400, Noah Lavine ]
> > I use it daily and it's working allright.
> > I'd have a closer look to the libffi you used to compile guile
> > if I were you.
>
> What version of Guile do you use it with?
2.0.2.224-b1a52-dirty compiled with libffi 5.0.10
Hi, Joonas;
2012/4/26 Joonas Sarajärvi
>
> I tried to run guile in gdb to get a backtrace from the crash. The
> segfault seems to be triggered inside libsqlite3 code, but I could not
> really get much useful information from it. I am thus writing here to
> ask if someone else has more insight on
> I use it daily and it's working allright.
> I'd have a closer look to the libffi you used to compile guile
> if I were you.
What version of Guile do you use it with?
Just curious if it's different than 2.0.2 or 2.0.5.
> Is guile-sqlite3 actually in such a shape that it might be useful for
> curious testers?
I use it daily and it's working allright.
I'd have a closer look to the libffi you used to compile guile
if I were you.
Hello,
Some time ago, I noticed that there is a nice-looking libsqlite3
wrapper for Guile available at [1]. I am now trying to use it, but the
short example program I wrote seems to cause guile to crash in certain
places where sqlite-finalize is called.
I tried to run guile in gdb to get a backtr
20 matches
Mail list logo