<gio>
I'm looking for #36: Object-oriented programming in OCaml (23rd November 2008)
<gio>
Some of you could help me?
<gio>
:) thanks
<gio>
*did you had some articles...
lamawithonel has joined #ocaml
<thelema>
gio: easiest way to get that is to subscribe
<gio>
yeah! I know :)
ftrvxmtrx has joined #ocaml
<gio>
thelema: ~45 euros for a single article is too much
<thelema>
ask jon nicely, maybe he'll send you just that article.
ygrek has joined #ocaml
__marius__ has quit [Remote host closed the connection]
<gio>
who is jon?
<bitbckt>
Jon Harrop. The author.
fraggle_laptop has quit [Remote host closed the connection]
<gio>
ok, thank you guys
fraggle_laptop has joined #ocaml
hto has joined #ocaml
gio has quit [Remote host closed the connection]
vivanov has quit [Quit: Lost terminal]
pdhborges has joined #ocaml
ulfdoz has joined #ocaml
edwin has quit [Ping timeout: 260 seconds]
edwin has joined #ocaml
pdhborges has quit [Quit: Leaving.]
eikke has joined #ocaml
ankit9 has quit [Quit: Leaving]
emmanuel_ has joined #ocaml
emmanuel_ has quit [Remote host closed the connection]
lamawithonel has quit [Remote host closed the connection]
lamawithonel has joined #ocaml
lopex has joined #ocaml
ankit9 has joined #ocaml
yezariaely has joined #ocaml
ankit9 is now known as ankit9|zzz
pdhborges has joined #ocaml
philed has quit [Ping timeout: 248 seconds]
Rolands has joined #ocaml
oriba_ has joined #ocaml
oriba has quit [Read error: Operation timed out]
ygrek has quit [Ping timeout: 246 seconds]
oriba_ is now known as oriba
yezariaely has quit [Quit: Leaving.]
jderque has quit [Quit: leaving]
ymasory has quit [Quit: Leaving]
fraggle_laptop has quit [Ping timeout: 276 seconds]
_andre has quit [Quit: leaving]
astory has joined #ocaml
<astory>
I've got some code that segfaults without doing any marshalling, just with an infinite recursion. Is it worth turning into a bug report?
<thelema>
astory: on some platforms, infinite recursion -> segfault is expected
<thelema>
Are you sure it's the infinite recursion that causes the segfault?
pdhborges has left #ocaml []
ulfdoz has quit [Ping timeout: 240 seconds]
<astory>
thelema: I'm not doing anything weird with data types. It was my understanding that it shouldn't segfault unless you're doing odd things, but I'm no expert
<astory>
it's entirely possible that it's something else, I need to finish tracking down the infinite recursion first
<thelema>
true, using safe features of ocaml leaves pretty much only stack overflows as the only segfault candidate.
<thelema>
I assume you're not compiling with -unsafe or using Obj.*
<astory>
I'm on Linux x86-64, and we've replicated it on a mac of modern vintage
<astory>
thelema: let me double check my omakefile
<astory>
yeah, no -unsafe
pdhborges has joined #ocaml
<astory>
the only thing I can think of is that in each recursion I increment a reference and turn that into a string; it gets to 41878 before dieing
<thelema>
sounds like infinite recursion.
<astory>
yeah, I know that I've got an infinte recursion bug, but I'm surprised it segfaults
<thelema>
I thought that x86-64 was able to catch the stack overflow, though. Dunno why not.
<astory>
I'm trying to test this out in the interpreter, but I'm having trouble coming up with a function that does a stack overflow (I think tail recursion is killing me). Any suggestions?
Rolands has quit [Read error: Operation timed out]
<thelema>
# let rec f x = 1 + f (x+1) in f 3;;
eye-scuzzy has quit [Read error: Operation timed out]
<astory>
Stack overflow during evaluation (looping recursion?).
<thelema>
yup, that's what I get too
<astory>
putting that into my compiled code yields Uncaught exception Stack overflow, so this is definitely bad behavior
<thelema>
using any libraries? C bindings?
<astory>
or at least, inconsistent
<astory>
just yacc and lexx
<astory>
but this function doesn't call them, it's just a manipulation of my ast
<thelema>
can you pastebin it?
edwin has quit [Remote host closed the connection]
brendan has quit [Read error: Operation timed out]
brendan has joined #ocaml
<astory>
thelema: I will in a bit, having connection issues