Bug 558164

Summary: [abrt] crash in perl-4:5.10.0-87.fc12
Product: [Fedora] Fedora Reporter: Senthil <inbioz>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: cweyl, kasal, lkundrak, mmaslano, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:89526da2c9ef0499ea791d05b67edbcb4f942b66
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-27 10:03:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Senthil 2010-01-24 02:16:06 UTC
abrt 1.0.3 detected a crash.

How to reproduce
-----
1. Exit the parent process with POSIX::exit
2. Fork the process in infinite loop  


Comment: Trying to create a daemon process
Attached file: backtrace
cmdline: /usr/bin/perl -w ./start -mGoal -i0 -ls -n 1
component: perl
executable: /usr/bin/perl
kernel: 2.6.31.12-174.2.3.fc12.i686.PAE
package: perl-4:5.10.0-87.fc12
rating: 4
reason: Process was terminated by signal 11 (Segmentation fault)

Comment 1 Senthil 2010-01-24 02:16:10 UTC
Created attachment 386399 [details]
File: backtrace

Comment 2 Marcela Mašláňová 2010-01-26 14:23:37 UTC
Please attach a minimalistic script which could reproduce this behaviour.

Comment 3 Senthil 2010-01-27 09:40:11 UTC
I am not able to reproduce this bug.

Anyways following is the piece of code which i was trying to execute.

I faced the issue when i reduced the sleep by 2 seconds in allowLogin subroutine which hits mysql db.

SCHEDULER: {
    
unless ( $id = fork ) {
   &retryLogin();
   redo SCHEDULER;
} else {
   &allowLogin($n, $p);
  POSIX::_exit( 0 );  
 }
}

Comment 4 Marcela Mašláňová 2010-01-27 10:03:47 UTC
I'm sorry but without short script is can't reproduce for me. I can't say if it's problem somewhere in your code or in the intepreter.