Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder libpcap-solaris11-amd64 Build #119

Results:

Failed shell

SourceStamp:

Projectlibpcap
Repositoryhttps://git.tcpdump.org/libpcap
Branchmaster
Revisionb8d160a250ed87916f4dfe5671ee90bbb75dc2cf
Got Revisionb8d160a250ed87916f4dfe5671ee90bbb75dc2cf
Changes1 change

BuildSlave:

unstable11x

Reason:

The SingleBranchScheduler scheduler named 'schedule-libpcap-solaris11-amd64' triggered this build

Steps and Logfiles:

  1. git update ( 5 secs )
    1. stdio
  2. shell './build_matrix.sh' failed ( 33 mins, 30 secs )
    1. stdio
    2. config.log

Build Properties:

NameValueSource
branch master Build
builddir /export/home/buildbot/slave/libpcap-solaris11-amd64 slave
buildername libpcap-solaris11-amd64 Builder
buildnumber 119 Build
codebase Build
got_revision b8d160a250ed87916f4dfe5671ee90bbb75dc2cf Git
project libpcap Build
repository https://git.tcpdump.org/libpcap Build
revision b8d160a250ed87916f4dfe5671ee90bbb75dc2cf Build
scheduler schedule-libpcap-solaris11-amd64 Scheduler
slavename unstable11x BuildSlave
workdir /export/home/buildbot/slave/libpcap-solaris11-amd64 slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Guy Harris

Timing:

StartTue Feb 3 21:36:36 2026
EndTue Feb 3 22:10:12 2026
Elapsed33 mins, 36 secs

All Changes:

:

  1. Change #256915

    Category libpcap
    Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
    Changed at Tue 03 Feb 2026 21:26:11
    Repository https://git.tcpdump.org/libpcap
    Project libpcap
    Branch master
    Revision b8d160a250ed87916f4dfe5671ee90bbb75dc2cf

    Comments

    Free p->opt.device on close, not on cleanup.
    That way, if a failed pcap_activate() cleans up anything done by the
    activate by calling the module's cleanup routine, which should always
    call pcapint_cleanup_live_common(), p->opt.device, which is set by
    pcap_create() and shouldn't be freed or modified until the pcap_t is
    closed, will be left alone.
    
    Commit e333a6044f7d2d3225a6a22205b6b7c1e389945f moved the freeing
    of p->opt.device to pcap_cleanup_live_common(), but the reason for doing
    that is that, before that commit, we were freeing p->opt.device *before*
    calling the module's cleanup routine, and pcap-npf.c's cleanup routine
    used p->opt.device to turn monitor mode off.
    
    This change moves freeing of p->opt.device back, but does it *after* the
    module's cleanup routine is called, so it's safe for that rouine to use
    p->opt.device - as long as it doesn't save the value of p->opt.device
    and attempt to use it later. Copy the string if you need to do that.
    
    Fix #1615.
    
    Add a test for that crash in testprogs/activatetest.c. That won't
    necessarily catch *all* cases where this is a problem on *all*
    platforms, but it should at least catch it on Linux.

    Changed files

    • pcap.c
    • testprogs/activatetest.c