<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm having a strange problem after upgrading to f32 from f31.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I needed to rebuild snd because of a lib<span>gsl issue.<br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>./snd: error while loading shared libraries: libgsl.so.23: cannot open shared object file: No such file or directory<br>
</span><span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Trying to rebuild with fresh srcs.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
./configure --with-s7 --with-gsl --with-alsa --without-gui <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It builds, but when I try to run >./snd, I get a segfault.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>[jhearon@dhcp-168-105-83-235 snd-20-command]$ ./snd<br>
</span>
<div>writing libc_s7.c<br>
</div>
<div>loading libc_s7.so<br>
</div>
<div>Segmentation fault (core dumped)</div>
<div><br>
</div>
<div>I'm not exactly sure what's going on.</div>
<div><br>
</div>
<div>I'm including a valgrind output, if that helps.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Jim<br>
</div>
<div><br>
</div>
<div><span>[jhearon@dhcp-168-105-83-235 snd-20-command]$ valgrind ./snd<br>
</span>
<div>==11749== Memcheck, a memory error detector<br>
</div>
<div>==11749== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.<br>
</div>
<div>==11749== Using Valgrind-3.16.0 and LibVEX; rerun with -h for copyright info<br>
</div>
<div>==11749== Command: ./snd<br>
</div>
<div>==11749== <br>
</div>
<div>loading libc_s7.so<br>
</div>
<div>==11749== Invalid write of size 4<br>
</div>
<div>==11749== at 0x46D1A7: add_opt_func (s7.c:60763)<br>
</div>
<div>==11749== by 0x46D1A7: s7_set_i_ii_function (s7.c:60840)<br>
</div>
<div>==11749== by 0x6555990: libc_s7_init (in /home/jhearon/libc_s7.so)<br>
</div>
<div>==11749== by 0x4E2D61: load_shared_object (s7.c:30010)<br>
</div>
<div>==11749== by 0x4E2D61: load_shared_object (s7.c:29952)<br>
</div>
<div>==11749== by 0x4E319B: g_load (s7.c:30184)<br>
</div>
<div>==11749== by 0x47049E: op_c_ss (s7.c:91384)<br>
</div>
<div>==11749== by 0x47049E: eval.isra.0 (s7.c:93493)<br>
</div>
<div>==11749== by 0x4E385E: s7_load_with_environment (s7.c:30130)<br>
</div>
<div>==11749== by 0x4E3B2A: g_require (s7.c:30472)<br>
</div>
<div>==11749== by 0x487596: apply_c_macro (s7.c:86109)<br>
</div>
<div>==11749== by 0x46E172: eval.isra.0 (s7.c:94049)<br>
</div>
<div>==11749== by 0x4E385E: s7_load_with_environment (s7.c:30130)<br>
</div>
<div>==11749== by 0x6864A8: snd_doit (snd-nogui.c:724)<br>
</div>
<div>==11749== by 0x422699: main (snd.c:629)<br>
</div>
<div>==11749== Address 0x180001c9 is not stack'd, malloc'd or (recently) free'd<br>
</div>
<div>==11749== <br>
</div>
<div>==11749== <br>
</div>
<div>==11749== Process terminating with default action of signal 11 (SIGSEGV): dumping core<br>
</div>
<div>==11749== Access not within mapped region at address 0x180001C9<br>
</div>
<div>==11749== at 0x46D1A7: add_opt_func (s7.c:60763)<br>
</div>
<div>==11749== by 0x46D1A7: s7_set_i_ii_function (s7.c:60840)<br>
</div>
<div>==11749== by 0x6555990: libc_s7_init (in /home/jhearon/libc_s7.so)<br>
</div>
<div>==11749== by 0x4E2D61: load_shared_object (s7.c:30010)<br>
</div>
<div>==11749== by 0x4E2D61: load_shared_object (s7.c:29952)<br>
</div>
<div>==11749== by 0x4E319B: g_load (s7.c:30184)<br>
</div>
<div>==11749== by 0x47049E: op_c_ss (s7.c:91384)<br>
</div>
<div>==11749== by 0x47049E: eval.isra.0 (s7.c:93493)<br>
</div>
<div>==11749== by 0x4E385E: s7_load_with_environment (s7.c:30130)<br>
</div>
<div>==11749== by 0x4E3B2A: g_require (s7.c:30472)<br>
</div>
<div>==11749== by 0x487596: apply_c_macro (s7.c:86109)<br>
</div>
<div>==11749== by 0x46E172: eval.isra.0 (s7.c:94049)<br>
</div>
<div>==11749== by 0x4E385E: s7_load_with_environment (s7.c:30130)<br>
</div>
<div>==11749== by 0x6864A8: snd_doit (snd-nogui.c:724)<br>
</div>
<div>==11749== by 0x422699: main (snd.c:629)<br>
</div>
<div>==11749== If you believe this happened as a result of a stack<br>
</div>
<div>==11749== overflow in your program's main thread (unlikely but<br>
</div>
<div>==11749== possible), you can try to increase the size of the<br>
</div>
<div>==11749== main thread stack using the --main-stacksize= flag.<br>
</div>
<div>==11749== The main thread stack size used in this run was 8388608.<br>
</div>
<div>==11749== <br>
</div>
<div>==11749== HEAP SUMMARY:<br>
</div>
<div>==11749== in use at exit: 11,644,308 bytes in 2,671 blocks<br>
</div>
<div>==11749== total heap usage: 3,392 allocs, 721 frees, 11,951,327 bytes allocated<br>
</div>
<div>==11749== <br>
</div>
<div>==11749== LEAK SUMMARY:<br>
</div>
<div>==11749== definitely lost: 0 bytes in 0 blocks<br>
</div>
<div>==11749== indirectly lost: 0 bytes in 0 blocks<br>
</div>
<div>==11749== possibly lost: 933,221 bytes in 1,939 blocks<br>
</div>
<div>==11749== still reachable: 10,711,087 bytes in 732 blocks<br>
</div>
<div>==11749== suppressed: 0 bytes in 0 blocks<br>
</div>
<div>==11749== Rerun with --leak-check=full to see details of leaked memory<br>
</div>
<div>==11749== <br>
</div>
<div>==11749== For lists of detected and suppressed errors, rerun with: -s<br>
</div>
<div>==11749== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)<br>
</div>
<div>Segmentation fault (core dumped)<br>
</div>
<span></span><br>
</div>
<div><br>
</div>
<span></span><br>
</div>
</body>
</html>