public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "mgrojo at indra dot es" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug backtrace/11313] New: internal-error: print_frame_args: Assertion `nsym != NULL' failed
Date: Tue, 23 Feb 2010 12:01:00 -0000	[thread overview]
Message-ID: <20100223120114.11313.mgrojo@indra.es> (raw)

We have a multilanguage shared library implemented in C++ and Ada, using
compilers "g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)" and "gcc (GCC) 3.4.6
20051222 (prerelease) for GNAT Pro 5.04a1".

After the process receives segmentation fault, the stack is examined either with
 bt command or up command and in certain frame the debugger (gdb 7.0.1) raises
an internal error with the following message:

stack.c:289: internal-error: print_frame_args: Assertion `nsym != NULL' failed.

If we answer no to "Quit this debugging session?" we can continue and the
debugging session seems reliable.

Complete debugger output:

(gdb) set args -i CMS_NCS -n itec_cmd -p dep_cmd.xml -ORB_max_blocked_time
10000000 -ORB_poa_thread_stack_size 2000000000

(gdb) r
Starting program: /local/users/nor/dmoises/fix_ncs/spd_app_proc -i CMS_NCS -n
itec_cmd -p dep_cmd.xml -ORB_max_blocked_time 10000000
-ORB_poa_thread_stack_size 2000000000
[Thread debugging using libthread_db enabled]
[New Thread 0x40400960 (LWP 23503)]
[New Thread 0x40601960 (LWP 23504)]
[New Thread 0x2b0e758d60 (LWP 23505)]
[New Thread 0x2b85ab2d60 (LWP 23506)]
[New Thread 0x41002960 (LWP 23507)]
[New Thread 0x2c06458d60 (LWP 23508)]
[New Thread 0x2c7d7b2d60 (LWP 23509)]
[New Thread 0x4cebeb60 (LWP 23510)]
[New Thread 0x2cf4b0cd60 (LWP 23511)]
[New Thread 0x2d6be66d60 (LWP 23512)]
[New Thread 0x2de360cd60 (LWP 23513)]
[New Thread 0x2e640c4d60 (LWP 23526)]
[New Thread 0x4d8c0960 (LWP 23527)]
[New Thread 0x2edb41ed60 (LWP 23528)]
[New Thread 0x4e2c1960 (LWP 23529)]
[New Thread 0x2f52778d60 (LWP 23530)]
[New Thread 0x2fc9ad2d60 (LWP 23531)]
[New Thread 0x4ecc2960 (LWP 23532)]
[New Thread 0x3040e2cd60 (LWP 23533)]
[New Thread 0x30b8186d60 (LWP 23534)]
[New Thread 0x4f6c3960 (LWP 23535)]
[New Thread 0x312f4e0d60 (LWP 23536)]
[New Thread 0x31a683ad60 (LWP 23537)]
[New Thread 0x500c4960 (LWP 23538)]
[New Thread 0x321db94d60 (LWP 23539)]
[New Thread 0x3294eeed60 (LWP 23540)]
[New Thread 0x50ac5960 (LWP 23541)]
[New Thread 0x514c6960 (LWP 23542)]
[New Thread 0x51ec7960 (LWP 23543)]
[New Thread 0x528c8960 (LWP 23544)]
[New Thread 0x532c9960 (LWP 23545)]
[New Thread 0x53cca960 (LWP 23546)]
[New Thread 0x546cb960 (LWP 23547)]
[New Thread 0x550cc960 (LWP 23548)]
[New Thread 0x55acd960 (LWP 23549)]
[New Thread 0x564ce960 (LWP 23550)]
[New Thread 0x56ecf960 (LWP 23551)]
[New Thread 0x578d0960 (LWP 23552)]
[New Thread 0x582d1960 (LWP 23553)]
[New Thread 0x58cd2960 (LWP 23554)]
[New Thread 0x596d3960 (LWP 23555)]
[New Thread 0x5a0d4960 (LWP 23556)]
[New Thread 0x5aad5960 (LWP 23557)]
[New Thread 0x5b4d6960 (LWP 23558)]
[New Thread 0x5bed7960 (LWP 23559)]
[New Thread 0x5c8d8960 (LWP 23560)]
[New Thread 0x5d2d9960 (LWP 23561)]
[New Thread 0x5dcda960 (LWP 23562)]
[New Thread 0x5e6db960 (LWP 23563)]
[New Thread 0x5f0dc960 (LWP 23564)]
[New Thread 0x5fadd960 (LWP 23565)]
[New Thread 0x604de960 (LWP 23566)]
[New Thread 0x60edf960 (LWP 23567)]
[New Thread 0x618e0960 (LWP 23568)]
[New Thread 0x622e1960 (LWP 23569)]
[New Thread 0x62ce2960 (LWP 23570)]
[New Thread 0x636e3960 (LWP 23571)]
[New Thread 0x640e4960 (LWP 23572)]
[New Thread 0x64ae5960 (LWP 23573)]
[New Thread 0x654e6960 (LWP 23574)]
[New Thread 0x65ee7960 (LWP 23575)]
[New Thread 0x668e8960 (LWP 23576)]
[New Thread 0x672e9960 (LWP 23577)]
[New Thread 0x67cea960 (LWP 23578)]
[New Thread 0x686eb960 (LWP 23579)]
[New Thread 0x330d0d0d60 (LWP 23580)]
[New Thread 0x338442ad60 (LWP 23581)]
[New Thread 0x690ec960 (LWP 23583)]
[New Thread 0x69aed960 (LWP 23585)]
[New Thread 0x34034d1d60 (LWP 23590)]
[New Thread 0x34f5e70d60 (LWP 23591)]
Q_NCS_ACTIVE_SUPERVISION.P_CHECK_LOCAL_CMS_SHOULD_BE_ACTIVE: LOG Local CMS is active
[New Thread 0x6a4ee960 (LWP 23593)]
[New Thread 0x6aeef960 (LWP 23594)]
[New Thread 0x6b8f0960 (LWP 23597)]
[New Thread 0x6c2f1960 (LWP 23599)]
[New Thread 0x6ccf2960 (LWP 23601)]
[New Thread 0x6d6f3960 (LWP 23602)]
[New Thread 0x6e0f4960 (LWP 23605)]
[New Thread 0x6eaf5960 (LWP 23607)]
[New Thread 0x6f4f6960 (LWP 23609)]
[New Thread 0x6f6f7960 (LWP 23610)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4cebeb60 (LWP 23510)]
0x00000034773723df in memcpy () from /lib64/tls/libc.so.6
(gdb) up
#1  0x000000347a090d71 in std::string::assign(char const*, unsigned long) ()
from /usr/lib64/libstdc++.so.6
(gdb) 
#2  0x0000002b86cc3ee4 in IDL2ADA::CSUP_SYSTEM_CONFIGURATION::C2CXX (c=...,
cxx=...) at generated/q_spdcsup_system_configuration_idl2c_glue.cc:55
55	generated/q_spdcsup_system_configuration_idl2c_glue.cc: No such file or
directory.
	in generated/q_spdcsup_system_configuration_idl2c_glue.cc
