[ previous ] [ next ] [ threads ]
 
 From:  Punky <punkytse at gmail dot com>
 To:  "Manuel Kasper" <mk at neon1 dot net>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] New concept/architecture: "m0n0AP" preview
 Date:  Sun, 22 Jul 2007 16:15:25 +0800
Hi Manuel and all,

I had been try very hard to find out why m0n0cored crashed so frequent
when running on linux but make no progress.  Almost every time, it
crashes in deleting WorkQueueEntry object.  This was very frastrating
to me, as I can't proceed any further.

Did you get the same?

core was generated by `./bin/m0n0cored -f -d 9 -c config.xml -t /tmp
-u /var/tmp -z ./server.crt -m /m'.
Program terminated with signal 11, Segmentation fault.
#0  0x08137283 in ?? ()
(gdb) up
#1  0x080d5b27 in WorkQueue::run (this=0x81380a8) at WorkQueue.cpp:95
95                              delete ent;
(gdb) list
90                      ent->execute();
91
92                      ent->markAsDone();
93
94                      if (ent->getDeleteWhenDone())
95                              delete ent;
96              }
97
98              logger->logDebug("exiting run loop");
99      }
(gdb) print *ent
$1 = {_vptr.WorkQueueEntry = 0x10271d98, done = 96, deleteWhenDone = 21,
  doneMutex = {__m_reserved = 0, __m_count = 73, __m_owner = 0x0,
    __m_kind = 50, __m_lock = {__status = -1, __spinlock = 1347703880}},
  doneCond = {__c_lock = {__status = 825110831, __spinlock = 808464928},
    __c_waiting = 0xd4b4f20, __padding = "\nServer: XMLRPC++ 0.71-mc\000\000",
    __align = 738141111079403520}}
(gdb)



On 7/18/07, Punky <punkytse at gmail dot com> wrote:
> Hi Manuel,
>
> Yes, it is running.  But it crashes sometimes when delete WorkQueueEntry...
>

-- 
-- 
Regards,
Punky

P U N K N ! X  . c o m
Technology + Lifestyle
(http://www.punknix.com)

V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - Senao NMP-8602 Plus (400mW) is now in stock!