PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001636PacketFencecorepublic2013-04-25 08:122013-04-29 17:36
ReporterMoshe_Levi 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.5.1 
Target VersionFixed in Version+1 
Summary0001636: pfsetvlan coredump when stoping packetfence service
DescriptionI am using centos 6.3 with coredump enabled
every time I stop the packetfence I see coredump fromm pfsetvlan
the reason is because it send signal 6 in the end
END {
    if ( ( !$man ) && ( !$help ) ) {
        $logger->info("stopping pfsetvlan");
        deletepid();
        foreach my $t (@completeThreadList) {
            $t->detach;
        }
        kill 6, -$$;
    }
}

signal 6 is SIGABRT which by default action is to terminate the process and dump core
see http://linux.about.com/od/commands/l/blcmdl7_signal.htm [^]
I am not sure why pfsetvlan need to kill it self and it is not gracefully shutdown but if it is needed it is better to use SIGTERM to just terminate the process and not coredump
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0003302)
ludovic (administrator)
2013-04-29 17:36

See: https://github.com/inverse-inc/packetfence/commit/ec2318a692bf2839ff59118e6c11fea1f22238e0 [^]

This will be part of v4.

- Issue History
Date Modified Username Field Change
2013-04-25 08:12 Moshe_Levi New Issue
2013-04-29 17:36 ludovic Note Added: 0003302
2013-04-29 17:36 ludovic Status new => closed
2013-04-29 17:36 ludovic Resolution open => fixed
2013-04-29 17:36 ludovic Fixed in Version => +1


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker