Hello,
I have a script which is quite complex unfortunately. It has a harbor
input and an output to icecast. I also have an exec_at function which
starts output.file twice for an mp3 and a flac file whenever a predicate
is true. Whenever those outputs are started, i get a segfault on the
current git branch. Here's the debug info generated using gdb
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff173a700 (LWP 14410)]
0x00007ffff4bbcfd1 in _int_malloc () from /usr/lib/libc.so.6
(gdb) thread apply all bt
Thread 31 (Thread 0x7fffef003700 (LWP 14433)):
#0 0x00007ffff4c21fd3 in select () from /usr/lib/libc.so.6
#1 0x000000000081511a in unix_select ()
#2 0x0000000000728240 in camlDuppy__fun_1480 () at duppy.ml:59
#3 0x00000000007adbd9 in camlThread__fun_1081 ()
#4 0x0000000000828d06 in caml_start_program ()
#5 0x00007fffe000ab20 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 30 (Thread 0x7fffee001700 (LWP 14432)):
#0 0x00007ffff4c21fd3 in select () from /usr/lib/libc.so.6
#1 0x000000000081511a in unix_select ()
#2 0x0000000000728240 in camlDuppy__fun_1480 () at duppy.ml:59
#3 0x00000000007adbd9 in camlThread__fun_1081 ()
#4 0x0000000000828d06 in caml_start_program ()
#5 0x00007fffe00008c0 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 26 (Thread 0x7fffee802700 (LWP 14428)):
#0 0x00007ffff4c21fd3 in select () from /usr/lib/libc.so.6
#1 0x000000000081511a in unix_select ()
#2 0x0000000000728240 in camlDuppy__fun_1480 () at duppy.ml:59
#3 0x00000000007adbd9 in camlThread__fun_1081 ()
#4 0x0000000000828d06 in caml_start_program ()
#5 0x00007fffe000acf0 in ?? ()
#6 0x0000000000000000 in ?? ()
Thread 24 (Thread 0x7ffff3037700 (LWP 14426)):
#0 0x00007ffff4c21fd3 in select () from /usr/lib/libc.so.6
#1 0x000000000081511a in unix_select ()
#2 0x00000000006e535b in camlTutils__wait_1256 () at tools/tutils.ml:334
#3 0x00000000006708a6 in camlHarbor_input__f_1239 ()
at sources/harbor_input.ml:122
#4 0x0000000000670c1d in camlHarbor_input__read_1232 ()
at sources/harbor_input.ml:128
#5 0x0000000000828d06 in caml_start_program ()
#6 0x00000000007ff285 in mf_fill_buffer ()
#7 0x00000000007ffc68 in ocaml_mad_decode_frame_float ()
#8 0x00000000005ed38b in camlMad_decoder__get_data_1127 ()
at decoder/mad_decoder.ml:56
#9 0x00000000005ed1ce in camlMad_decoder__fun_1350 ()
at decoder/mad_decoder.ml:122
#10 0x0000000000671abd in camlHarbor_input__fun_1645 ()
at sources/harbor_input.ml:164
#11 0x00000000006e48ca in camlTutils__fun_1350 () at tools/tutils.ml:136
#12 0x00000000007adbd9 in camlThread__fun_1081 ()
#13 0x0000000000828d06 in caml_start_program ()
#14 0x00007fffd8004ac0 in ?? ()
#15 0x0000000000000000 in ?? ()
Thread 11 (Thread 0x7ffff173a700 (LWP 14410)):
#0 0x00007ffff4bbcfd1 in _int_malloc () from /usr/lib/libc.so.6
#1 0x00007ffff4bbf030 in malloc () from /usr/lib/libc.so.6
#2 0x00000000007fc080 in ocaml_lame_encode_buffer_float ()
#3 0x00000000006f7a02 in camlLame__fun_1175 ()
#4 0x0000000000664e9d in camlOutput__f_1358 () at outputs/output.ml:256
#5 0x0000000000664f01 in camlOutput__fun_1802 () at outputs/output.ml:264
#6 0x00000000006657eb in camlOutput__fun_1650 () at outputs/output.ml:180
#7 0x00000000006c21a1 in camlClock__fun_1869 () at clock.ml:157
#8 0x00000000007b9fc4 in camlList__fold_left_1073 ()
#9 0x00000000006c2f11 in camlClock__fun_1834 () at clock.ml:155
#10 0x00000000006c293e in camlClock__loop_1351 () at clock.ml:371
#11 0x00000000006c36d2 in camlClock__fun_2095 () at clock.ml:374
#12 0x00000000006e48ca in camlTutils__fun_1350 () at tools/tutils.ml:136
#13 0x00000000007adbd9 in camlThread__fun_1081 ()
#14 0x0000000000828d06 in caml_start_program ()
#15 0x00007fffe801c6d0 in ?? ()
#16 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x7ffff0738700 (LWP 14408)):
#0 0x00007ffff531104f in pthread_cond_wait@@GLIBC_2.3.2 ()
from /usr/lib/libpthread.so.0
#1 0x0000000000812b2a in caml_condition_wait ()
#2 0x00000000006e52fa in camlTutils__fun_1444 () at tools/tutils.ml:310
#3 0x00000000006e570c in camlTutils__mutexify_1081 () at tools/tutils.ml:80
#4 0x000000000072d709 in camlDtools__thread_1318 () at dtools.ml:555
#5 0x00000000007adbd9 in camlThread__fun_1081 ()
#6 0x0000000000828d06 in caml_start_program ()
#7 0x0000000000cebae0 in ?? ()
#8 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7ffff3838700 (LWP 14402)):
#0 0x00007ffff4c21fd3 in select () from /usr/lib/libc.so.6
#1 0x000000000081213f in caml_thread_tick ()
#2 0x00007ffff530d0a2 in start_thread () from /usr/lib/libpthread.so.0
#3 0x00007ffff4c28d1d in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7ffff7fe7740 (LWP 14397)):
#0 0x00007ffff53145c9 in do_sigwait () from /usr/lib/libpthread.so.0
#1 0x00007ffff5314653 in sigwait () from /usr/lib/libpthread.so.0
#2 0x0000000000812351 in caml_wait_signal ()
#3 0x0000000000730093 in camlDtools__wait_signal_1309 () at dtools.ml:527
#4 0x00000000007301da in camlDtools__main_1313 () at dtools.ml:566
#5 0x0000000000730374 in camlDtools__catch_1324 () at dtools.ml:573
#6 0x00000000005d8c15 in camlMain__Make_1290 () at main.ml:637
#7 0x00000000005d5875 in camlRunner__entry ()
#8 0x00000000005ce549 in caml_program ()
#9 0x0000000000828d06 in caml_start_program ()
#10 0x0000000000000000 in ?? ()
The logs seem to be perfectly normal. Hopefully this is enough
information, if not, let me know.
Regards,
Leonard
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users