Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "ying lcs" <yinglcs@gmail.com>
To: gdb@sourceware.org
Subject: Need help in understanding GDB stack trace
Date: Tue, 09 Dec 2008 21:49:00 -0000	[thread overview]
Message-ID: <568e62a40812091348w720d2240j6ac4e46747c13e46@mail.gmail.com> (raw)

All,

I need help in understadning Gdb stack trace:

[Switching to Thread 0xb73b4700 (LWP 28041)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb5bfc9a6 in DefaultSerializeElementRule::serializeStart (this=0xa450e40,
    domElement=0xa03e104, fd=0xa450ab0)
    at /media/storage/working/content/serializer/src/DefaultSerializeElementRule.cpp:55

And here is my method:

void DefaultSerializeElementRule::serializeStart(nsIDOMElement*
domElement, FILE* fd) {

  nsAutoString tagName;

  domElement->GetTagName(tagName);

  fprintf(fd, "<%s", NS_ConvertUTF16toUTF8(tagName).get());
  // this is line 55:
  serializeAttribute(domElement, fd);

}


I don't understand what is the meaning of :
0x00000000 in ?? ()

from the stack trace, both my domElement, fd are not null. So why my
program crashes?

Thank you.


             reply	other threads:[~2008-12-09 21:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09 21:49 ying lcs [this message]
2008-12-10 23:28 ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=568e62a40812091348w720d2240j6ac4e46747c13e46@mail.gmail.com \
    --to=yinglcs@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox