Project

General

Custom queries

Profile

Actions

Bug #311

closed

Segmentation fault

Added by Schaeffer Jonathan over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
High
Assigned To:
Schaeffer Jonathan
Category:
-
Start date:
12/28/2009
Due date:
% Done:

0%

Estimated time:

Description

La stack :

(gdb) where
#0 0xf79c6f92 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6
#1 0x080b0813 in std::_Rb_tree_iterator<std::pair::operator++ (this=0xf7229cc4)
at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:182
#2 0x080af05e in treqs::QueuesController::cleanDoneQueues (this=0x80f4780) at /afs/in2p3.fr/home/j/jschaeff/factory/treqs2/src/QueuesController.cpp:151
#3 0x08093c86 in treqs::Dispatcher::OnTask (this=0xfffcabc0) at /afs/in2p3.fr/home/j/jschaeff/factory/treqs2/src/Dispatcher.cpp:30
#4 0x080c988f in CThread::KernelProcess (this=0xfffcabc0) at /afs/in2p3.fr/home/j/jschaeff/factory/treqs2/src/ThreadObject/Thread.cpp:327
#5 0x080ca331 in _THKERNEL (lpvData=0xfffcabc0) at /afs/in2p3.fr/home/j/jschaeff/factory/treqs2/src/ThreadObject/Thread.cpp:149
#6 0xf77ed43b in start_thread () from /lib/libpthread.so.0
#7 0xf78ccfde in clone () from /lib/libc.so.6

Actions #1

Updated by Schaeffer Jonathan over 15 years ago

  • Assigned To set to Schaeffer Jonathan
  • Priority changed from Low to High
Actions #2

Updated by Schaeffer Jonathan over 15 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Schaeffer Jonathan over 15 years ago

Le workflow est le suivant :
Dispatcher veut demander un cleanup au QueuesController
QueuesController appelle Queue::prepare_cleanup() appelle Reading::prepare_cleanup() appelle FilePositionOntapesController::unregister()
Puis la queue est retirée de la map : QueuesMap.erase(qit);

Normalement, on reboucle tout de suite. Mais là, pendant 3 minutes, plus rien. Puis le segmentation fault

2009-12-28 16:45:10,590 DEBUG Dispatcher - Cleaning unreferenced instances
2009-12-28 16:45:10,590 DEBUG QueuesController - Looping
2009-12-28 16:45:10,590 DEBUG QueuesController - Queue JT251000is not ended
2009-12-28 16:45:10,590 DEBUG QueuesController - Looping
2009-12-28 16:45:10,590 DEBUG QueuesController - Queue JT372800 is ended. Cleanup starting
2009-12-28 16:45:10,590 DEBUG Queue - Telling the reading objects to unregister themselves
2009-12-28 16:45:10,590 DEBUG Reading - preparing cleanup
2009-12-28 16:45:10,590 DEBUG Controller - unregistering one reference of /hpss3/dcache/cms/hpssdata/00002CC95F89A1A24F51A46876CBBC7DE558. Still left :0
2009-12-28 16:45:10,590 DEBUG Queue - Queue destructor called
2009-12-28 16:45:10,590 DEBUG QueuesController - Queue JT372800: Cleanup done

Program received signal SIGSEGV, Segmentation fault.

Actions #4

Updated by Schaeffer Jonathan over 15 years ago

  • Status changed from Assigned to Resolved
Actions #5

Updated by Schaeffer Jonathan over 15 years ago

Corrigé dans le commit : bbfae65811484a9777c91530b9e6b10195eda964

Actions

Also available in: Atom PDF