Warning: the current language does not match this frame.
(gdb) 
#3  0x0000002b86cc4413 in IDL2ADA::CSUP_SYSTEM_CONFIGURATION::C2CXX (c=...,
cxx=0x6618be0) at generated/q_spdcsup_system_configuration_idl2c_glue.cc:113
113	in generated/q_spdcsup_system_configuration_idl2c_glue.cc
(gdb) 
#4  0x0000002b86c41c9a in
SpiderGenerated::CCM_C_MOD_SUP_NCS_impl::P_GET_TOTAL_SYSTEM_VERSIONS_PRV_SYSTEM_CONFIGURATION
(this=0x7fa220stack.c:289: internal-error: print_frame_args: Assertion `nsym !=
NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
stack.c:289: internal-error: print_frame_args: Assertion `nsym != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y

Debugger aborted (core dumped)


The core file can be provided if it is useful.

-- 
           Summary: internal-error: print_frame_args: Assertion `nsym !=
                    NULL' failed
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: backtrace
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: mgrojo at indra dot es
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11313

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


             reply	other threads:[~2010-02-23 12:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-23 12:01 mgrojo at indra dot es [this message]
2010-02-25 11:32 ` [Bug backtrace/11313] " mgrojo at indra dot es
2010-07-07 23:09 ` rtaylor at synopsys dot com
2010-07-07 23:14 ` rtaylor at synopsys dot com
2010-07-07 23:50 ` rtaylor at synopsys dot com
2010-07-13 19:02 ` rtaylor at synopsys dot com
2010-07-16 16:47 ` tromey at redhat dot com
2010-07-16 21:55 ` rtaylor at synopsys dot com

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=20100223120114.11313.mgrojo@indra.es \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).