public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug varobj/14734] New: Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV
@ 2012-10-17 14:25 nikolay.koldunov at oracle dot com
2012-10-17 14:28 ` [Bug varobj/14734] " nikolay.koldunov at oracle dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2012-10-17 14:25 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14734
Bug #: 14734
Summary: Response for "-var-update --all-values *" contains
incorrect changelist in case the evaluation causes
SIGSEGV
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: varobj
AssignedTo: unassigned@sourceware.org
ReportedBy: nikolay.koldunov@oracle.com
Classification: Unclassified
Steps to reproduce:
- create and compile a C++ sample
- execute GDB with "--interpreter mi" parameter
- start debugging session
- create a variable object which causes segmentation fault
- make GDB update all variable objects (-var-update --all-values *)
Actual result:
- GDB generates incorrect response containing information about the
segmentation fault error (for example,
'23^done,changelist=[reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
fault",frame={addr="0x00007ffff74982e1",func="__strlen_sse2_pminub",args=[],file="../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S",line="39"},reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
fault",frame={addr="0x00007ffff74982e1",func="__strlen_sse2_pminub",args=[],file="../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S",line="39"}]')
Expected result:
- GDB shows valid changelist and generates a segmentation fault error
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug varobj/14734] Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV
2012-10-17 14:25 [Bug varobj/14734] New: Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV nikolay.koldunov at oracle dot com
@ 2012-10-17 14:28 ` nikolay.koldunov at oracle dot com
2014-01-16 8:55 ` nikolay.koldunov at oracle dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2012-10-17 14:28 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14734
nikolay.koldunov at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nikolay.koldunov at oracle
| |dot com
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug varobj/14734] Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV
2012-10-17 14:25 [Bug varobj/14734] New: Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV nikolay.koldunov at oracle dot com
2012-10-17 14:28 ` [Bug varobj/14734] " nikolay.koldunov at oracle dot com
@ 2014-01-16 8:55 ` nikolay.koldunov at oracle dot com
2014-01-16 11:35 ` nikolay.koldunov at oracle dot com
2023-08-31 19:57 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2014-01-16 8:55 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14734
--- Comment #1 from nikolay.koldunov at oracle dot com ---
There is another example of confusing output:
*stopped,changelist=[{name="var151",value="0",in_scope="true",type_changed="false",has_more="0"},reason="signal-received",signal-name="SIGTRAP",signal-meaning="Trace/breakpoint
trap",frame={addr="0x774e40f1",func="ntdll!DbgUserBreakPoint",args=[],from="/cygdrive/c/Windows/system32/ntdll.dll"},thread-id="3",stopped-threads="all"
May be this issue is not connected to variable objects.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug varobj/14734] Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV
2012-10-17 14:25 [Bug varobj/14734] New: Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV nikolay.koldunov at oracle dot com
2012-10-17 14:28 ` [Bug varobj/14734] " nikolay.koldunov at oracle dot com
2014-01-16 8:55 ` nikolay.koldunov at oracle dot com
@ 2014-01-16 11:35 ` nikolay.koldunov at oracle dot com
2023-08-31 19:57 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: nikolay.koldunov at oracle dot com @ 2014-01-16 11:35 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14734
--- Comment #2 from nikolay.koldunov at oracle dot com ---
*stopped,changelist=[reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",frame={addr="0x00007ffff6cfb05e",func="pthread_cond_timedwait@@GLIBC_2.3.2",args=[],file="../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S",fullname="/build/buildd/eglibc-2.17/nptl/../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S",line="238"},thread-id="11",stopped-threads="all",core="6"
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug varobj/14734] Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV
2012-10-17 14:25 [Bug varobj/14734] New: Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV nikolay.koldunov at oracle dot com
` (2 preceding siblings ...)
2014-01-16 11:35 ` nikolay.koldunov at oracle dot com
@ 2023-08-31 19:57 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-08-31 19:57 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=14734
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to nikolay.koldunov from comment #0)
> - create a variable object which causes segmentation fault
I guess this can be done but it seems pretty bad.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-31 19:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-17 14:25 [Bug varobj/14734] New: Response for "-var-update --all-values *" contains incorrect changelist in case the evaluation causes SIGSEGV nikolay.koldunov at oracle dot com
2012-10-17 14:28 ` [Bug varobj/14734] " nikolay.koldunov at oracle dot com
2014-01-16 8:55 ` nikolay.koldunov at oracle dot com
2014-01-16 11:35 ` nikolay.koldunov at oracle dot com
2023-08-31 19:57 ` tromey at sourceware dot org
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).