Re: Random *** stack smashing detected *** message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 05, 2018 at 05:23:45PM +0200, Mark Wielaard wrote:
> On Wed, 2018-09-05 at 13:59 +0100, Richard W.M. Jones wrote:
> > On Wed, Sep 05, 2018 at 02:27:44PM +0200, Florian Weimer wrote:
> > > But which one?  For 2.28-9.fc29 or 2.27.9000-35.fc29?  If GDB can't
> > > find the build ID, I'd suggest try the other version as well.
> > 
> > Oh I see, good point.  I only had debuginfo installed for the
> > new version.
> > 
> > I've now installed every debuginfo related to the coredump,
> > and the old glibc debuginfo, but still:
> > 
> > Thread 1 (Thread 0x7f13c7b7d740 (LWP 31373)):
> > #0  0x00007f13c71ce46f in ?? ()
> > #1  0x0000000000000000 in ?? ()
> > 
> > So, I don't know ...
> 
> You could try eu-stack, with -l it should print out a memory map which
> might give you a hint about the modules/build-ids.
> $ eu-stack -v -l -b -m --core core.file

It gives an odd error (see attached).  Is that a bug in eu-stack?

However if I'm understanding the output correctly then it does
indicate that the addresses are located in the pre-upgraded glibc.

> Or try eu-unstrip -n --core core.file

Also attached.

Note that I have these debuginfo packages installed:

$ rpm -qa | grep glibc.*debug
glibc-debuginfo-2.27.9000-35.fc29.x86_64
glibc-debuginfo-common-2.27.9000-35.fc29.x86_64

However there is no debugsource for glibc.  Is that right?

Rich.

> Which should do the same and list what it knows about the
> files/modules/build-ids in the core file.
> 
> Cheers,
> 
> Mark

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
PID 31373 - core module memory map
0x00005600d2445000-0x00005600d2762000 bash
  [c062328c3bffc26e3bf771ca755f3f7be9cbd1ef]
  -
  /usr/lib/debug/usr/bin/bash-4.4.23-2.fc29.x86_64.debug
0x00007f13b99f8000-0x00007f13b9c10000 libgcc_s-8-20180626.so.1
  [9c93906baa7ef8956717ac6f154a9eb5343266ba]
0x00007f13ba4cd000-0x00007f13ba6df000 libnss_files-2.27.9000.so (deleted)
  [b5cd6746d5fe86fdc41428903aba10ed591a6c5f]
0x00007f13c7197000-0x00007f13c7559000 libc-2.27.9000.so (deleted)
  [0aea4b30d53d7cc6386f1773a8dc8972793def1a]
0x00007f13c7559000-0x00007f13c775d000 libdl-2.27.9000.so (deleted)
  [d70abe37cab2d70829500d8d978dde5e2d0f61a0]
0x00007f13c798a000-0x00007f13c7bb4000 ld-linux-x86-64.so.2
  [a45582478b0565e0000e95f5c30b9aa1ca756377]
0x00007ffe30963000-0x00007ffe30964000 linux-vdso.so.1
  [bb9230e93a76a60897d80f0e426d3ef6ec4a5e8c]
  -
0x00007f13b90f7000-0x00007f13b9376228 libpcre2-8.so.0
  [547f82f93ed78712131e4aa327c7bfa3489a6aee]
  /lib64/libpcre2-8.so.0
  /usr/lib/debug/usr/lib64/libpcre2-8.so.0.7.0-10.31-7.fc29.x86_64.debug
0x00007f13b9377000-0x00007f13b959f5f0 libselinux.so.1
  [b3f9d896f17b1d069676f334e103e42a3ce55435]
  /lib64/libselinux.so.1
  /usr/lib/debug/usr/lib64/libselinux.so.1-2.8-2.fc29.x86_64.debug
0x00007f13b95a0000-0x00007f13b97a6010 libuuid.so.1
  [17fc933808ffd57410b880604f793be8c8b3f5ed]
  /lib64/libuuid.so.1
  /usr/lib/debug/usr/lib64/libuuid.so.1.3.0-2.32-6.fc29.x86_64.debug
0x00007f13b97a7000-0x00007f13b99f7700 libblkid.so.1
  [203b20f30ece28c8a94a53ab0958450a1fee3f05]
  /lib64/libblkid.so.1
  /usr/lib/debug/usr/lib64/libblkid.so.1.1.0-2.32-6.fc29.x86_64.debug
0x00007f13b9c10000-0x00007f13b9e69520 libmount.so.1
  [8cd20ddf0160249eb679193616c77dd02a430b45]
  /lib64/libmount.so.1
  /usr/lib/debug/usr/lib64/libmount.so.1.1.0-2.32-6.fc29.x86_64.debug
0x00007f13b9e6a000-0x00007f13ba06e138 libcap.so.2
  [b3438067c70d4daddfdd74e47dee5014744c6dc9]
  /lib64/libcap.so.2
  /usr/lib/debug/usr/lib64/libcap.so.2.25-2.25-11.fc29.x86_64.debug
0x00007f13ba06f000-0x00007f13ba2c30d8 libnss_systemd.so.2
  [d936045b5a287e8be94109974725bdfe17367960]
  /lib64/libnss_systemd.so.2
  /usr/lib/debug/usr/lib64/libnss_systemd.so.2-239-2.fc29.x86_64.debug
