Re: seg fault - how to track down cause!

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

 



yes!  use ps *** to get parent pid to follow, then i think the chant is something like,

strace -f -p <pid>

note, a lot of system call info gets dumped, but IMHO, the needle is in that haystack!

you might want to log output to a file, ...

also, i loved to find a failing clue and then pipe strace -f ... | grep <myclue>

but i digress,...

Good Luck!!

hth, ...


On Thu, Aug 7, 2014 at 5:43 PM, bruce <badouglas@xxxxxxxxx> wrote:
can you run strace on an app that's going to run for 2-3 solid days??



On Thu, Aug 7, 2014 at 8:41 PM, Jack Craig <jack.craig.aptos@xxxxxxxxx> wrote:
> i like strace
>
> if you dont have it, yum install it.
>
> using man page, see launching parent pid  under strace with follow option.
>
> in the verbose output, focus on system call activity (& parms) for failing
> pid  procs.
>
> HTH, jackc...
>
>
> On Thu, Aug 7, 2014 at 5:01 PM, bruce <badouglas@xxxxxxxxx> wrote:
>>
>> Hey guys..
>>
>> Running a test parent php app that's a long running app. It spins out
>> test child apps via the "system" call periodically. On an intermittent
>> basis, the parent php app dies, and I get a segmentation fault error.
>>
>> Any thoughts/pointers on what I can setup from an OS perspective to
>> allow me to track down exactly what's causing this to happen..
>>
>> Thanks
>> --
>> users mailing list
>> users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org
>
>
>
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux