Hi,
I am still getting random segfaults, and everything pointed to ocaml-duppy
as the problem, so I decided to run a test with the native ocaml-duppy
branch, and this was the trace I got after the segfault.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000008d05db in caml_c_call ()
(gdb) thread apply all bt
Thread 7 (Thread 0x2aad16f6a140 (LWP 14486)):
#0 0x0000003805c0e9c8 in do_sigwait () from /lib64/libpthread.so.0
#1 0x0000003805c0ea6d in sigwait () from /lib64/libpthread.so.0
#2 0x00000000008b9182 in caml_wait_signal ()
#3 0x00000000007e77f3 in camlDtools__wait_signal_1309 () at dtools.ml:527
#4 0x00000000007e793a in camlDtools__main_1313 () at dtools.ml:566
#5 0x00000000007e7ad4 in camlDtools__catch_1324 () at dtools.ml:573
#6 0x000000000066adb1 in camlMain__Make_1287 () at main.ml:622
#7 0x0000000000667c95 in camlRunner__entry ()
#8 0x0000000000660cd9 in caml_program ()
#9 0x00000000008d0642 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 6 (Thread 14544):
#0 0x00000038048ce122 in select () from /lib64/libc.so.6
#1 0x00000000008b906c in caml_thread_tick ()
#2 0x0000003805c0683d in start_thread () from /lib64/libpthread.so.0
#3 0x00000038048d4f8d in clone () from /lib64/libc.so.6
Thread 5 (Thread 14549):
#0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x00000000008b86e2 in caml_condition_wait ()
#2 0x000000000079768a in camlTutils__fun_1439 () at tools/tutils.ml:300
#3 0x0000000000797a9c in camlTutils__mutexify_1081 () at tools/tutils.ml:80
#4 0x00000000007e4e69 in camlDtools__thread_1318 () at dtools.ml:555
#5 0x0000000000847a99 in camlThread__fun_1081 () at thread.ml:37
#6 0x00000000008d0642 in caml_start_program ()
#7 0x000000000f29b320 in ?? ()
#8 0x0000000000000000 in ?? ()
Thread 4 (Thread 23247):
#0 0x00000038048ce122 in select () from /lib64/libc.so.6
#1 0x00000000008bbf28 in unix_select ()
#2 0x00000000007df9a0 in camlDuppy__fun_1480 () at duppy.ml:59
#3 0x0000000000847a99 in camlThread__fun_1081 () at thread.ml:37
#4 0x00000000008d0642 in caml_start_program ()
#5 0x00000000188c9dd0 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 3 (Thread 31042):
#0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x00000000008b89cf in st_masterlock_acquire ()
#2 0x00000000008b94fa in caml_thread_leave_blocking_section ()
#3 0x00000000008bf810 in caml_leave_blocking_section ()
#4 0x00000000008b9823 in unix_accept ()
#5 0x000000000077da85 in camlServer__incoming_1227 () at tools/
server.ml:317
#6 0x00000000007dfa1d in camlDuppy__fun_1480 () at duppy.ml:69
#7 0x0000000000847a99 in camlThread__fun_1081 () at thread.ml:37
#8 0x00000000008d0642 in caml_start_program ()
#9 0x000000000f301060 in ?? ()
#10 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 14731):
#0 0x0000003805c0b019 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x00000000008b89cf in st_masterlock_acquire ()
#2 0x00000000008b94fa in caml_thread_leave_blocking_section ()
#3 0x00000000008bf810 in caml_leave_blocking_section ()
#4 0x00000000008b9323 in caml_thread_start ()
#5 0x0000003805c0683d in start_thread () from /lib64/libpthread.so.0
#6 0x00000038048d4f8d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x2aae4422a940 (LWP 14552)):
#0 0x00000000008d05db in caml_c_call ()
#1 0x0000000000000000 in ?? ()
Any help would be appreciated.
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