[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Vanilla job crashing segmentation fault due toioctl [Sec=Unclassified]



Yes, I should probably have shown the line before that in the strace:

readlink("/proc/self/fd/0", "/dev/null", 511) = 9
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe20890) = -1 ENOTTY
(Inappropriate ioctl for device)

I am told that apparently the program makes a getlogin() call which
returns the username of the login associated with the 'controlling
terminal'.  The problem can be duplicated by running the program
directly with < /dev/null piped to it.  I have tried putting a username
into an input file to no avail. 

Submit file is as follows:
Universe = Vanilla
Requirements = Arch == "INTEL" && OpSys == "LINUX"
Executable = CASAL_LINUX.exe
Arguments = -e -O mpd.dat

#Input = LINUX_input.txt
Output = LINUX_output.txt
Error = LINUX_error.txt
Log = LINUX_log.txt

transfer_input_files = estimation.csl, population.csl,  output.csl,
mpd.dat
should_transfer_files = ALWAYS
when_to_transfer_output = ON_EXIT
getenv = TRUE

Queue


Thanks guys


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of o c
Sent: Friday, 9 March 2007 6:06 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Vanilla job crashing segmentation fault due
toioctl [Sec=Unclassified]

Hi,

It is stdin that is missing (see the 0 for file
descriptor). You get ENOTTY as the job is not
connected to the terminal.

Maybe post the job submit script?

OC

--- Dimitri Maziuk <dmaziuk@xxxxxxxxxxxxx> wrote:

> Troy Robertson wrote:
> 
> > Job also runs correctly when executed directly on
> the same Linux
> > machine.  
> 
> > strace shows:
> > 
> > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS,
> 0xbfe20890) = -1 ENOTTY
> > (Inappropriate ioctl for device)
> 
> It's hard to tell from that one line, but ENOTTY
> often means the job
> wants stdout/stderr and doesn't have it (it would if
> you run it from
> console). Adding ">/dev/null 2>&1" might fix it.
> 
> Dima
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to
> condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
>
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at either
> https://lists.cs.wisc.edu/archive/condor-users/
>
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
> 



		
___________________________________________________________ 
Inbox full of unwanted email? Get leading protection and 1GB storage
with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at either
https://lists.cs.wisc.edu/archive/condor-users/
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR
___________________________________________________________________________

    Australian Government Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________