m20io / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Assertion `m_firstLoaded != -1' failed #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I had the assertion below trigger twice over the evening. Not sure how to 
reproduce, the data (contraction hierarchies and gps grid) is always the same, 
the queries (coordinates) always different.

MoNavD: blockcache.h:109: void BlockCache<Block>::useBlock(int) [with Block = 
CompressedGraph::Block]: Assertion `m_firstLoaded != -1' failed.

Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
#0  0x0012d422 in __kernel_vsyscall ()
#1  0x0068b651 in *__GI_raise (sig=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x0068ea82 in *__GI_abort () at abort.c:92
#3  0x00684718 in *__GI___assert_fail (assertion=0x806ec0c "m_firstLoaded != 
-1", file=0x806ebec "blockcache.h", line=109, 
    function=0x806ee60 "void BlockCache<Block>::useBlock(int) [with Block = CompressedGraph::Block]") at assert.c:81
#4  0x0805e9b1 in BlockCache<CompressedGraph::Block>::useBlock(int) ()
#5  0x0805d356 in BlockCache<CompressedGraph::Block>::getBlock(unsigned int) ()
#6  0x0805c9a1 in CompressedGraph::getBlock(unsigned int) ()
#7  0x0805c07e in CompressedGraph::edges(unsigned int) ()
#8  0x0805c100 in CompressedGraph::findEdge(unsigned int, unsigned int) ()
#9  0x0805ae61 in ContractionHierarchiesClient::computeRoute (this=0x809fab8, 
inputSource=..., inputTarget=..., path=0xbfffea20) at 
contractionhierarchiesclient.cpp:208
#10 0x0805ad85 in ContractionHierarchiesClient::GetRoute (this=0x809fab8, 
distance=0xbfffea00, path=0xbfffea20, source=..., target=...) at 
contractionhierarchiesclient.cpp:98
#11 0x0805774a in RoutingDaemon::computeRoute (this=0xbffff2dc, 
resultDistance=0xbfffea00, resultPath=0xbfffea20, source=..., target=...) at 
routinddaemon.h:162
#12 0x0805700e in RoutingDaemon::newConnection (this=0xbffff2dc) at 
routinddaemon.h:83
#13 0x0805638c in RoutingDaemon::qt_metacall (this=0xbffff2dc, 
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffeafc) at 
moc_routinddaemon.cpp:74
#14 0x003df6ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, 
void**) () from /usr/lib/libQtCore.so.4
#15 0x003f2455 in QMetaObject::activate(QObject*, QMetaObject const*, int, 
void**) () from /usr/lib/libQtCore.so.4
#16 0x001ed5c7 in QLocalServer::newConnection() () from 
/usr/lib/libQtNetwork.so.4
#17 0x001edaa2 in QLocalServer::incomingConnection(unsigned int) () from 
/usr/lib/libQtNetwork.so.4
#18 0x001f3870 in ?? () from /usr/lib/libQtNetwork.so.4
#19 0x001ed64b in QLocalServer::qt_metacall(QMetaObject::Call, int, void**) () 
from /usr/lib/libQtNetwork.so.4
#20 0x003df6ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, 
void**) () from /usr/lib/libQtCore.so.4
#21 0x003f2455 in QMetaObject::activate(QObject*, QMetaObject const*, int, 
void**) () from /usr/lib/libQtCore.so.4
#22 0x00443a33 in QSocketNotifier::activated(int) () from 
/usr/lib/libQtCore.so.4
#23 0x003f7177 in QSocketNotifier::event(QEvent*) () from 
/usr/lib/libQtCore.so.4
#24 0x003d9213 in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) () 
from /usr/lib/libQtCore.so.4
#25 0x003d98a3 in QCoreApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtCore.so.4
#26 0x003d996b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from 
/usr/lib/libQtCore.so.4
#27 0x0040856a in ?? () from /usr/lib/libQtCore.so.4
#28 0x0081e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x008222d8 in ?? () from /lib/libglib-2.0.so.0
#30 0x008224b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00408195 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#32 0x003d8419 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#33 0x003d889a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#34 0x003dce4f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0x0804e5bd in QtService<QCoreApplication>::executeApplication 
(this=0xbffff2e4) at qtservice-2.6_1-opensource/src/qtservice.h:189
#36 0x0804ed8e in QtServiceBasePrivate::run (this=0x807e2b0, asService=false, 
argList=...) at qtservice-2.6_1-opensource/src/qtservice.cpp:469
#37 0x0804fdcd in QtServiceBase::exec (this=0xbffff2e4) at 
qtservice-2.6_1-opensource/src/qtservice.cpp:804
#38 0x0804dcc8 in main (argc=2, argv=0xbffff3f4) at main.cpp:69

Original issue reported on code.google.com by earthwi...@gentoo.org on 5 Sep 2010 at 8:35

GoogleCodeExporter commented 8 years ago
You can reproduce it by a sequence of

bin/DaemonTest --load-data /path/to/data
bin/DaemonTest --get-route co ord ina tes
bin/DaemonTest --load-data /path/to/data
bin/DaemonTest --get-route co ord ina tes

Original comment by earthwi...@gentoo.org on 5 Sep 2010 at 8:44

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r224.

Original comment by veaac.fd...@gmail.com on 6 Sep 2010 at 8:31

GoogleCodeExporter commented 8 years ago
This issue was closed by revision e79e75d1f580.

Original comment by veaac.fd...@gmail.com on 23 Apr 2011 at 3:58