public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* The question about _dl_catch_exception
@ 2023-04-20  5:21 Matthew Chae
  2023-04-20 10:07 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Chae @ 2023-04-20  5:21 UTC (permalink / raw)
  To: libc-help

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

Hi folks,


I'd like to get some help.

I have to solve some issue which is generating signal 11(SIGSEGV, segmentation fault) in the "_dl_catch_exception" in glibc v2.30.

  1.  I noticed that the below has been added since v2.31.

        I'm looking into whether this is helpful to solve my issue.

        Is it possible that the exception variable becomes NULL?

        I don't fully understand which real case is beneficial by the below commit.

        https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2a764c6ee848dfe92cb2921ed3b14085f15d9e79


    2. Can I get some ideas on which case segmentation fault can be generated in the "_dl_catch_exception"?


Thanks,

Matthew



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: The question about _dl_catch_exception
  2023-04-20  5:21 The question about _dl_catch_exception Matthew Chae
@ 2023-04-20 10:07 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2023-04-20 10:07 UTC (permalink / raw)
  To: Matthew Chae via Libc-help; +Cc: Matthew Chae

* Matthew Chae via Libc-help:

> I have to solve some issue which is generating signal 11(SIGSEGV,
> segmentation fault) in the "_dl_catch_exception" in glibc v2.30.
>
>   1.  I noticed that the below has been added since v2.31.
>
>         I'm looking into whether this is helpful to solve my issue.
>
>         Is it possible that the exception variable becomes NULL?

Not really in glibc 2.30, I think.

>     2. Can I get some ideas on which case segmentation fault can be generated in the "_dl_catch_exception"?

There have been quite a few issues, particularly around dlmopen/audit,
but they impact ld.so exception handling in general, not specifically
_dl_catch_exception.  It's hard to tell what could be the cause in your
case without more details.

Thanks,
Florian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-20 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20  5:21 The question about _dl_catch_exception Matthew Chae
2023-04-20 10:07 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).