<div dir="ltr">Hi Team,<div><br></div><div>Forgot to mention version details</div><div><br></div><div>jemalloc.x86_64 : 3.6.0-3.el7 <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 2:49 PM, Ramesh Sivaraman <span dir="ltr"><<a href="mailto:ramesh.sivaraman@percona.com" target="_blank">ramesh.sivaraman@percona.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Team,</div><div><br></div><div>Jemalloc library is hitting Segmentation fault on CentOS-7</div><div><br></div><div>With debug library Segmentation fault issue triggering with simple `ls` command.</div><div><br></div><div>$ export LD_PRELOAD=/usr/lib/debug/usr/<wbr>lib64/libjemalloc.so.1.debug</div><div>$ ls</div><div>Segmentation fault (core dumped)</div><div>$</div><div><br></div><div>Also seeing a segmentation fault issue (same issue?) with non-debug jemalloc</div><div><br></div><div>$ export LD_PRELOAD=/usr/lib64/<wbr>libjemalloc.so.1 </div><div>$ ./bin/mysqld --version</div><div>Segmentation fault (core dumped)</div><div>$ gdb ./bin/mysqld core.11345.mysqld.11 </div><div>[..]</div><div>(gdb) bt</div><div>+bt</div><div>#0 0x00007f1c21fa5964 in get_nprocs () from /lib64/libc.so.6</div><div>#1 0x00007f1c21f70b0c in sysconf () from /lib64/libc.so.6</div><div>#2 0x00007f1c26efebd0 in malloc_ncpus () at src/jemalloc.c:256</div><div>#3 malloc_init_hard () at src/jemalloc.c:776</div><div>#4 0x00007f1c26f01705 in malloc_init () at src/jemalloc.c:292</div><div>#5 calloc (num=1, size=32) at src/jemalloc.c:1123</div><div>#6 0x00007f1c22eb1690 in _dlerror_run () from /lib64/libdl.so.2</div><div>#7 0x00007f1c22eb1198 in dlsym () from /lib64/libdl.so.2</div><div>#8 0x00007f1c23f88fec in ?? () from /lib64/libasan.so.0</div><div>#9 0x00007f1c23f7b2c9 in ?? () from /lib64/libasan.so.0</div><div>#10 0x00007f1c23f7d91b in __asan_init_v1 () from /lib64/libasan.so.0</div><div>#11 0x00007f1c271426c3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2</div><div>#12 0x00007f1c2713445a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2</div><div>#13 0x0000000000000002 in ?? ()</div><div>#14 0x00007fff9d552740 in ?? ()</div><div>#15 0x00007fff9d55274d in ?? ()</div><div>#16 0x0000000000000000 in ?? ()</div><div>(gdb) </div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best Regards,</div><div><b><br></b></div><b>Ramesh</b></div><div dir="ltr"><div><div><br></div><div><br></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best Regards,</div><div><b><br></b></div><b>Ramesh Sivaraman</b></div><div dir="ltr"><b>QA Engineer, Percona</b><div><a href="http://percona.com/" target="_blank">http://www.percona.com/</a><br><div>Phone : +91 8606432991</div><div>Skype : rameshvs02</div><div><br></div><div><br></div></div></div></div></div></div>
</div>