<Demitar>
It just seems to have the nasty habit of loosing track of my applications...
<ulfdoz_>
Probably the optimisations.
<Demitar>
What optimizations?
<ulfdoz_>
The ones, the compiler usually does.
<ulfdoz_>
But it shouldn't at least with "-g".
<Demitar>
As far as I know ocaml does (very) little optimizations in the end.
<ulfdoz_>
Hm, strange.
<Demitar>
Well, it doesn't really need to, it's properly abstracted to begin with.
mlh_ has quit [Client Quit]
<Demitar>
Perhaps I should just ignore that sigpipe for now...
<ulfdoz_>
But I would doubt that backtrace changes with the debugger. :)
<Demitar>
gdb vs ocamldebug ?
<ulfdoz_>
Yes
<Demitar>
Of course it's different, gdb doesn't know about ocaml code, it can only display the exported C symbols.
<ulfdoz_>
Aren't they similar?
<ulfdoz_>
... named similar to the ocaml ones.
<Demitar>
When using the native compiler it's closer, since it compiles almost(?) all functions down to C symbols. The bytecompiler on the other hand is a binary containing mostly bytecode.
<ulfdoz_>
The bad news: It seems to be known, that the stack frames are only printed partedly - "The command backtrace (or bt) displays parts of the call stack."
<sieni>
Demitar: You should always ignore sigpipe ;-)
<Demitar>
Well I usually get the backtrace from ocamlrun by setting an environment variable, the problem is that I can't get it out from the signal handler, since it does a code jump.
<Demitar>
sieni, in production code yes, but now I want to know who's causing it, since it shouldn't happend.
<sieni>
if you ignore sigpipe shouldn't you be getting eof or something from the pipe that got broken?
mlh_ has joined #ocaml
Smerdyakov has joined #ocaml
<Demitar>
sieni, sure, but I'm not the one reading from it, it's somewhere in the murky depths of Equeue.
<Demitar>
Oooh, but how cleverly, I simply assemble all pipes in a list and lookup which one it is...
<ulfdoz_>
What about a breakpoint and an lsof?
<Demitar>
ulfdoz_, lsof won't help me figure out where in the code it's happending. :)
<ulfdoz_>
Hm, ok. No furhter ideas. :\
Demitar has quit [Read error: 54 (Connection reset by peer)]
Demitar has joined #ocaml
Demitar has quit [Client Quit]
Demitar has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
<ulfdoz_>
lastlog $N hilft
pango_ has quit ["work"]
_shawn has quit [Read error: 110 (Connection timed out)]
_shawn has joined #ocaml
mlh_ has quit [Client Quit]
pango has joined #ocaml
Isumi has joined #ocaml
Isumi has quit ["leaving"]
gim has joined #ocaml
mauke has joined #ocaml
vodka-goo has joined #ocaml
vodka-goo has quit ["ru"]
mlh_ has joined #ocaml
Saulzar has quit [brown.freenode.net irc.freenode.net]
Saulzar has joined #ocaml
Saulzar has quit [brown.freenode.net irc.freenode.net]
Saulzar has joined #ocaml
Saulzar has quit [brown.freenode.net irc.freenode.net]
Saulzar has joined #ocaml
_shawn has quit [Read error: 110 (Connection timed out)]
_shawn has joined #ocaml
kernelsensei has joined #ocaml
<kernelsensei>
hi
<kernelsensei>
I just installed lablgtk, but ocamlfind doesn't find it ... any idea ?
<Demitar>
It helps if you are more specific.
<kernelsensei>
Demitar: I installed dev-ml/lablgtk-2.4.0 , and when I do "ocamlfind list" this package isn't listed
<kernelsensei>
but I've something in /usr/lib/ocaml/lablgtk2/
vezenchio has joined #ocaml
<Demitar>
kernelsensei, either install them in the standard dir or do man findlib.conf
<kernelsensei>
ok
mlh_ has quit [Client Quit]
Submarine has joined #ocaml
malc_ has joined #ocaml
Prawntasm has joined #ocaml
more has quit [Remote closed the connection]
Saulzar has quit ["Leaving"]
_JusSx_ has joined #ocaml
ngaylinn has joined #ocaml
<ngaylinn>
Is there any good way to get the file name for a module in the debugger?
Prawntasm has quit []
Submarine has quit ["Leaving"]
araujo has quit ["Programs must be written for people to read, and only incidentally for machines to execute"]
MrSmiley has joined #ocaml
malc_ has left #ocaml []
<ngaylinn>
Is there any good way to get the file name for a module in the debugger?
Snark has joined #ocaml
Submarine has joined #ocaml
pango has quit ["Leaving"]
_fab has joined #ocaml
_JusSx_ has quit ["leaving"]
mrsolo has joined #ocaml
<ngaylinn>
Is there any good way to get the file name for a module in the debugger?
* Demitar
is just getting into the interface and cannot really judge if it's brilliant or a bit clunky just yet (in the second case it's mostly a matter of a few wrapper classes).
<mrsolo>
i am starting to learn ocaml seriously this time
<mrsolo>
so i don't know eithr way :-)
<mrsolo>
this project calls for high performance high rebility software.. so not whole lot of choices in term of implementation languages go..
<Submarine>
define "high reliability" :-)
* Snark
really find it stupid that xchat colors "Submarine" as blue... yellow would be a much better choice!
vodka-goo has joined #ocaml
<sieni>
Snark: :-)
Aradorn has joined #ocaml
<pango>
mrsolo: recent Linux kernels have sendfile() that avoid some useless copies (from file system cache to userland, then from userland to socket buffer...)
<pango>
mrsolo: probably Win32 has something similar
<Submarine>
sendfile() looks like the way to implement file servers