I am using OCaml 4.0.1
On Thu, Jan 30, 2014 at 11:43 AM, JD Buys <[email protected]> wrote:
> Thanks again for the information.
>
> I will recompile it as suggested and keep you up to date.
>
> JD
>
>
> On Thu, Jan 30, 2014 at 10:37 AM, David Baelde <[email protected]>wrote:
>
>> >From what I see (I may be missing some context) there is no reason to
>> blame duppy. The segfault is from caml_c_call, and the backtrace there
>> gives no information. A quick googling tells me that this could be a
>> stack overflow. Can you indicate which version of OCaml you are using?
>> One way to get more info here is to compile liquisoap in ocaml
>> bytecode (stack overflow would be an exception, with a backtrace
>> telling us what is happening) by configuring with --disable-nativecode
>> and recompiling.
>>
>> On Tue, Jan 28, 2014 at 2:09 PM, JD Buys <[email protected]> wrote:
>> > For interest sake, here is the backtrace for the segfault with the
>> original
>> > ocaml-duppy:
>> >
>> > #0 0x00000000008d3a5b in caml_c_call ()
>> > (gdb) thread apply all bt
>> >
>> > Thread 15 (Thread 0x2ac8f8d5d140 (LWP 30441)):
>> > #0 0x0000003805c0e9c8 in do_sigwait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c0ea6d in sigwait () from /lib64/libpthread.so.0
>> > #2 0x00000000008bc602 in caml_wait_signal ()
>> > #3 0x00000000007eac73 in camlDtools__wait_signal_1309 () at
>> dtools.ml:527
>> > #4 0x00000000007eadba in camlDtools__main_1313 () at dtools.ml:566
>> > #5 0x00000000007eaf54 in camlDtools__catch_1324 () at dtools.ml:573
>> > #6 0x000000000066bfc1 in camlMain__Make_1287 () at main.ml:622
>> > #7 0x0000000000668ea5 in camlRunner__entry ()
>> > #8 0x0000000000661ee9 in caml_program ()
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x000000380461cbc0 in ?? () from /lib64/ld-linux-x86-64.so.2
>> > #11 0x000000380461cbc0 in ?? () from /lib64/ld-linux-x86-64.so.2
>> > #12 0x0000000000000000 in ?? ()
>> >
>> > Thread 14 (Thread 30521):
>> > #0 0x0000003805c0d654 in __lll_lock_wait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c10341 in _L_cond_lock_989 () from
>> /lib64/libpthread.so.0
>> > #2 0x0000003805c1020f in __pthread_mutex_cond_lock () from
>> > /lib64/libpthread.so.0
>> > #3 0x0000003805c0b0b4 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #4 0x00000000008bbb62 in caml_condition_wait ()
>> > #5 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #6 0x000000000079862e in camlTutils__queue_1190 () at tools/
>> tutils.ml:197
>> > #7 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #8 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x0000000019bfa7d0 in ?? ()
>> > #11 0x0000000000000000 in ?? ()
>> >
>> > Thread 13 (Thread 30522):
>> > #0 0x00000038048ce122 in select () from /lib64/libc.so.6
>> > #1 0x00000000008bc4ec in caml_thread_tick ()
>> > #2 0x0000003805c0683d in start_thread () from /lib64/libpthread.so.0
>> > #3 0x00000038048d4f8d in clone () from /lib64/libc.so.6
>> >
>> > Thread 12 (Thread 30523):
>> > #0 0x0000003805c0d654 in __lll_lock_wait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c08f4a in _L_lock_1034 () from /lib64/libpthread.so.0
>> > #2 0x0000003805c08e0c in pthread_mutex_lock () from
>> /lib64/libpthread.so.0
>> > #3 0x00000000008bcb9f in caml_mutex_lock ()
>> > #4 0x00000000007e404a in camlDuppy__queue_1114 () at duppy.ml:269
>> > #5 0x000000000079862e in camlTutils__queue_1190 () at tools/
>> tutils.ml:197
>> > #6 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #7 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #8 0x00000000008d3ac2 in caml_start_program ()
>> > #9 0x0000000019bfa8b0 in ?? ()
>> > #10 0x0000003804809088 in ?? () from /lib64/libc.so.6
>> > #11 0x00002ac8f8b524c8 in ?? ()
>> > #12 0x0000000000000000 in ?? ()
>> >
>> > Thread 11 (Thread 30524):
>> > #0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #1 0x00000000008bbb62 in caml_condition_wait ()
>> > #2 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > ---Type <return> to continue, or q <return> to quit---
>> > #3 0x000000000079862e in camlTutils__queue_1190 () at tools/
>> tutils.ml:197
>> > #4 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #5 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #6 0x00000000008d3ac2 in caml_start_program ()
>> > #7 0x0000000019c5d830 in ?? ()
>> > #8 0x0000003804809088 in ?? () from /lib64/libc.so.6
>> > #9 0x00002ac8f8b524c8 in ?? ()
>> > #10 0x0000000000000000 in ?? ()
>> >
>> > Thread 10 (Thread 30525):
>> > #0 0x0000003805c0d654 in __lll_lock_wait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c10341 in _L_cond_lock_989 () from
>> /lib64/libpthread.so.0
>> > #2 0x0000003805c1020f in __pthread_mutex_cond_lock () from
>> > /lib64/libpthread.so.0
>> > #3 0x0000003805c0b0b4 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #4 0x00000000008bbb62 in caml_condition_wait ()
>> > #5 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #6 0x000000000079862e in camlTutils__queue_1190 () at tools/
>> tutils.ml:197
>> > #7 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #8 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x0000000019bf8e80 in ?? ()
>> > #11 0x0000003804809088 in ?? () from /lib64/libc.so.6
>> > #12 0x00002ac8f8b524c8 in ?? ()
>> > #13 0x0000000000000000 in ?? ()
>> >
>> > Thread 9 (Thread 30526):
>> > #0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #1 0x00000000008bbb62 in caml_condition_wait ()
>> > #2 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #3 0x000000000079862e in camlTutils__queue_1190 () at tools/
>> tutils.ml:197
>> > #4 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #5 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #6 0x00000000008d3ac2 in caml_start_program ()
>> > #7 0x0000000019bf9090 in ?? ()
>> > #8 0x0000003804809088 in ?? () from /lib64/libc.so.6
>> > #9 0x00002ac8f8b524c8 in ?? ()
>> > #10 0x0000000000000000 in ?? ()
>> >
>> > Thread 8 (Thread 30527):
>> > #0 0x0000003805c0d654 in __lll_lock_wait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c10341 in _L_cond_lock_989 () from
>> /lib64/libpthread.so.0
>> > #2 0x0000003805c1020f in __pthread_mutex_cond_lock () from
>> > /lib64/libpthread.so.0
>> > #3 0x0000003805c0b0b4 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #4 0x00000000008bbb62 in caml_condition_wait ()
>> > #5 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #6 0x00000000007985eb in camlTutils__queue_1190 () at tools/
>> tutils.ml:199
>> > #7 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #8 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x0000000019bf92a0 in ?? ()
>> > #11 0x0000003804809088 in ?? () from /lib64/libc.so.6
>> > #12 0x00002ac8f8b524c8 in ?? ()
>> > #13 0x0000000000000000 in ?? ()
>> >
>> > Thread 7 (Thread 30528):
>> > ---Type <return> to continue, or q <return> to quit---
>> > #0 0x0000003805c0d654 in __lll_lock_wait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c10341 in _L_cond_lock_989 () from
>> /lib64/libpthread.so.0
>> > #2 0x0000003805c1020f in __pthread_mutex_cond_lock () from
>> > /lib64/libpthread.so.0
>> > #3 0x0000003805c0b0b4 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #4 0x00000000008bbb62 in caml_condition_wait ()
>> > #5 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #6 0x00000000007985eb in camlTutils__queue_1190 () at tools/
>> tutils.ml:199
>> > #7 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #8 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x0000000019bf96a0 in ?? ()
>> > #11 0x0000000000000000 in ?? ()
>> >
>> > Thread 6 (Thread 30529):
>> > #0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #1 0x00000000008bbe4f in st_masterlock_acquire ()
>> > #2 0x00000000008bc97a in caml_thread_leave_blocking_section ()
>> > #3 0x00000000008c2c90 in caml_leave_blocking_section ()
>> > #4 0x00000000008bbb6a in caml_condition_wait ()
>> > #5 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #6 0x00000000007985eb in camlTutils__queue_1190 () at tools/
>> tutils.ml:199
>> > #7 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #8 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x0000000019bf98b0 in ?? ()
>> > #11 0x0000000000000000 in ?? ()
>> >
>> > Thread 5 (Thread 30530):
>> > #0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #1 0x00000000008bbe4f in st_masterlock_acquire ()
>> > #2 0x00000000008bc97a in caml_thread_leave_blocking_section ()
>> > #3 0x00000000008c2c90 in caml_leave_blocking_section ()
>> > #4 0x00000000008bf3af in unix_select ()
>> > #5 0x00000000007e13e3 in camlDuppy__f_1092 () at duppy.ml:178
>> > #6 0x00000000007e3b24 in camlDuppy__process_1083 () at duppy.ml:201
>> > #7 0x00000000007e4146 in camlDuppy__queue_1114 () at duppy.ml:295
>> > #8 0x00000000007985eb in camlTutils__queue_1190 () at tools/
>> tutils.ml:199
>> > #9 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #10 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #11 0x00000000008d3ac2 in caml_start_program ()
>> > #12 0x0000000019bfafc0 in ?? ()
>> > #13 0x0000000000000000 in ?? ()
>> >
>> > Thread 4 (Thread 30531):
>> > #0 0x0000003805c0d654 in __lll_lock_wait () from /lib64/libpthread.so.0
>> > #1 0x0000003805c10341 in _L_cond_lock_989 () from
>> /lib64/libpthread.so.0
>> > #2 0x0000003805c1020f in __pthread_mutex_cond_lock () from
>> > /lib64/libpthread.so.0
>> > #3 0x0000003805c0b0b4 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #4 0x00000000008bbb62 in caml_condition_wait ()
>> > #5 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #6 0x00000000007985eb in camlTutils__queue_1190 () at tools/
>> tutils.ml:199
>> > #7 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #8 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #9 0x00000000008d3ac2 in caml_start_program ()
>> > #10 0x0000000019bfa6e0 in ?? ()
>> > ---Type <return> to continue, or q <return> to quit---
>> > #11 0x0000000000000000 in ?? ()
>> >
>> > Thread 3 (Thread 30532):
>> > #0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #1 0x00000000008bbb62 in caml_condition_wait ()
>> > #2 0x00000000007e41d2 in camlDuppy__queue_1114 () at duppy.ml:298
>> > #3 0x00000000007985eb in camlTutils__queue_1190 () at tools/
>> tutils.ml:199
>> > #4 0x0000000000797eda in camlTutils__fun_1346 () at tools/
>> tutils.ml:136
>> > #5 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #6 0x00000000008d3ac2 in caml_start_program ()
>> > #7 0x0000000019c011d0 in ?? ()
>> > #8 0x0000000000000000 in ?? ()
>> >
>> > Thread 2 (Thread 30533):
>> > #0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
>> > /lib64/libpthread.so.0
>> > #1 0x00000000008bbb62 in caml_condition_wait ()
>> > #2 0x000000000079890a in camlTutils__fun_1425 () at tools/
>> tutils.ml:300
>> > #3 0x0000000000798d1c in camlTutils__mutexify_1081 () at tools/
>> tutils.ml:80
>> > #4 0x00000000007e82e9 in camlDtools__thread_1318 () at dtools.ml:555
>> > #5 0x000000000084af19 in camlThread__fun_1081 () at thread.ml:37
>> > #6 0x00000000008d3ac2 in caml_start_program ()
>> > #7 0x0000000019c013e0 in ?? ()
>> > #8 0x0000000000000000 in ?? ()
>> >
>> > Thread 1 (Thread 0x2acbb606b940 (LWP 30534)):
>> > #0 0x00000000008d3a5b in caml_c_call ()
>> > #1 0x0000000000000000 in ?? ()
>> >
>> >
>> > JD
>> >
>> >
>> ------------------------------------------------------------------------------
>> > WatchGuard Dimension instantly turns raw network data into actionable
>> > security intelligence. It gives you real-time visual feedback on key
>> > security issues and trends. Skip the complicated setup - simply import
>> > a virtual appliance and go from zero to informed in seconds.
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Savonet-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/savonet-users
>> >
>>
>>
>>
>> --
>> David
>>
>>
>> ------------------------------------------------------------------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends. Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users