Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Psql crashes wi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 11 Topic 15669 of 17437
Post > Topic >>

Psql crashes with Segmentation fault on copy from

by lists@[EMAIL PROTECTED] ("Francisco Reyes") May 27, 2008 at 06:13 PM

I am setting up a new machine and preparing some standard benchmark tests.
While trying to load some data using "copy from" psql is cra****ng.

OS Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Postgresql  8.2.7 installed from RPMs

I ran strace on psql and got:

read(5, "DAIRY QUEEN        Q68\t5814\t1215"..., 4096) = 4096
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
....... 36 other lines like the ones above/below.
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "TORE 2653\t5311\t93\t5080284\n2qLMfi"..., 4096) = 3796
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
....... 36 other lines like the ones above/below.
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(5, "", 4096)                       = 0
gettimeofday({1211915058, 706827}, NULL) = 0
--- SIGSEGV (Segmentation fault) @[EMAIL PROTECTED]
 0 (0) ---
+++ killed by SIGSEGV +++


On the server I increased the verbosity to debug levels:
DEBUG:  00000: checkpoint starting
LOCATION:  CreateCheckPoint, xlog.c:5584
DEBUG:  00000: checkpoint complete; 0 transaction log file(s) added, 0
removed, 0 recycled
LOCATION:  CreateCheckPoint, xlog.c:5712
LOG:  08P01: unexpected EOF on client connection
LOCATION:  SocketBackend, postgres.c:307
DEBUG:  00000: proc_exit(0)
LOCATION:  proc_exit, ipc.c:94
DEBUG:  00000: shmem_exit(0)
LOCATION:  shmem_exit, ipc.c:125
LOG:  00000: disconnection: session time: 0:28:57.253 user=benchmark
database=benchmark host=[local]
LOCATION:  log_disconnections, postgres.c:3840
DEBUG:  00000: exit(0)
LOCATION:  proc_exit, ipc.c:112
DEBUG:  00000: server process (PID 3112) exited with exit code 0
LOCATION:  LogChildExit, postmaster.c:2425

The same data file loads into another machine with Postgresql 8.2.4 and
the
same version of RedHat..

Checked the disk with the badblocks command. No errors found.


-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 11 Posts in Topic:
Psql crashes with Segmentation fault on copy from
lists@[EMAIL PROTECTED]   2008-05-27 18:13:03 
Re: Psql crashes with Segmentation fault on copy from
tgl@[EMAIL PROTECTED] (T  2008-05-27 18:28:01 
Re: Psql crashes with Segmentation fault on copy from
lists@[EMAIL PROTECTED]   2008-05-28 10:53:27 
Re: Psql crashes with Segmentation fault on copy from
lists@[EMAIL PROTECTED]   2008-05-28 11:49:35 
Re: Psql crashes with Segmentation fault on copy from
lists@[EMAIL PROTECTED]   2008-05-28 13:04:02 
Re: Psql crashes with Segmentation fault on copy from
stark@[EMAIL PROTECTED]   2008-05-28 15:09:42 
Re: Psql crashes with Segmentation fault on copy from
lists@[EMAIL PROTECTED]   2008-05-28 15:42:47 
Re: Psql crashes with Segmentation fault on copy from
kleptog@[EMAIL PROTECTED]  2008-05-28 21:46:59 
Re: Psql crashes with Segmentation fault on copy from
tgl@[EMAIL PROTECTED] (T  2008-05-28 16:42:53 
Re: Psql crashes with Segmentation fault on copy from
tgl@[EMAIL PROTECTED] (T  2008-05-28 19:05:29 
Re: Psql crashes with Segmentation fault on copy
bruce@[EMAIL PROTECTED]   2008-07-15 10:03:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:14:10 CST 2008.