Re: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Kashif Zeeshan
Thats great, it also gave us a learning opportunity as well. On Mon, Jun 24, 2024 at 10:18 AM Xu Haorong wrote: > Hi Lane, > > Thank you for your advice. The problem did disappear after running git > clean, and I'm sorry for not providing enough context at first. > > Regards, > Haorong Xu >

Re: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Xu Haorong
Hi Lane, Thank you for your advice. The problem did disappear after running git clean, and I'm sorry for not providing enough context at first. Regards, Haorong Xu

Re: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Tom Lane
I wrote: > Xu Haorong writes: >> performing post-bootstrap initialization ... *** stack smashing detected >> ***: terminated >> Aborted (core dumped) >> child process exited with exit code 134 > No such problem is visible in our build farm [1], so what we have to > figure out is how your machine

Re: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Tom Lane
Xu Haorong writes: > Today I tried to build the latest devel version of PostgreSQL(commit > 70a845c04a47645b58f8276a6b3ab201ea8ec426). The compilation was successful, > but when I ran initdb an error occured: > performing post-bootstrap initialization ... *** stack smashing detected ***: > ter

回复: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Xu Haorong
rds, Haorong Xu 发件人: Kashif Zeeshan 发送时间: 2024年6月23日 22:13 收件人: Xu Haorong ; Postgres General 主题: Re: Stack Smashing Detected When Executing initdb Hi Xu You need to enable some settings for the code dump to generated. For the settings you can use follow

Re: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Kashif Zeeshan
发件人:* Kashif Zeeshan > *发送时间:* 2024年6月23日 16:50 > *收件人:* Xu Haorong > *抄送:* pgsql-gene...@postgresql.org > *主题:* Re: Stack Smashing Detected When Executing initdb > > Hi Xu > > To pinpoint the issue, please use gdb debugger to get the backtrace to > exa

Re: Stack Smashing Detected When Executing initdb

2024-06-23 Thread Kashif Zeeshan
Hi Xu To pinpoint the issue, please use gdb debugger to get the backtrace to exactly find out where the error is occurring and you can then do the required setups. For Reference : https://stackoverflow.com/questions/50093327/how-do-i-solve-postgresql-aborted-core-dumped-error Thanks Kashif Zee

Stack Smashing Detected When Executing initdb

2024-06-23 Thread Xu Haorong
Hi everyone, Today I tried to build the latest devel version of PostgreSQL(commit 70a845c04a47645b58f8276a6b3ab201ea8ec426). The compilation was successful, but when I ran initdb an error occured: /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data The files belonging to this database system w