The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Segmentation (CoreDump) error !! varungupta UNIX for Advanced & Expert Users 16 04-21-2008 02:16 PM
bus error (coredump) charu UNIX for Dummies Questions & Answers 4 12-12-2007 03:05 AM
Segmentation fault(coredump) vjm AIX 4 01-08-2007 11:52 PM
Bus Error(coredump) Jayesh UNIX for Advanced & Expert Users 2 10-04-2005 12:35 PM
Bus error(coredump Student37 UNIX for Dummies Questions & Answers 3 07-01-2005 12:53 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-13-2007
Registered User
 

Join Date: Sep 2007
Posts: 6
lpstat gives segmentation coredump error

hi everyone,

we have solaris 8 in sun v480 server.

it gives this error.

Segmentation Fault(coredump)

can anyone help me in this - urgently.

Regards

Karthik C
Reply With Quote
Forum Sponsor
  #2  
Old 09-13-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Try 'truss'ing the process - and see if that yields anything
Code:
truss -wall -rall -vall -f lpstat
Cheers,
ZB
Reply With Quote
  #3  
Old 09-13-2007
Registered User
 

Join Date: Sep 2007
Posts: 6
lpstat gives segmentation coredump error

can u explain what it will do

truss -wall -rall -vall -f lpstat

since because it is a production server and i am in client side

rgds
karthik C
Reply With Quote
  #4  
Old 09-13-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
man truss
Code:
 truss - trace system calls and signals
So this is safe to do. You'll need to be root though...

Cheers,
ZB
Reply With Quote
  #5  
Old 09-14-2007
Registered User
 

Join Date: Sep 2007
Posts: 6
after running this truss -wall -rall -vall -f lpstat.

It runs 100000 lines i am unable to read that one.

can u help me in this

21624: read(7, 0xFFBEECFC, 1024) = 13
21624: H G 3 M G 2 1 : L P T 1\n
21624: close(7) = 0
21624: fstat(4, 0xFFBEE640) = 0
21624: d=0x01D80000 i=31809 m=0020000 l=0 u=0 g=0 rdev=0x00541D29
21624: at = Sep 14 13:50:30 GMT 2007 [ 1189795830 ]
21624: mt = Sep 14 13:50:30 GMT 2007 [ 1189795830 ]
21624: ct = Sep 14 13:50:30 GMT 2007 [ 1189795830 ]
21624: bsz=8192 blks=0 fs=ufs
21624: time() = 1189795834
21624: getpid()
21624: putmsg(4, 0xFFBEDCF8, 0xFFBEDCEC, 0) = 0
21624: ctl: maxlen=24 len=24 buf=0xFFBEE628: "\0\0\0\0\0\0\010"..
21624: \0\0\0\0\0\0\010FFBEE6 XFF , ' P e v / t\0\0\0 7
21624: dat: maxlen=1280 len=123 buf=0xFFBEE128: " S e p 1 4 1"..
21624: S e p 1 4 1 3 : 5 0 : 3 4 l p s t a t [ 2 1 6 2 4 ] : [
21624: I D 9 8 9 2 9 9 F A C I L I T Y _ A N D _ P R I O R I T Y ]
21624: j o b _ r e t r i e v e ( x f A 4 8 9 m e r l i n 1 - p h y s
21624: 1 ) s u c c e s s - H G 3 M G 2 1 : L P T 1\n\0
21624: open("/var/run/syslog_door", O_RDONLY) = 7
21624: door_info(7, 0xFFBEDC30) = 0
21624: getpid()
Reply With Quote
  #6  
Old 09-14-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Could you save it to a file and post the last 50 lines or so?

Code:
truss -wall -rall -vall -f -o /path/to/outputfile lpstat
Cheers,
ZB
Reply With Quote
  #7  
Old 09-16-2007
Registered User
 

Join Date: Sep 2007
Posts: 6
lpstat gives segmentation coredump error

7165: mt = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: ct = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: bsz=8192 blks=0 fs=ufs
7165: time() = 1189971176
7165: getpid() = 7165 [7164]
7165: Incurred fault #6, FLTBOUNDS %pc = 0xFF2B32EC
7165: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
7165: Received signal #11, SIGSEGV [default]
7165: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
7165: *** process killed ***
^C
root@merlin1-phys1 # tail -f 50 outputfile
tail: cannot open input
root@merlin1-phys1 # tail -50 outputfile
7165: \n\0
7165: open("/var/run/syslog_door", O_RDONLY) = 8
7165: door_info(8, 0xFFBEDAE0) = 0
7165: getpid() = 7165 [7164]
7165: door_call(8, 0xFFBEDAC8) = 0
7165: close(8) = 0
7165: open("cfG638merlin1-phys1", O_RDONLY) = 8
7165: fstat(8, 0xFFBEE7A8) = 0
7165: d=0x01D80000 i=538995 m=0100640 l=1 u=0 g=101 sz=206
7165: at = Sep 16 11:33:24 GMT 2007 [ 1189960404 ]
7165: mt = Dec 20 14:57:14 GMT 2006 [ 1166644634 ]
7165: ct = Dec 20 14:57:14 GMT 2006 [ 1166644634 ]
7165: bsz=8192 blks=2 fs=ufs
7165: mmap(0x00000000, 206, PROT_READ, MAP_PRIVATE|MAP_NORESERVE, 8, 0) = 0xF3
920000
7165: close(8) = 0
7165: fstat(4, 0xFFBEE4F0) = 0
7165: d=0x01D80000 i=32979 m=0020000 l=0 u=0 g=0 rdev=0x0054261D
7165: at = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: mt = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: ct = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: bsz=8192 blks=0 fs=ufs
7165: time() = 1189971176
7165: getpid() = 7165 [7164]
7165: putmsg(4, 0xFFBEDBA8, 0xFFBEDB9C, 0) = 0
7165: ctl: maxlen=24 len=24 buf=0xFFBEE4D8: "\0\0\0\0\0\0\010"..
7165: \0\0\0\0\0\0\010\0\0\0\0\0\0\0\0\0\0\002\0\0\0 7
7165: dat: maxlen=1280 len=128 buf=0xFFBEDFD8: " S e p 1 6 1"..
root@merlin1-phys1 # tail -50 outputfile
7165: \n\0
7165: open("/var/run/syslog_door", O_RDONLY) = 8
7165: door_info(8, 0xFFBEDAE0) = 0
7165: getpid() = 7165 [7164]
7165: door_call(8, 0xFFBEDAC8) = 0
7165: close(8) = 0
7165: open("cfG638merlin1-phys1", O_RDONLY) = 8
7165: fstat(8, 0xFFBEE7A8) = 0
7165: d=0x01D80000 i=538995 m=0100640 l=1 u=0 g=101 sz=206
7165: at = Sep 16 11:33:24 GMT 2007 [ 1189960404 ]
7165: mt = Dec 20 14:57:14 GMT 2006 [ 1166644634 ]
7165: ct = Dec 20 14:57:14 GMT 2006 [ 1166644634 ]
7165: bsz=8192 blks=2 fs=ufs
7165: mmap(0x00000000, 206, PROT_READ, MAP_PRIVATE|MAP_NORESERVE, 8, 0) = 0xF3920000
7165: close(8) = 0
7165: fstat(4, 0xFFBEE4F0) = 0
7165: d=0x01D80000 i=32979 m=0020000 l=0 u=0 g=0 rdev=0x0054261D
7165: at = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: mt = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: ct = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: bsz=8192 blks=0 fs=ufs
7165: time() = 1189971176
7165: getpid() = 7165 [7164]
7165: putmsg(4, 0xFFBEDBA8, 0xFFBEDB9C, 0) = 0
7165: ctl: maxlen=24 len=24 buf=0xFFBEE4D8: "\0\0\0\0\0\0\010"..
7165: \0\0\0\0\0\0\010\0\0\0\0\0\0\0\0\0\0\002\0\0\0 7
7165: dat: maxlen=1280 len=128 buf=0xFFBEDFD8: " S e p 1 6 1"..
7165: S e p 1 6 1 4 : 3 2 : 5 6 l p s t a t [ 7 1 6 5 ] : [ I
7165: D 1 3 8 0 1 4 F A C I L I T Y _ A N D _ P R I O R I T Y ]
7165: m a p _ i n _ f i l e ( c f G 6 3 8 m e r l i n 1 - p h y s 1 )
7165: - s i z e ( 2 0 6 ) , a d d r ( 0 x f 3 9 2 0 0 0 0 )\n\0
7165: open("/var/run/syslog_door", O_RDONLY) = 8
7165: door_info(8, 0xFFBEDAE0) = 0
7165: getpid() = 7165 [7164]
7165: door_call(8, 0xFFBEDAC8) = 0
7165: close(8) = 0
7165: stat("dfE638merlin1-phys1", 0xFFBEE7A8) Err#2 ENOENT
7165: fstat(4, 0xFFBEE550) = 0
7165: d=0x01D80000 i=32979 m=0020000 l=0 u=0 g=0 rdev=0x0054261D
7165: at = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: mt = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: ct = Sep 16 14:32:23 GMT 2007 [ 1189971143 ]
7165: bsz=8192 blks=0 fs=ufs
7165: time() = 1189971176
7165: getpid() = 7165 [7164]
7165: Incurred fault #6, FLTBOUNDS %pc = 0xFF2B32EC
7165: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
7165: Received signal #11, SIGSEGV [default]
7165: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
7165: *** process killed ***
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0