[lldb-dev] [Bug 27020] "command alias r run" causes an assert

2016-03-24 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27020 Ted Woodward changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [lldb-dev] Various strange errors while debugging PostgreSQL

2016-03-24 Thread Greg Clayton via lldb-dev
The files I posted before are for reading core files, not generating them. The ObjectFile subclasses are what are responsible for creating a core file of a specific type. ObjectFileELF doesn't support creating core files as we can see by the functions it registers with the plug-in manager: Obj

Re: [lldb-dev] Various strange errors while debugging PostgreSQL

2016-03-24 Thread Aleksander Alekseev via lldb-dev
> So I am guessing these are the only architectures that are supported. > I am guessing you might be on an i386 system? No I'm afraid it's x86_64. File RegisterContextPOSIXCore_x86_64.cpp is present in source tree I used to build lldb. This bug is very easy to reproduce. 0. You need Ubuntu 14.04

Re: [lldb-dev] Various strange errors while debugging PostgreSQL

2016-03-24 Thread Greg Clayton via lldb-dev
> On Mar 24, 2016, at 5:18 AM, Aleksander Alekseev via lldb-dev > wrote: > > Hello > > Here is what I do. In one terminal I connect to PostgreSQL using psql > command. In another terminal I determine pid of a new PostgreSQL > process (backend process that handles a new connection) and run: >

[lldb-dev] Hang of LLDB 3.8.0 on Debian 8

2016-03-24 Thread David Jones via lldb-dev
I am trying to run LLDB from the 3.8.0 release on a Debian 8 system. However, LLDB hangs during attach: $ lldb /bin/ls (lldb) target create "/bin/ls" Current executable set to '/bin/ls' (x86_64). (lldb) r At which point it hangs. From another window: $ ps -eLf|grep djones djones 32218 7418 32

Re: [lldb-dev] Various strange errors while debugging PostgreSQL

2016-03-24 Thread Aleksander Alekseev via lldb-dev
> (lldb) p r->rd_rel > error: Couldn't apply expression side effects : Couldn't dematerialize >a result variable: couldn't read its memory OK, this issue is fixed in 3.8.0. Two others are not. -- Best regards, Aleksander Alekseev http://eax.me/ ___

[lldb-dev] Various strange errors while debugging PostgreSQL

2016-03-24 Thread Aleksander Alekseev via lldb-dev
Hello Here is what I do. In one terminal I connect to PostgreSQL using psql command. In another terminal I determine pid of a new PostgreSQL process (backend process that handles a new connection) and run: ``` lldb-3.7.1 -p (pid) ``` Then: ``` b heap_open c ``` In first terminal: ``` create t