I will take a look.

On Thu, Feb 12, 2015 at 10:28 AM, Salvatore Cambria
<salvatore.camb...@citrix.com> wrote:
> On 12/02/15 07:57, Ben Pfaff wrote:
>>
>> On Tue, Feb 10, 2015 at 03:57:04PM +0000, Salvatore Cambria wrote:
>>>
>>> I am a Software Engineer from Citrix, Cambridge UK office.
>>>
>>> We are having a problem when running our nightly test on a XenServer host
>>> with lacp bonds with OVS. Indeed, when deleting the bond the following
>>> /segfault/ error appears (from GDB):
>>>
>>> Program terminated with signal 11, Segmentation fault.
>>
>> Andy, do you want to take an initial look at this?  You are probably
>> more familiar with the code than anyone else, since I believe that you
>> implemented the recirculation-based bonds.
>
>
> Thanks for looking into this.
>
> Here is the full backtrace
>
> Thread 6 (Thread 0x7faa8a083700 (LWP 3958)):
> #0  0x00007faa8d3b2f7d in __lll_lock_wait () from /lib64/libpthread.so.0
> #1  0x00007faa8d3aed41 in _L_lock_790 () from /lib64/libpthread.so.0
> #2  0x00007faa8d3aec47 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #3  0x00000000004caae0 in ovs_mutex_lock_at ()
> #4  0x000000000041fa91 in handle_flow_mod__ ()
> #5  0x000000000041a0dc in ofproto_flow_mod ()
> #6  0x0000000000430800 in ofproto_dpif_delete_internal_flow ()
> #7  0x0000000000412764 in update_recirc_rules ()
> #8  0x0000000000413733 in bond_update_post_recirc_rules ()
> #9  0x000000000043e424 in output_normal ()
> #10 0x000000000043f0e5 in xlate_normal ()
> #11 0x000000000044143f in xlate_output_action ()
> #12 0x0000000000441eb4 in do_xlate_actions ()
> #13 0x0000000000443610 in xlate_actions__ ()
> #14 0x0000000000442e67 in xlate_actions ()
> #15 0x000000000043a0a6 in revalidate_ukey ()
> #16 0x000000000043a918 in revalidate ()
> #17 0x000000000043870a in udpif_revalidator ()
> #18 0x00000000004cb896 in ovsthread_wrapper ()
> #19 0x00007faa8d3acdf3 in start_thread () from /lib64/libpthread.so.0
> #20 0x00007faa8cbd001d in clone () from /lib64/libc.so.6
>
> Thread 5 (Thread 0x7faa8de1fa40 (LWP 1420)):
> #0  0x00007faa8d3b2f7d in __lll_lock_wait () from /lib64/libpthread.so.0
> #1  0x00007faa8d3aed41 in _L_lock_790 () from /lib64/libpthread.so.0
> #2  0x00007faa8d3aec47 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #3  0x00000000004caae0 in ovs_mutex_lock_at ()
> #4  0x000000000044b6ab in ofmonitor_run ()
> #5  0x000000000044753f in connmgr_run ()
> #6  0x00000000004193fb in ofproto_run ()
> #7  0x000000000040ab7d in bridge_run__ ()
> #8  0x000000000040ace8 in bridge_run ()
> #9  0x00000000004101b5 in main ()
>
> Thread 4 (Thread 0x7faa8b085700 (LWP 3956)):
> #0  0x00007faa8cbc5a4d in poll () from /lib64/libc.so.6
> #1  0x00000000004ed9d5 in time_poll ()
> #2  0x00000000004dc1ef in poll_block ()
> #3  0x00000000004384aa in udpif_upcall_handler ()
> #4  0x00000000004cb896 in ovsthread_wrapper ()
> #5  0x00007faa8d3acdf3 in start_thread () from /lib64/libpthread.so.0
> #6  0x00007faa8cbd001d in clone () from /lib64/libc.so.6
>
> Thread 3 (Thread 0x7faa8a884700 (LWP 3957)):
> #0  0x00007faa8cbc5a4d in poll () from /lib64/libc.so.6
> #1  0x00000000004ed9d5 in time_poll ()
> #2  0x00000000004dc1ef in poll_block ()
> #3  0x00000000004384aa in udpif_upcall_handler ()
> #4  0x00000000004cb896 in ovsthread_wrapper ()
> #5  0x00007faa8d3acdf3 in start_thread () from /lib64/libpthread.so.0
> #6  0x00007faa8cbd001d in clone () from /lib64/libc.so.6
>
> Thread 2 (Thread 0x7faa89081700 (LWP 1427)):
> #0  0x00007faa8cbc5a4d in poll () from /lib64/libc.so.6
> #1  0x00000000004ed9d5 in time_poll ()
> #2  0x00000000004dc1ef in poll_block ()
> #3  0x00000000004ca890 in ovsrcu_postpone_thread ()
> #4  0x00000000004cb896 in ovsthread_wrapper ()
> #5  0x00007faa8d3acdf3 in start_thread () from /lib64/libpthread.so.0
> #6  0x00007faa8cbd001d in clone () from /lib64/libc.so.6
>
> Thread 1 (Thread 0x7faa89882700 (LWP 3959)):
> #0  0x0000000000411a16 in hmap_remove ()
> #1  0x00000000004127e4 in update_recirc_rules ()
> #2  0x0000000000413733 in bond_update_post_recirc_rules ()
> #3  0x000000000043e424 in output_normal ()
> #4  0x000000000043f0e5 in xlate_normal ()
> #5  0x000000000044143f in xlate_output_action ()
> #6  0x0000000000441eb4 in do_xlate_actions ()
> #7  0x0000000000443610 in xlate_actions__ ()
> #8  0x0000000000442e67 in xlate_actions ()
> #9  0x000000000043a0a6 in revalidate_ukey ()
> #10 0x000000000043a918 in revalidate ()
> #11 0x000000000043870a in udpif_revalidator ()
> #12 0x00000000004cb896 in ovsthread_wrapper ()
> #13 0x00007faa8d3acdf3 in start_thread () from /lib64/libpthread.so.0
> #14 0x00007faa8cbd001d in clone () from /lib64/libc.so.6
>
> (gdb) thread
> [Current thread is 1 (Thread 0x7faa89882700 (LWP 3959))]
>
> Regards,
> Salvatore
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to