similar to: Strange sefault with ping and route

Displaying 20 results from an estimated 600 matches similar to: "Strange sefault with ping and route"

2016 May 03
4
Linux/ARM: Segfault issue when we build clang sources including __thread variable using -O2 flag
A few days ago, I tried to change the optimization flag from -O0 to -O2 to speed up the execution of the application on Ubuntu/ARM 14.04 32 bit. When I compiled the source code with -O2 flag instead of -O0 flag, I could not run the application normally by getting always the segmentation fault. Here is debugging information with GDB command in case of that. As you can see, we could not execute
2015 Nov 03
0
[dovceot-2.2.19] doveadm fts expand constantly gives Segfault
Hi! When I issue: doveadm fts expand -A body xxx I'm always getting Segfault. I can't find descrption of this command in manual, is it possible to add some information to manual? # gdb -q doveadm Reading symbols from doveadm...Reading symbols from /usr/lib64/debug//usr/bin/doveadm.debug...done. done. (gdb) set args fts expand -A body XXX (gdb) run Starting program: /usr/bin/doveadm fts
2016 Jun 01
1
GDB pretty printers for LLVM ADTs
In r271357 I've committed GDB pretty printer script for the following types - ArrayRef $1 = llvm::ArrayRef of length 3 = {1, 0, 7} - StringRef $2 = "foo\000bar" $3 = "fo" - SmallString $4 = "foo\000bar" - *SmallVector(Impl)* $5 = llvm::SmallVector of length 3, capacity 3 = {1, 0, 7} All of these visualizers are pretty simple, robust,
2011 Jul 07
1
[LLVMdev] Sefault in llvm-mc when emitting an object file
Hello, I'm trying to use MC to assemble some code into a memory buffer. Whilst trying this, I ran into a segfault that I was able to reproduce using the llvm-mc tool (which makes me think it's not just me using the library incorrectly.) The bug looks like this (the binary is from a clean build of the 2.8 release): $ cat test/asm1.s movl %ebx, %eax $ ~/root/bin/llvm-mc --filetype=obj
2012 Nov 15
3
[LLVMdev] Apple Xcode, LLVM, and automatic (or permanent) breakpoints
Hi All, Please forgive me if this is the wrong group. I did not see a llvm-user group (). The User Guide also lacked a topic (http://llvm.org/docs/userguides.html#userguides). I am an Xcode user. I want to set a breakpoint on malloc_error_break all the time (it makes no sense to re-run after setting the breakpoint on occasion). I want the breakpoint whenever the debugger starts, and for all
2012 Nov 15
0
[LLVMdev] Apple Xcode, LLVM, and automatic (or permanent) breakpoints
On Wed, Nov 14, 2012 at 11:18 PM, Jeffrey Walton <noloader at gmail.com> wrote: > Hi All, > > Please forgive me if this is the wrong group. I did not see a > llvm-user group (). The User Guide also lacked a topic > (http://llvm.org/docs/userguides.html#userguides). > > I am an Xcode user. I want to set a breakpoint on malloc_error_break > all the time (it makes no
2016 Dec 16
2
GDB pretty printers for LLVM ADTs
I've added a few LLVM GDB pretty printers a while back (& just added llvm::Optional earlier today) & thought people might be interested in how to use them, etc. I use them by adding the following to my .gdbinit: source /path/to/llvm/src/utils/gdb-scripts/prettyprinters.py Also, I can suggest adding: set print pretty on there too, it helps a lot when printing complex nested
2016 Dec 17
0
GDB pretty printers for LLVM ADTs
Added some basic DenseMap support in r290011 On Fri, Dec 16, 2016 at 2:05 PM David Blaikie <dblaikie at gmail.com> wrote: > I've added a few LLVM GDB pretty printers a while back (& just added > llvm::Optional earlier today) & thought people might be interested in how > to use them, etc. > > I use them by adding the following to my .gdbinit: > > source
2016 Dec 19
2
GDB pretty printers for LLVM ADTs
Excellent. I think it would make sense to add small section somewhere in documentation (e.g. LLVM Programmer’s Manual <http://llvm.org/docs/ProgrammersManual.html>) about it, so it won't be lost somewhere in the mailing list. Piotr 2016-12-17 1:04 GMT+01:00 David Blaikie via llvm-dev < llvm-dev at lists.llvm.org>: > Added some basic DenseMap support in r290011 > > On
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Good point - any ideas on where in the programmer's manual would suit best? Looking around I sort of feel like it belongs in the "Picking the right data structure" section - but I fear someone merely examining existing data structures might not think to look there for help in their task (if they have no need to 'pick' a data structure for a new use, etc). On Mon, Dec 19,
2016 Dec 20
2
GDB pretty printers for LLVM ADTs
I guess adding section "Debugging" at the bottom of programmers manual would sounds like a good plan to me. Piotr 2016-12-20 6:03 GMT+01:00 David Blaikie <dblaikie at gmail.com>: > Good point - any ideas on where in the programmer's manual would suit > best? Looking around I sort of feel like it belongs in the "Picking the > right data structure" section -
2023 Jan 18
1
Problem installing gdb into Rtools42
Thanks, But this didn't work. It installs msys2 along with lots of other stuff, and gdb would not start as before (missing DLL's). Then I tried to run the command you suggested again, and there was a warning from the package manager about a cycle detected, but now gdb starts with the following messages... Traceback (most recent call last): File "<string>", ine 3, in
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Added something in r290186. Say, Reid - do you know anything about the MSVC formatters that are also provided in LLVM? Perhaps you could add a brief bit of documentation about them, if they need an explicit wiring up (if they just come for free/automatically - might not be worth documenting, people will find it when they need it) or point this thread to someone who knows about them to provide
2013 Jul 17
0
[LLVMdev] eclipse and gdb
Hi Reed, On Jul 17, 2013, at 3:19 AM, Reed Kotler <rkotler at mips.com> wrote: > On 07/16/2013 06:01 PM, Reed Kotler wrote: >> The Eclipse indexer seems to get stuck in the Clang unittests/AST >> > > In Eclipse you can tell it that a given directory is derived, and then it won't try and index it. > > Probably the more complex clang tests are too involved
2016 Dec 20
2
GDB pretty printers for LLVM ADTs
The VC visualizers are automatcially installed. 2016-12-20 19:45 GMT+02:00 David Blaikie via llvm-dev < llvm-dev at lists.llvm.org>: > Added something in r290186. > > Say, Reid - do you know anything about the MSVC formatters that are also > provided in LLVM? Perhaps you could add a brief bit of documentation about > them, if they need an explicit wiring up (if they just
2013 Jul 17
1
[LLVMdev] eclipse and gdb
Hi, I am using Eclipse to edit the files, and I used it to debug with gdb as well (but I went back to gdb on the command line, Eclipse GDB UI is just too slow and buggy for me ..). You need to exclude the clang preprocessor/.. stress tests from the sources, otherwise the indexer will freeze Eclipse. You should also remove some autogenerated CMake project subdirectories, otherwise your files
1998 Sep 01
0
R-beta: Re: new platform
>>>>> "Greg" == Greg Snow <snow at biostat.washington.edu> writes: Greg> Also is there a convenient way to run gdb on R through emacs? Greg> If I give it R.binary, it does not have the wrapper stuff from Greg> R and crashes, If I give it R it complains because it is not a Greg> binary, and if I do R -d then I don't get the emacs extras. Make
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Dandy :) I looked into ways to do this for the GDB visualizers - but was unable to come up with a totally automated solution, unfortunately. On Tue, Dec 20, 2016 at 9:51 AM Yaron Keren <yaron.keren at gmail.com> wrote: > The VC visualizers are automatcially installed. > > > 2016-12-20 19:45 GMT+02:00 David Blaikie via llvm-dev < > llvm-dev at lists.llvm.org>: >
1998 Jan 15
1
debugging dynamically loaded code
How can I debug code that I load at runtime? Currently I do the following: load R.binary into gdb run load shared object code using dyn.load() quit the R process from then on gdb seems to be smart enough such that the source code of the .so file is available and I can set breakpoints etc. however, when I restart the R process I get: (gdb) break printing.c:7 Breakpoint 1 at 0x407af036:
2013 Jul 17
3
[LLVMdev] eclipse and gdb
On 07/16/2013 06:01 PM, Reed Kotler wrote: > The Eclipse indexer seems to get stuck in the Clang unittests/AST > In Eclipse you can tell it that a given directory is derived, and then it won't try and index it. Probably the more complex clang tests are too involved for the indexer. >>> Hope this helps :) >>> >>> Regards, >>> >>> Tilmann