error -10825

Started by Kashaela Ransawabout 1 year ago7 messagesbugs
Jump to latest
#1Kashaela Ransaw
kashaela.ransaw@csuglobal.edu

*LSOpenURLsWithRole() failed with error -10825 for the file
/Library/PostgreSQL/17/pgAdmin 4.app <http://4.app&gt;.*

*There is a post-installation error that I can not seem to resolve. Are you
able to provide any suggestions? *

*I am using Mac OS Catalina 10.15.7. I have reset the operating system
through troubleshooting with Apple Support. Not sure why this is
happening. *

Attachments:

Screen Shot 2025-02-22 at 2.47.48 PM.pngimage/png; name="Screen Shot 2025-02-22 at 2.47.48 PM.png"Download+13-14
Screen Shot 2025-02-22 at 3.38.35 PM.pngimage/png; name="Screen Shot 2025-02-22 at 3.38.35 PM.png"Download+12-12
Screen Shot 2025-02-22 at 7.55.08 PM.pngimage/png; name="Screen Shot 2025-02-22 at 7.55.08 PM.png"Download+7-8
#2Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Kashaela Ransaw (#1)
Re: error -10825

Hi,

Is it intel or M1? Can you share the installation log that the installer
must have created in system temp?

On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
kashaela.ransaw@csuglobal.edu> wrote:

*LSOpenURLsWithRole() failed with error -10825 for the file
/Library/PostgreSQL/17/pgAdmin 4.app <http://4.app&gt;.*

*There is a post-installation error that I can not seem to resolve. Are
you able to provide any suggestions? *

*I am using Mac OS Catalina 10.15.7. I have reset the operating system
through troubleshooting with Apple Support. Not sure why this is
happening. *

--
Sandeep Thakkar

