This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/24117] System crashes when probing a shared library


https://sourceware.org/bugzilla/show_bug.cgi?id=24117

--- Comment #4 from Jerry Lee <leisurelysw24 at gmail dot com> ---
Created attachment 11580
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11580&action=edit
kernel config

(In reply to Serhei Makarov from comment #3)
> I took a look at the stap-report but the section containing kernel config
> did not generate properly. Can you please also send your
> /lib/modules/4.14.24/build/.config?
> 

It's attached.  There are some custom kernel configurations that can be
ignored.  (e.g. CONFIG_QND_*, most of them are some extra drivers which may not
be related to this issue I guess.)

> That's helpful to know, since it means your custom library isn't needed to
> reproduce. Thus far, I have not seen a kernel crash with the example you
> sent. My guess is that the kernel you are using has a different CONFIG from
> mine, or even some custom patches.
> 
> However, I do see a segmentation fault when probing a 32-bit program on my
> 64-bit system (since /lib/libc.so.6 on my system is 32-bit), which is
> definitely a bug (though not the same as the result you're seeing). Is the
> program/library you are probing 32-bit on a 64-bit system as well?

From the result of "file", it seems that the library is 64-bit:

$ file libc.so.6                                                                
libc.so.6: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux),
dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux
2.6.32, stripped

And, the system I use is also 64-bit.  Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]