[ https://issues.apache.org/jira/browse/HARMONY-5101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542464
]
Gregory Shimansky commented on HARMONY-5101:
--------------------------------------------
Even on Linux it is defined differently for different system headers because gettid is not
standard. I made a workaround at 594886.
> [drlvm][crash_handler] GDB is started with LWP which belongs to main thread instead of
one of crashed thread.
> -------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5101
> URL: https://issues.apache.org/jira/browse/HARMONY-5101
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Linux
> Reporter: Pavel Pervov
> Assignee: Gregory Shimansky
> Attachments: crash_handler.patch
>
>
> DRLVM determines LWP of main thread at startup and then passes this LWP to GDB when crash
happen.
> It should determine LWP of crashed thread instead and exec GDB with correct LWP.
> This simplifies debugging on Linux alot.
> I'll attach the patch with the fix shortly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|