From: Frederik Thuysbaert <frederik.thuysbaert@gmail.com>
To: Sylvain Munaut <s.munaut@whatever-company.com>
Cc: "James Harper" <james.harper@bendigoit.com.au>,
"Pasi Kärkkäinen" <pasik@iki.fi>,
"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p
Date: Fri, 16 Aug 2013 10:27:02 +0200 [thread overview]
Message-ID: <520DE256.80400@gmail.com> (raw)
In-Reply-To: <CAF6-1L43p76keEosc+RfP0yzGfFFn==b9FTUKwYSU5xski4pTw@mail.gmail.com>
Hi Sylvain,
>> I'm not quite sure what u mean, can u give some more information on how I do
>> this? I compiled tapdisk with ./configure CFLAGS=-g, but I'm not sure this
>> is what u meant.
>
> Yes, ./configure CFLAGS=-g LDFLAGS=-g is a good start.
>
>...
>
> Then once you have a core file, you can use gdb along with the tapdisk
> executable to generate a meaningful backtrace of where the crash
>
I did 2 runs, with a cold reboot in between just to be sure. I don't
think I'm getting a lot of valuable information, but I will post it
anyway. The reason for the cold reboot was a 'Cannot access memory at
address ...' in gdb after the first frame, I thought it could help.
Here's what I got:
try 1:
Core was generated by `tapdisk'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fb42d2082d7 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0 0x00007fb42d2082d7 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
Cannot access memory at address 0x7fb42f081c38
(gdb) frame 0
#0 0x00007fb42d2082d7 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
(gdb) list
77 }
78
79 int
80 main(int argc, char *argv[])
81 {
82 char *control;
83 int c, err, nodaemon;
84 FILE *out;
85
86 control = NULL;
(gdb) info locals
No symbol table info available.
try 2:
Core was generated by `tapdisk'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fe05a721e6b in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007fe05a721e6b in poll () from /lib/x86_64-linux-gnu/libc.so.6
Cannot access memory at address 0x7fe05c2ba518
(gdb) frame 0
#0 0x00007fe05a721e6b in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) list
77 }
78
79 int
80 main(int argc, char *argv[])
81 {
82 char *control;
83 int c, err, nodaemon;
84 FILE *out;
85
86 control = NULL;
(gdb) info locals
No symbol table info available.
Regards,
- Frederik
next prev parent reply other threads:[~2013-08-16 8:27 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 15:05 Xen blktap driver for Ceph RBD : Anybody wants to test ? :p Sylvain Munaut
2013-04-18 19:35 ` Wido den Hollander
2013-04-19 14:37 ` Sylvain Munaut
2013-04-19 14:40 ` Bernard Grymonpon
2013-04-23 10:02 ` Sylvain Munaut
2013-04-23 14:56 ` Bernard Grymonpon
2013-04-23 15:06 ` Sylvain Munaut
2013-04-23 19:13 ` Bernard Grymonpon
2013-04-23 16:38 ` Nick Couchman
2013-04-23 18:51 ` Sylvain Munaut
2013-04-23 20:09 ` Nick Couchman
2013-04-26 13:07 ` Sylvain Munaut
2013-04-26 15:51 ` Sage Weil
2013-04-26 17:10 ` Sylvain Munaut
2013-04-19 6:45 ` Pasi Kärkkäinen
2013-04-19 14:41 ` [Xen-devel] " Sylvain Munaut
2013-11-29 11:05 ` James Harper
2013-11-29 15:11 ` Sylvain Munaut
2013-12-01 4:08 ` James Harper
2013-12-03 15:46 ` Sylvain Munaut
2013-08-01 2:12 ` James Harper
2013-08-05 9:41 ` [Xen-devel] " Sylvain Munaut
2013-08-05 9:45 ` James Harper
2013-08-05 11:01 ` Sylvain Munaut
2013-08-05 11:03 ` James Harper
2013-08-05 11:12 ` Pasi Kärkkäinen
2013-08-05 12:03 ` [Xen-devel] " Sylvain Munaut
2013-08-05 13:35 ` George Dunlap
2013-08-05 13:55 ` Sylvain Munaut
2013-08-05 14:04 ` George Dunlap
2013-08-05 15:18 ` Wei Liu
2013-08-05 15:20 ` George Dunlap
2013-08-05 15:32 ` Wei Liu
2013-08-09 0:12 ` James Harper
2013-08-09 9:21 ` Sylvain Munaut
2013-08-11 0:51 ` James Harper
2013-08-11 1:02 ` James Harper
2013-08-12 14:13 ` Sylvain Munaut
2013-08-12 23:26 ` James Harper
2013-08-13 0:39 ` James Harper
2013-08-13 8:32 ` Sylvain Munaut
2013-08-13 9:12 ` James Harper
2013-08-13 9:20 ` Sylvain Munaut
2013-08-13 14:59 ` Frederik Thuysbaert
[not found] ` <520A4945.1030907@gmail.com>
2013-08-13 15:39 ` Sylvain Munaut
2013-08-13 23:39 ` James Harper
2013-08-13 23:43 ` Sylvain Munaut
2013-08-13 23:51 ` James Harper
2013-08-13 23:59 ` James Harper
2013-08-14 13:13 ` Sylvain Munaut
2013-08-14 13:16 ` James Harper
2013-08-15 7:20 ` James Harper
2013-08-16 1:02 ` James Harper
2013-08-14 8:43 ` Frederik Thuysbaert
2013-08-14 15:03 ` Sylvain Munaut
2013-08-16 8:27 ` Frederik Thuysbaert [this message]
2013-08-14 8:47 ` Frederik Thuysbaert
2013-08-13 21:47 ` James Harper
-- strict thread matches above, loose matches on Subject: below --
2013-06-21 7:21 Nathan O'Sullivan
2013-06-21 11:21 ` Sylvain Munaut
2013-07-01 9:57 ` Sylvain Munaut
2013-07-02 3:32 ` Nathan O'Sullivan
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=520DE256.80400@gmail.com \
--to=frederik.thuysbaert@gmail.com \
--cc=ceph-devel@vger.kernel.org \
--cc=james.harper@bendigoit.com.au \
--cc=pasik@iki.fi \
--cc=s.munaut@whatever-company.com \
--cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).