public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jason Long <hack3rcon@yahoo.com>
To: Eli Zaretskii via Gdb <gdb@sourceware.org>,
	 Simon Marchi <simon.marchi@polymtl.ca>
Subject: Re: Trace/breakpoint trap.
Date: Fri, 14 May 2021 19:45:56 +0000 (UTC)	[thread overview]
Message-ID: <2058203102.408071.1621021556704@mail.yahoo.com> (raw)
In-Reply-To: <79240173-07cd-7ac1-b080-450efbb444b1@polymtl.ca>

Hello,
Thank you.
The "bt" show me:

(gdb) bt
#0  0x000055555a7556f3 in ?? ()
#1  0x00005555590002e0 in ?? ()
#2  0x000055555a75474c in ?? ()
#3  0x000055555a75a4a1 in ?? ()
#4  0x0000555558fffb7c in ?? ()
#5  0x000055555a75addb in ?? ()
#6  0x0000555558ffe191 in ?? ()
#7  0x000055555742527b in ?? ()
#8  0x00007ffff568509b in __libc_start_main (main=0x555557425130, argc=1, 
    argv=0x7fffffffe288, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe278)
    at ../csu/libc-start.c:308
#9  0x000055555742502a in _start ()


And "info target" showed me: https://pastebin.ubuntu.com/p/3qT9yhkW3Y/

What is the next step?


On Sunday, May 2, 2021, 02:01:56 AM GMT+4:30, Simon Marchi <simon.marchi@polymtl.ca> wrote: 







On 2021-05-01 5:47 a.m., Jason Long via Gdb wrote:
> Hello,
> I installed the Atomic Cryptocurrency Wallet on my Debian Linux and when I want to launch it, then it shows me "Trace/breakpoint trap" error.
> I want to find the reason of it with GDB.
> I launched it inside the GDB:
> 
> (gdb) run
> Starting program: /usr/bin/atomic 
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [New Thread 0x7ffff2eb7700 (LWP 12453)]
> [Detaching after fork from child process 12454]
> 
> 
> Thread 1 "atomic" received signal SIGTRAP, Trace/breakpoint trap.
> 0x000055555a7556f3 in ?? ()
> 
> What is the next step?
> 
> 
> Thank you.

> 
Hi,

You could start by using "bt" to get a sense of where you are stopped.
You could try to find out in which object file address
0x000055555a7556f3 falls.  You can use "info target" for that.
Depending on what you find, the next steps depend on what you find (it's
investigative work, so there's not pre-defined path).

Simon


  reply	other threads:[~2021-05-14 19:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <895597245.1533806.1619862429301.ref@mail.yahoo.com>
2021-05-01  9:47 ` Jason Long
2021-05-01 21:31   ` Simon Marchi
2021-05-14 19:45     ` Jason Long [this message]
2021-05-14 19:52       ` Simon Marchi
2021-05-14 20:08         ` Jason Long
2021-05-14 22:01           ` Jeffrey Walton

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=2058203102.408071.1621021556704@mail.yahoo.com \
    --to=hack3rcon@yahoo.com \
    --cc=gdb@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    /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).