0x00007f13ba2c4000-0x00007f13ba4cc310 libnss_sss.so.2
  [307f04eaa3c880bff241bcd9795f2271c5ae452d]
  /lib64/libnss_sss.so.2
  /usr/lib/debug/usr/lib64/libnss_sss.so.2-1.16.2-5.fc29.x86_64.debug
0x00007f13c775d000-0x00007f13c7989980 libtinfo.so.6
  [d407283b9f5f4ba9c3f455bb7749783f05c5d473]
  /lib64/libtinfo.so.6
  /usr/lib/debug/usr/lib64/libtinfo.so.6.1-6.1-5.20180224.fc29.x86_64.debug
PID 31373 - core
TID 31373:
#0  0x00007f13c71ce46f     - /usr/lib64/libc-2.27.9000.so (deleted)
    [0aea4b30d53d7cc6386f1773a8dc8972793def1a]@0x7f13c7197000+0x3746f
#1  0x00007f13c72a4435 - 1 - /usr/lib64/libc-2.27.9000.so (deleted)
    [0aea4b30d53d7cc6386f1773a8dc8972793def1a]@0x7f13c7197000+0x10d434
eu-stack: dwfl_thread_getframes tid 31373 at 0x7f13c72a4434 in /usr/lib64/libc-2.27.9000.so (deleted): invalid operation
0x5600d2445000+0x31d000 c062328c3bffc26e3bf771ca755f3f7be9cbd1ef@0x5600d24452b4 . /usr/lib/debug/usr/bin/bash-4.4.23-2.fc29.x86_64.debug /usr/bin/bash
0x7f13b99f8000+0x218000 9c93906baa7ef8956717ac6f154a9eb5343266ba@0x7f13b99f81d8 - - /usr/lib64/libgcc_s-8-20180626.so.1
0x7f13ba4cd000+0x212000 b5cd6746d5fe86fdc41428903aba10ed591a6c5f@0x7f13ba4cd210 - - /usr/lib64/libnss_files-2.27.9000.so (deleted)
0x7f13c7197000+0x3c2000 0aea4b30d53d7cc6386f1773a8dc8972793def1a@0x7f13c71972b8 - - /usr/lib64/libc-2.27.9000.so (deleted)
0x7f13c7559000+0x204000 d70abe37cab2d70829500d8d978dde5e2d0f61a0@0x7f13c7559210 - - /usr/lib64/libdl-2.27.9000.so (deleted)
0x7f13c798a000+0x22a000 a45582478b0565e0000e95f5c30b9aa1ca756377@0x7f13c798a210 - - ld-linux-x86-64.so.2
0x7ffe30963000+0x1000 bb9230e93a76a60897d80f0e426d3ef6ec4a5e8c@0x7ffe309637c0 . - linux-vdso.so.1
0x7f13b90f7000+0x27f228 547f82f93ed78712131e4aa327c7bfa3489a6aee@0x7f13b90f7210 /lib64/libpcre2-8.so.0 /usr/lib/debug/usr/lib64/libpcre2-8.so.0.7.0-10.31-7.fc29.x86_64.debug libpcre2-8.so.0
0x7f13b9377000+0x2285f0 b3f9d896f17b1d069676f334e103e42a3ce55435@0x7f13b9377248 /lib64/libselinux.so.1 /usr/lib/debug/usr/lib64/libselinux.so.1-2.8-2.fc29.x86_64.debug libselinux.so.1
0x7f13b95a0000+0x206010 17fc933808ffd57410b880604f793be8c8b3f5ed@0x7f13b95a0248 /lib64/libuuid.so.1 /usr/lib/debug/usr/lib64/libuuid.so.1.3.0-2.32-6.fc29.x86_64.debug libuuid.so.1
0x7f13b97a7000+0x250700 203b20f30ece28c8a94a53ab0958450a1fee3f05@0x7f13b97a7248 /lib64/libblkid.so.1 /usr/lib/debug/usr/lib64/libblkid.so.1.1.0-2.32-6.fc29.x86_64.debug libblkid.so.1
0x7f13b9c10000+0x259520 8cd20ddf0160249eb679193616c77dd02a430b45@0x7f13b9c10248 /lib64/libmount.so.1 /usr/lib/debug/usr/lib64/libmount.so.1.1.0-2.32-6.fc29.x86_64.debug libmount.so.1
0x7f13b9e6a000+0x204138 b3438067c70d4daddfdd74e47dee5014744c6dc9@0x7f13b9e6a210 /lib64/libcap.so.2 /usr/lib/debug/usr/lib64/libcap.so.2.25-2.25-11.fc29.x86_64.debug libcap.so.2
0x7f13ba06f000+0x2540d8 d936045b5a287e8be94109974725bdfe17367960@0x7f13ba06f248 /lib64/libnss_systemd.so.2 /usr/lib/debug/usr/lib64/libnss_systemd.so.2-239-2.fc29.x86_64.debug libnss_systemd.so.2
0x7f13ba2c4000+0x208310 307f04eaa3c880bff241bcd9795f2271c5ae452d@0x7f13ba2c4210 /lib64/libnss_sss.so.2 /usr/lib/debug/usr/lib64/libnss_sss.so.2-1.16.2-5.fc29.x86_64.debug libnss_sss.so.2
0x7f13c775d000+0x22c980 d407283b9f5f4ba9c3f455bb7749783f05c5d473@0x7f13c775d210 /lib64/libtinfo.so.6 /usr/lib/debug/usr/lib64/libtinfo.so.6.1-6.1-5.20180224.fc29.x86_64.debug libtinfo.so.6
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux