Re: Opening an app launches four instances of it

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Garfias
Date:  
To: plug-discuss
Subject: Re: Opening an app launches four instances of it
`strace <command>`

strace will output to stderr, so redirect that to a file: strace command 2>
/tmp/trace.txt

Then look at the trace when you're done. Start at the top, and work down,
look for something like 'open' or 'exec', its been awhile so I can't be
completely sure what you'd want to look for.

check the strace man page as well

Siri Amrit Kaur spoke forth with the blessed manuscript:
> Mike Garfias writes:
>
> >I'd start with running strace on the app as it loads up.
>
> Thanks, Mike. Can you please tell me how that's done?
>
> Siri Amrit
>
> >Siri Amrit Kaur spoke forth with the blessed manuscript:
> >>I just got Slackware 10.1 installed yesterday. I installed some games
> >>that I always add after installing, like Maelstrom and LBreakout2. I had
> >>to install a bunch of SDL libraries with them. I installed them from /tmp
> >>as root.
> >>Here's the wierd part:
> >>
> >>When I launch one of these games, it opens up fine, but in the taskbar I
> >>see another instance of it trying to open, as well. It eventually times
> >>out, but the first instance stays and plays normally. If I open a
> >>terminal and run "ps -aux | more" I see four instances of the game! They
> >>have consecutive PID numbers.
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss