This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITA] postgresql-9.2.2-1


On Mon, Jan 14, 2013 at 12:40 AM, marco atzeri wrote:
> wget -r -np -nH --cut-dirs=1 \
> http://matzeri.altervista.org/cygwin-1.7/postgresql/index.html

/etc/rc.d/init.d/postgresql needs an +x,
and the .exe in DAEMON is wrong

ls -al /usr/sbin/postmaster
/usr/sbin/postmaster -> postgres.exe

/usr/sbin/initdb -D /usr/share/postgresql/data
required a rebaseall

$ psql
Segmentation fault (core dumped)

  89    1446 [main] psql 960 fhandler_pipe::create: name
\\.\pipe\cygwin-c5e39b7a9d22bafb-960-sigwait, size 164, mode
PIPE_TYPE_MESSAGE
  102    1548 [main] psql 960 fhandler_pipe::create: pipe read handle 0x788
  450    1998 [main] psql 960 fhandler_pipe::create: CreateFile: name
\\.\pipe\cygwin-c5e39b7a9d22bafb-960-sigwait
   71    2069 [main] psql 960 fhandler_pipe::create: pipe write handle 0x784
   65    2134 [main] psql 960 dll_crt0_0: finished dll_crt0_0 initialization
 3267    5401 [sig] psql 960 wait_sig: entering ReadFile loop,
my_readsig 0x788, my_sendsig 0x784
  775    6176 [main] psql 960 mount_info::conv_to_posix_path:
conv_to_posix_path (C:\cygwin\home\rurban, no-keep-rel, no-add-slash)
  343    6519 [main] psql 960 normalize_win32_path:
C:\cygwin\home\rurban = normalize_win32_path (C:\cygwin\home\rurban)
   75    6594 [main] psql 960 mount_info::conv_to_posix_path:
/home/rurban = conv_to_posix_path (C:\cygwin\home\rurban)
--- Process 960, exception C0000005 at F8D30000
  152    6746 [main] psql 960 exception::handle: In
cygwin_except_handler exception 0xC0000005 at 0xF8D30000 sp 0x22AC7C
   52    6798 [main] psql 960 exception::handle: In
cygwin_except_handler signal 11 at 0xF8D30000
  384    7182 [main] psql 960 exception::handle: In
cygwin_except_handler calling 0x0
   7237 [main] psql 960 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   55    7237 [main] psql 960 exception::handle: Exception:
STATUS_ACCESS_VIOLATION
  163    7400 [main] psql 960 try_to_debug: debugger_command ''
   8116 [main] psql 960 open_stackdumpfile: Dumping stack trace to
psql.exe.stackdump

$ gdb psql
Program received signal SIGSEGV, Segmentation fault.
0xf8d30000 in ?? ()
(gdb) bt
#0  0xf8d30000 in ?? ()
#1  0x610fc95c in pthread::init_mainthread () at
/usr/src/cygwin/src/winsup/cygwin/thread.cc:336
#2  0x61006cf5 in dll_crt0_1 () at
/usr/src/cygwin/src/winsup/cygwin/dcrt0.cc:832
#3  0x6100533d in _cygtls::call2 (this=<optimized out>,
func=0x61006c50 <dll_crt0_1(void*)>, arg=0x0,
    buf=0x610054cb <_cygtls::call(unsigned long (*)(void*, void*), void*)+91>)
    at /usr/src/cygwin/src/winsup/cygwin/cygtls.cc:99
#4  0x0022ff78 in ?? ()
#5  0x004330c2 in ?? ()
#6  0x00401015 in ?? ()
#7  0x7c81776f in RegisterWaitForInputIdle () from
/cygdrive/c/windows/system32/kernel32.dll
#8  0x00000000 in ?? ()

Can we have a gold star please.
BTW:
We have a nice GNU extension

    find postgresql -name index.html -o -name md5.sum -delete

I checked the md5 sums.
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]