Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.os2.programmer.misc > #1602
| From | Lars Erdmann <lars.erdmann@arcor.de> |
|---|---|
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? |
| Date | 2017-12-27 13:53 +0100 |
| Organization | solani.org |
| Message-ID | <p20549$i7d$1@solani.org> (permalink) |
| References | <p1vsob$l1p$1@dont-email.me> |
I would not worry about it too much. ICAT is not a very stable tool which also might be due to uncoordinated changes in the debug kernel. Unfortunately, "XCPT_BAD_ACCESS" is not listed as exception in the Control Programming guide, therefore it is not exactly clear what it means. It's possible that code or data needs to be paged in. In that case, you could also try the ".i" KDB instruction in the passthru window. Look at the mixed source/assembly output and pass a linear address to ".i" somewhere into the code you intend to run. ".i" will always load full 4k pages aligned to 4k addresses. Lars On 27.12.17 11.30, Andi B. wrote: > I'm looking for a problem in xwlan widget init code and while remotely > debugging with ICAT I came across XCPT_BAD_ACCESS. This is with a strcpy > operation which I do not see any coding error. strcpy works as expected, > pointers seem to be valid and code works as (I) expect. Anyway ICAT pops > up this exception. ICAT let me run the exception handler and all is > fine. strcpy operation fills the memory as expected. > > Now I ask myself if this is really a problem with the code or this is > the way it works (and should work, uncommited memory?). I slowly get the > feeling I'm chasing the wrong track. > > Call stack shows _validate_ptr, _get_stack_trace in module memport, > _add_item 1a3, _int_uheap_verify in module rdbg and _chk_if_heap in > module dbgstr. Picture attached but in case attaching attaching does not > work... > > Can someone confirm this is well expected and nothing I should take care > any further? Otherwise if this is a real problem in the code I'll show > the details of course. > > Regards, Andreas > >
Back to comp.os.os2.programmer.misc | Previous | Next — Previous in thread | Next in thread | Find similar
ICAT 'XCPT_BAD_ACCESS' - what does it mean? "Andi B." <andi.b@gmx.net> - 2017-12-27 11:30 +0100
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? Lars Erdmann <lars.erdmann@arcor.de> - 2017-12-27 13:53 +0100
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? Lars Erdmann <lars.erdmann@arcor.de> - 2017-12-27 13:55 +0100
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? "Steven Levine" <steve53@nomail.earthlink.net> - 2017-12-27 14:23 -0600
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? "Andi B." <andi.b@gmx.net> - 2017-12-29 10:46 +0100
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? "Steven Levine" <steve53@nomail.earthlink.net> - 2017-12-30 12:05 -0600
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? "Andi B." <andi.b@gmx.net> - 2017-12-31 12:02 +0100
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? Lars Erdmann <lars.erdmann@arcor.de> - 2017-12-31 21:30 +0100
Re: ICAT 'XCPT_BAD_ACCESS' - what does it mean? Paul Ratcliffe <abuse@orac12.clara34.co56.uk78> - 2018-01-03 19:26 +0000
csiph-web