#3Kashaela Ransaw
kashaela.ransaw@csuglobal.edu
In reply to: Sandeep Thakkar (#2)
Re: error -10825

Hi Sandeep,

Application Specific Information:
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'dismissViewController:: Error:
maybe this view controller was not presented?'
abort() called
terminating with uncaught exception of type NSException

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message:
Symbol not found: _pwritev
Referenced from: /Library/PostgreSQL/17/bin/postgres (which was built for
Mac OS X 12.0)
Expected in: /usr/lib/libSystem.B.dylib

On Mon, Feb 24, 2025 at 5:58 AM Sandeep Thakkar <
sandeep.thakkar@enterprisedb.com> wrote:

Show quoted text

Hi,

Is it intel or M1? Can you share the installation log that the installer
must have created in system temp?

On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
kashaela.ransaw@csuglobal.edu> wrote:

*LSOpenURLsWithRole() failed with error -10825 for the file
/Library/PostgreSQL/17/pgAdmin 4.app <http://4.app&gt;.*

*There is a post-installation error that I can not seem to resolve. Are
you able to provide any suggestions? *

*I am using Mac OS Catalina 10.15.7. I have reset the operating system
through troubleshooting with Apple Support. Not sure why this is
happening. *

--
Sandeep Thakkar

#4Kritika Agarwal
kritika.agarwal@enterprisedb.com
In reply to: Kashaela Ransaw (#3)
Re: error -10825

Hi Kashaela,

The Mac OS minimum version supported is 12 for postgresql v17 so this won't
work on *Mac OS Catalina 10.15.7.*

On Tue, Feb 25, 2025 at 7:12 AM Kashaela Ransaw <
kashaela.ransaw@csuglobal.edu> wrote:

Hi Sandeep,

Application Specific Information:
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'dismissViewController:: Error:
maybe this view controller was not presented?'
abort() called
terminating with uncaught exception of type NSException

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message:
Symbol not found: _pwritev
Referenced from: /Library/PostgreSQL/17/bin/postgres (which was built
for Mac OS X 12.0)
Expected in: /usr/lib/libSystem.B.dylib

On Mon, Feb 24, 2025 at 5:58 AM Sandeep Thakkar <
sandeep.thakkar@enterprisedb.com> wrote:

Hi,

Is it intel or M1? Can you share the installation log that the installer
must have created in system temp?

On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
kashaela.ransaw@csuglobal.edu> wrote:

*LSOpenURLsWithRole() failed with error -10825 for the file
/Library/PostgreSQL/17/pgAdmin 4.app <http://4.app&gt;.*

*There is a post-installation error that I can not seem to resolve. Are
you able to provide any suggestions? *

*I am using Mac OS Catalina 10.15.7. I have reset the operating system
through troubleshooting with Apple Support. Not sure why this is
happening. *

--
Sandeep Thakkar

--
Warm Regards,
Kritika Agarwal

#5Kashaela Ransaw
kashaela.ransaw@csuglobal.edu
In reply to: Kritika Agarwal (#4)
Re: error -10825

Would you happen to know why the database cluster installation continues to
fail for version 16 on mac 10.15.7? Is there a specific way that I should
attempt the installation?

On Tue, Feb 25, 2025 at 2:47 AM Kritika Agarwal <
kritika.agarwal@enterprisedb.com> wrote:

Show quoted text

Hi Kashaela,

The Mac OS minimum version supported is 12 for postgresql v17 so this
won't work on *Mac OS Catalina 10.15.7.*

On Tue, Feb 25, 2025 at 7:12 AM Kashaela Ransaw <
kashaela.ransaw@csuglobal.edu> wrote:

Hi Sandeep,

Application Specific Information:
*** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'dismissViewController:: Error:
maybe this view controller was not presented?'
abort() called
terminating with uncaught exception of type NSException

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message:
Symbol not found: _pwritev
Referenced from: /Library/PostgreSQL/17/bin/postgres (which was built
for Mac OS X 12.0)
Expected in: /usr/lib/libSystem.B.dylib

On Mon, Feb 24, 2025 at 5:58 AM Sandeep Thakkar <
sandeep.thakkar@enterprisedb.com> wrote:

Hi,

Is it intel or M1? Can you share the installation log that the installer
must have created in system temp?

On Sun, Feb 23, 2025 at 7:45 AM Kashaela Ransaw <
kashaela.ransaw@csuglobal.edu> wrote:

*LSOpenURLsWithRole() failed with error -10825 for the file
/Library/PostgreSQL/17/pgAdmin 4.app <http://4.app&gt;.*

*There is a post-installation error that I can not seem to resolve. Are
you able to provide any suggestions? *

*I am using Mac OS Catalina 10.15.7. I have reset the operating system
through troubleshooting with Apple Support. Not sure why this is
happening. *

--
Sandeep Thakkar

--
Warm Regards,
Kritika Agarwal

#6Thomas Munro
thomas.munro@gmail.com
In reply to: Kashaela Ransaw (#5)
Re: error -10825

On Wed, Feb 26, 2025 at 4:44 PM Kashaela Ransaw
<kashaela.ransaw@csuglobal.edu> wrote:

Dyld Error Message:
Symbol not found: _pwritev

As an intellectual curiosity only, if you really wanted to try to make
it work (for non-production use only! not sure what else would break
next...) then I suspect you could compile this into pwritev.dylib and
point to it with DYLD_INSERT_LIBRARIES to satisfy that symbol with a
good-enough-for-now emulation, assuming that loader mechanism isn't
disabled by the code-signing feature of macOS (I don't recall the
detail of that):

#include <sys/uio.h>
#include <unistd.h>
size_t
pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset)
{
if (lseek(fd, offset, SEEK_SET) < 0)
return -1;
return writev(fd, iov, iovcnt, offset);
}

And for PostgreSQL 17 you'd need preadv() too.

PostgreSQL itself knows how to supply an emulation function if the
selected target OS version doesn't have pwritev(). The last known
Unixen that needed it were macOS < 11.0 (Kritika mentioned those
builds target 12.0) and Solaris < 11.4 SRU69. PostgreSQL also
currently tolerates emulations that change the current file position
like that, because the fallback we still use for Windows also has
that property (something to be addressed eventually).

But the real question is: why don't you just upgrade the OS to a
supported version? 10.anything must be way out of Apple support and
missing a lot of security fixes.

#7Thomas Munro
thomas.munro@gmail.com
In reply to: Thomas Munro (#6)
Re: error -10825

On Thu, Feb 27, 2025 at 4:08 PM Thomas Munro <thomas.munro@gmail.com> wrote:

return writev(fd, iov, iovcnt, offset);

Oops: without that offset argument there, of course, typing too fast...