[Bro-Dev] [JIRA] (BIT-1514) Test plugins.pktsrc fails

Jan Grashoefer (JIRA) jira at bro-tracker.atlassian.net
Tue Jan 19 06:54:00 PST 2016


    [ https://bro-tracker.atlassian.net/browse/BIT-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23902#comment-23902 ] 

Jan Grashoefer edited comment on BIT-1514 at 1/19/16 8:53 AM:
--------------------------------------------------------------

Neither I was able to reproduce the crash again on current master. Thanks for having a look!


was (Author: jgras):
Neither I was not able to reproduce the crash again on current master. Thanks for having a look!

> Test plugins.pktsrc fails
> -------------------------
>
>                 Key: BIT-1514
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1514
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master
>         Environment: Fedora 23
>            Reporter: Jan Grashoefer
>            Assignee: Robin Sommer
>
> The plugins.pktsrc test fails for me. Bro crashes with:
> {code}
> *** Error in `bro': corrupted double-linked list: 0x0000000003ac10a0 ***
> ======= Backtrace: =========
> /lib64/libc.so.6(+0x77e15)[0x7f5c5e23ae15]
> /lib64/libc.so.6(+0x7eed8)[0x7f5c5e241ed8]
> /lib64/libc.so.6(+0x807a8)[0x7f5c5e2437a8]
> /lib64/libc.so.6(cfree+0x4c)[0x7f5c5e246cac]
> bro(_ZNSt8_Rb_treeISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ES0_IKS7_mESt10_Select1stIS9_ESt4lessIS7_ESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E+0x32)[0x5d3322]
> bro(_ZNSt8_Rb_treeISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ES0_IKS7_mESt10_Select1stIS9_ESt4lessIS7_ESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E+0x1c)[0x5d330c]
> bro(_ZNSt8_Rb_treeISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ES0_IKS7_mESt10_Select1stIS9_ESt4lessIS7_ESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E+0x1c)[0x5d330c]
> bro(_ZNSt8_Rb_treeISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ES0_IKS7_mESt10_Select1stIS9_ESt4lessIS7_ESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E+0x1c)[0x5d330c]
> bro(_ZNSt8_Rb_treeISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ES0_IKS7_mESt10_Select1stIS9_ESt4lessIS7_ESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E+0x1c)[0x5d330c]
> bro(_ZNSt8_Rb_treeISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ES0_IKS7_mESt10_Select1stIS9_ESt4lessIS7_ESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E+0x1c)[0x5d330c]
> bro(_ZN8BrofilerD1Ev+0x22)[0x5d2162]
> /lib64/libc.so.6(+0x39658)[0x7f5c5e1fc658]
> /lib64/libc.so.6(+0x396a5)[0x7f5c5e1fc6a5]
> /lib64/libc.so.6(__libc_start_main+0xf7)[0x7f5c5e1e3587]
> bro(_start+0x29)[0x5ac359]
> ======= Memory map: ========
> 00400000-00a35000 r-xp 00000000 fd:01 5378219                            /home/jgras/devel/bro/build/src/bro
> 00c34000-00c36000 r--p 00634000 fd:01 5378219                            /home/jgras/devel/bro/build/src/bro
> 00c36000-00c3a000 rw-p 00636000 fd:01 5378219                            /home/jgras/devel/bro/build/src/bro
> 00c3a000-00c4e000 rw-p 00000000 00:00 0 
> 01c02000-03cb7000 rw-p 00000000 00:00 0                                  [heap]
> 7f5c50000000-7f5c50021000 rw-p 00000000 00:00 0 
> 7f5c50021000-7f5c54000000 ---p 00000000 00:00 0 
> 7f5c577ff000-7f5c57800000 ---p 00000000 00:00 0 
> 7f5c57800000-7f5c58000000 rw-p 00000000 00:00 0 
> 7f5c58000000-7f5c58021000 rw-p 00000000 00:00 0 
> 7f5c58021000-7f5c5c000000 ---p 00000000 00:00 0 
> 7f5c5c39c000-7f5c5c39d000 ---p 00000000 00:00 0 
> 7f5c5c39d000-7f5c5cb9d000 rw-p 00000000 00:00 0 
> 7f5c5cb9d000-7f5c5cba0000 r-xp 00000000 fd:01 5636209                    /home/jgras/devel/bro/testing/btest/.tmp/plugins.pktsrc/build/lib/Demo-Foo.linux-x86_64.so
> 7f5c5cba0000-7f5c5cda0000 ---p 00003000 fd:01 5636209                    /home/jgras/devel/bro/testing/btest/.tmp/plugins.pktsrc/build/lib/Demo-Foo.linux-x86_64.so
> 7f5c5cda0000-7f5c5cda1000 r--p 00003000 fd:01 5636209                    /home/jgras/devel/bro/testing/btest/.tmp/plugins.pktsrc/build/lib/Demo-Foo.linux-x86_64.so
> 7f5c5cda1000-7f5c5cda2000 rw-p 00004000 fd:01 5636209                    /home/jgras/devel/bro/testing/btest/.tmp/plugins.pktsrc/build/lib/Demo-Foo.linux-x86_64.so
> 7f5c5cda2000-7f5c5cdad000 r-xp 00000000 fd:00 135163                     /usr/lib64/libnss_files-2.22.so
> 7f5c5cdad000-7f5c5cfac000 ---p 0000b000 fd:00 135163                     /usr/lib64/libnss_files-2.22.so
> 7f5c5cfac000-7f5c5cfad000 r--p 0000a000 fd:00 135163                     /usr/lib64/libnss_files-2.22.so
> 7f5c5cfad000-7f5c5cfae000 rw-p 0000b000 fd:00 135163                     /usr/lib64/libnss_files-2.22.so
> 7f5c5cfae000-7f5c5cfb4000 rw-p 00000000 00:00 0 
> 7f5c5cfb4000-7f5c5d023000 r-xp 00000000 fd:00 139841                     /usr/lib64/libpcre.so.1.2.6
> 7f5c5d023000-7f5c5d222000 ---p 0006f000 fd:00 139841                     /usr/lib64/libpcre.so.1.2.6
> 7f5c5d222000-7f5c5d223000 r--p 0006e000 fd:00 139841                     /usr/lib64/libpcre.so.1.2.6
> 7f5c5d223000-7f5c5d224000 rw-p 0006f000 fd:00 139841                     /usr/lib64/libpcre.so.1.2.6
> 7f5c5d224000-7f5c5d243000 r-xp 00000000 fd:00 140062                     /usr/lib64/libselinux.so.1
> 7f5c5d243000-7f5c5d443000 ---p 0001f000 fd:00 140062                     /usr/lib64/libselinux.so.1
> 7f5c5d443000-7f5c5d444000 r--p 0001f000 fd:00 140062                     /usr/lib64/libselinux.so.1
> 7f5c5d444000-7f5c5d445000 rw-p 00020000 fd:00 140062                     /usr/lib64/libselinux.so.1
> 7f5c5d445000-7f5c5d447000 rw-p 00000000 00:00 0 
> 7f5c5d447000-7f5c5d44a000 r-xp 00000000 fd:00 139791                     /usr/lib64/libkeyutils.so.1.5
> 7f5c5d44a000-7f5c5d649000 ---p 00003000 fd:00 139791                     /usr/lib64/libkeyutils.so.1.5
> 7f5c5d649000-7f5c5d64a000 r--p 00002000 fd:00 139791                     /usr/lib64/libkeyutils.so.1.5
> 7f5c5d64a000-7f5c5d64b000 rw-p 00000000 00:00 0 
> 7f5c5d64b000-7f5c5d658000 r-xp 00000000 fd:00 138521                     /usr/lib64/libkrb5support.so.0.1
> 7f5c5d658000-7f5c5d858000 ---p 0000d000 fd:00 138521                     /usr/lib64/libkrb5support.so.0.1
> 7f5c5d858000-7f5c5d859000 r--p 0000d000 fd:00 138521                     /usr/lib64/libkrb5support.so.0.1
> 7f5c5d859000-7f5c5d85a000 rw-p 0000e000 fd:00 138521                     /usr/lib64/libkrb5support.so.0.1
> 7f5c5d85a000-7f5c5d889000 r-xp 00000000 fd:00 138510                     /usr/lib64/libk5crypto.so.3.1
> 7f5c5d889000-7f5c5da89000 ---p 0002f000 fd:00 138510                     /usr/lib64/libk5crypto.so.3.1
> 7f5c5da89000-7f5c5da8b000 r--p 0002f000 fd:00 138510                     /usr/lib64/libk5crypto.so.3.1
> 7f5c5da8b000-7f5c5da8c000 rw-p 00031000 fd:00 138510                     /usr/lib64/libk5crypto.so.3.1
> 7f5c5da8c000-7f5c5da8f000 r-xp 00000000 fd:00 139465                     /usr/lib64/libcom_err.so.2.1
> 7f5c5da8f000-7f5c5dc8e000 ---p 00003000 fd:00 139465                     /usr/lib64/libcom_err.so.2.1
> 7f5c5dc8e000-7f5c5dc8f000 r--p 00002000 fd:00 139465                     /usr/lib64/libcom_err.so.2.1
> 7f5c5dc8f000-7f5c5dc90000 rw-p 00003000 fd:00 139465                     /usr/lib64/libcom_err.so.2.1
> 7f5c5dc90000-7f5c5dd65000 r-xp 00000000 fd:00 138520                     /usr/lib64/libkrb5.so.3.3
> 7f5c5dd65000-7f5c5df64000 ---p 000d5000 fd:00 138520                     /usr/lib64/libkrb5.so.3.3
> 7f5c5df64000-7f5c5df73000 r--p 000d4000 fd:00 138520                     /usr/lib64/libkrb5.so.3.3
> 7f5c5df73000-7f5c5df75000 rw-p 000e3000 fd:00 138520                     /usr/lib64/libkrb5.so.3.3
> 7f5c5df75000-7f5c5dfc0000 r-xp 00000000 fd:00 138399                     /usr/lib64/libgssapi_krb5.so.2.2
> 7f5c5dfc0000-7f5c5e1c0000 ---p 0004b000 fd:00 138399                     /usr/lib64/libgssapi_krb5.so.2.2
> 7f5c5e1c0000-7f5c5e1c2000 r--p 0004b000 fd:00 138399                     /usr/lib64/libgssapi_krb5.so.2.2
> 7f5c5e1c2000-7f5c5e1c3000 rw-p 0004d000 fd:00 138399                     /usr/lib64/libgssapi_krb5.so.2.2
> 7f5c5e1c3000-7f5c5e37a000 r-xp 00000000 fd:00 135137                     /usr/lib64/libc-2.22.so
> 7f5c5e37a000-7f5c5e57a000 ---p 001b7000 fd:00 135137                     /usr/lib64/libc-2.22.so
> 7f5c5e57a000-7f5c5e57e000 r--p 001b7000 fd:00 135137                     /usr/lib64/libc-2.22.so
> 7f5c5e57e000-7f5c5e580000 rw-p 001bb000 fd:00 135137                     /usr/lib64/libc-2.22.so
> 7f5c5e580000-7f5c5e584000 rw-p 00000000 00:00 0 
> 7f5c5e584000-7f5c5e59a000 r-xp 00000000 fd:00 139594                     /usr/lib64/libgcc_s-5.1.1-20150618.so.1
> 7f5c5e59a000-7f5c5e799000 ---p 00016000 fd:00 139594                     /usr/lib64/libgcc_s-5.1.1-20150618.so.1
> 7f5c5e799000-7f5c5e79a000 r--p 00015000 fd:00 139594                     /usr/lib64/libgcc_s-5.1.1-20150618.so.1
> 7f5c5e79a000-7f5c5e79b000 rw-p 00016000 fd:00 139594                     /usr/lib64/libgcc_s-5.1.1-20150618.so.1
> 7f5c5e79b000-7f5c5e89c000 r-xp 00000000 fd:00 135151                     /usr/lib64/libm-2.22.so
> 7f5c5e89c000-7f5c5ea9b000 ---p 00101000 fd:00 135151                     /usr/lib64/libm-2.22.so
> 7f5c5ea9b000-7f5c5ea9c000 r--p 00100000 fd:00 135151                     /usr/lib64/libm-2.22.so
> 7f5c5ea9c000-7f5c5ea9d000 rw-p 00101000 fd:00 135151                     /usr/lib64/libm-2.22.so
> 7f5c5ea9d000-7f5c5ec0f000 r-xp 00000000 fd:00 140108                     /usr/lib64/libstdc++.so.6.0.21
> 7f5c5ec0f000-7f5c5ee0f000 ---p 00172000 fd:00 140108                     /usr/lib64/libstdc++.so.6.0.21
> 7f5c5ee0f000-7f5c5ee19000 r--p 00172000 fd:00 140108                     /usr/lib64/libstdc++.so.6.0.21
> 7f5c5ee19000-7f5c5ee1b000 rw-p 0017c000 fd:00 140108                     /usr/lib64/libstdc++.so.6.0.21
> 7f5c5ee1b000-7f5c5ee1f000 rw-p 00000000 00:00 0 
> 7f5c5ee1f000-7f5c5eed2000 r-xp 00000000 fd:01 5506756                    /home/jgras/devel/actor-framework/build/lib/libcaf_io.so.0.14.4
> 7f5c5eed2000-7f5c5f0d1000 ---p 000b3000 fd:01 5506756                    /home/jgras/devel/actor-framework/build/lib/libcaf_io.so.0.14.4
> 7f5c5f0d1000-7f5c5f0d7000 r--p 000b2000 fd:01 5506756                    /home/jgras/devel/actor-framework/build/lib/libcaf_io.so.0.14.4
> 7f5c5f0d7000-7f5c5f0d9000 rw-p 000b8000 fd:01 5506756                    /home/jgras/devel/actor-framework/build/lib/libcaf_io.so.0.14.4
> 7f5c5f0d9000-7f5c5f1d4000 r-xp 00000000 fd:01 5506715                    /home/jgras/devel/actor-framework/build/lib/libcaf_core.so.0.14.4
> 7f5c5f1d4000-7f5c5f3d4000 ---p 000fb000 fd:01 5506715                    /home/jgras/devel/actor-framework/build/lib/libcaf_core.so.0.14.4
> 7f5c5f3d4000-7f5c5f3dc000 r--p 000fb000 fd:01 5506715                    /home/jgras/devel/actor-framework/build/lib/libcaf_core.so.0.14.4
> 7f5c5f3dc000-7f5c5f3de000 rw-p 00103000 fd:01 5506715                    /home/jgras/devel/actor-framework/build/lib/libcaf_core.so.0.14.4
> 7f5c5f3de000-7f5c5f3e1000 r-xp 00000000 fd:00 135144                     /usr/lib64/libdl-2.22.so
> 7f5c5f3e1000-7f5c5f5e0000 ---p 00003000 fd:00 135144                     /usr/lib64/libdl-2.22.so
> 7f5c5f5e0000-7f5c5f5e1000 r--p 00002000 fd:00 135144                     /usr/lib64/libdl-2.22.so
> 7f5c5f5e1000-7f5c5f5e2000 rw-p 00003000 fd:00 135144                     /usr/lib64/libdl-2.22.so
> 7f5c5f5e2000-7f5c5f5fa000 r-xp 00000000 fd:00 135171                     /usr/lib64/libpthread-2.22.so
> 7f5c5f5fa000-7f5c5f7f9000 ---p 00018000 fd:00 135171                     /usr/lib64/libpthread-2.22.so
> 7f5c5f7f9000-7f5c5f7fa000 r--p 00017000 fd:00 135171                     /usr/lib64/libpthread-2.22.so
> 7f5c5f7fa000-7f5c5f7fb000 rw-p 00018000 fd:00 135171                     /usr/lib64/libpthread-2.22.so
> 7f5c5f7fb000-7f5c5f7ff000 rw-p 00000000 00:00 0 
> 7f5c5f7ff000-7f5c5fb6f000 r-xp 00000000 fd:01 5375894                    /home/jgras/devel/bro/build/aux/broker/libbroker.so.0.4-14.0
> 7f5c5fb6f000-7f5c5fd6e000 ---p 00370000 fd:01 5375894                    /home/jgras/devel/bro/build/aux/broker/libbroker.so.0.4-14.0
> 7f5c5fd6e000-7f5c5fd7d000 r--p 0036f000 fd:01 5375894                    /home/jgras/devel/bro/build/aux/broker/libbroker.so.0.4-14.0
> 7f5c5fd7d000-7f5c5fd81000 rw-p 0037e000 fd:01 5375894                    /home/jgras/devel/bro/build/aux/broker/libbroker.so.0.4-14.0
> 7f5c5fd81000-7f5c5fd82000 rw-p 00000000 00:00 0 
> 7f5c5fd82000-7f5c5fdb1000 r-xp 00000000 fd:00 139259                     /usr/lib64/libGeoIP.so.1.6.6
> 7f5c5fdb1000-7f5c5ffb1000 ---p 0002f000 fd:00 139259                     /usr/lib64/libGeoIP.so.1.6.6
> 7f5c5ffb1000-7f5c5ffb2000 r--p 0002f000 fd:00 139259                     /usr/lib64/libGeoIP.so.1.6.6
> 7f5c5ffb2000-7f5c5ffb4000 rw-p 00030000 fd:00 139259                     /usr/lib64/libGeoIP.so.1.6.6
> 7f5c5ffb4000-7f5c5ffc9000 r-xp 00000000 fd:00 140295                     /usr/lib64/libz.so.1.2.8
> 7f5c5ffc9000-7f5c601c8000 ---p 00015000 fd:00 140295                     /usr/lib64/libz.so.1.2.8
> 7f5c601c8000-7f5c601c9000 r--p 00014000 fd:00 140295                     /usr/lib64/libz.so.1.2.8
> 7f5c601c9000-7f5c601ca000 rw-p 00015000 fd:00 140295                     /usr/lib64/libz.so.1.2.8
> 7f5c601ca000-7f5c601e1000 r-xp 00000000 fd:00 135173                     /usr/lib64/libresolv-2.22.so
> 7f5c601e1000-7f5c603e1000 ---p 00017000 fd:00 135173                     /usr/lib64/libresolv-2.22.so
> 7f5c603e1000-7f5c603e2000 r--p 00017000 fd:00 135173                     /usr/lib64/libresolv-2.22.so
> 7f5c603e2000-7f5c603e3000 rw-p 00018000 fd:00 135173                     /usr/lib64/libresolv-2.22.so
> 7f5c603e3000-7f5c603e5000 rw-p 00000000 00:00 0 
> 7f5c603e5000-7f5c60606000 r-xp 00000000 fd:00 137954                     /usr/lib64/libcrypto.so.1.0.2d
> 7f5c60606000-7f5c60806000 ---p 00221000 fd:00 137954                     /usr/lib64/libcrypto.so.1.0.2d
> 7f5c60806000-7f5c60821000 r--p 00221000 fd:00 137954                     /usr/lib64/libcrypto.so.1.0.2d
> 7f5c60821000-7f5c6082e000 rw-p 0023c000 fd:00 137954                     /usr/lib64/libcrypto.so.1.0.2d
> 7f5c6082e000-7f5c60832000 rw-p 00000000 00:00 0 
> 7f5c60832000-7f5c6089f000 r-xp 00000000 fd:00 138211                     /usr/lib64/libssl.so.1.0.2d
> 7f5c6089f000-7f5c60a9f000 ---p 0006d000 fd:00 138211                     /usr/lib64/libssl.so.1.0.2d
> 7f5c60a9f000-7f5c60aa4000 r--p 0006d000 fd:00 138211                     /usr/lib64/libssl.so.1.0.2d
> 7f5c60aa4000-7f5c60aab000 rw-p 00072000 fd:00 138211                     /usr/lib64/libssl.so.1.0.2d
> 7f5c60aab000-7f5c60aeb000 r-xp 00000000 fd:00 139950                     /usr/lib64/libpcap.so.1.7.4
> 7f5c60aeb000-7f5c60ceb000 ---p 00040000 fd:00 139950                     /usr/lib64/libpcap.so.1.7.4
> 7f5c60ceb000-7f5c60ced000 r--p 00040000 fd:00 139950                     /usr/lib64/libpcap.so.1.7.4
> 7f5c60ced000-7f5c60cee000 rw-p 00042000 fd:00 139950                     /usr/lib64/libpcap.so.1.7.4
> 7f5c60cee000-7f5c60d0f000 r-xp 00000000 fd:00 135129                     /usr/lib64/ld-2.22.so
> 7f5c60ee6000-7f5c60ef6000 rw-p 00000000 00:00 0 
> 7f5c60f0c000-7f5c60f0e000 rw-p 00000000 00:00 0 
> 7f5c60f0e000-7f5c60f0f000 r--p 00020000 fd:00 135129                     /usr/lib64/ld-2.22.so
> 7f5c60f0f000-7f5c60f10000 rw-p 00021000 fd:00 135129                     /usr/lib64/ld-2.22.so
> 7f5c60f10000-7f5c60f11000 rw-p 00000000 00:00 0 
> 7ffd67281000-7ffd672a3000 rw-p 00000000 00:00 0                          [stack]
> 7ffd673ce000-7ffd673d0000 r--p 00000000 00:00 0                          [vvar]
> 7ffd673d0000-7ffd673d2000 r-xp 00000000 00:00 0                          [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
> {code}
> The commit ["Use better data structure for storing BPF filters."|https://github.com/bro/bro/commit/6dd32c649b3dcb6ec652366ffaa90966549da008] seems to have introduced the issue. A quick google search indicated that it might be a threading issue.



--
This message was sent by Atlassian JIRA
(v7.1.0-OD-05-006#71001)


More information about the bro-dev mailing list