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 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