All of lore.kernel.org
 help / color / mirror / Atom feed
From: C Sights <csights@fastmail.fm>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cannot "hibernate" if program being debugged in gdb is paused after SIGABRT in linux 2.6.23 (but can in 2.6.22.7)
Date: Sun, 28 Oct 2007 11:33:36 -0400	[thread overview]
Message-ID: <200710281133.36995.csights@fastmail.fm> (raw)
In-Reply-To: <200710270138.15982.rjw@sisk.pl>

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

>
> Well, a test program that triggers the SIGABRT under gdb would be useful.

The attached program causes a SIGABRT for me,

Thanks,
	C.

[-- Attachment #2: main.cpp --]
[-- Type: text/x-c++src, Size: 161 bytes --]

#include <string>
using namespace std;

int main (char **argv, int argc) {
	string t = "linux rocks!";

	t.replace(LONG_MAX, 1, "sigabrt here");	
	
	return 0;
}

  reply	other threads:[~2007-10-28 15:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26  1:03 cannot "hibernate" if program being debugged in gdb is paused after SIGABRT in linux 2.6.23 (but can in 2.6.22.7) CSights
2007-10-26 23:38 ` Rafael J. Wysocki
2007-10-28 15:33   ` C Sights [this message]
2007-10-28 18:58     ` Rafael J. Wysocki
2007-10-30 14:34       ` CSights
2007-11-08 22:50         ` Rafael J. Wysocki
2007-11-09 13:30           ` CSights

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=200710281133.36995.csights@fastmail.fm \
    --to=csights@fastmail.fm \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.