Dears

I'm facing a core dump when on bat I choose "Pools"->Right click on
volume name->Edit Volume->Change "Volume Status"->click Ok

This procedure many time raises a core dump after receive the answers
from bacula director. I found that the problem is something like the
answer processed two times. After a search I commented the line 310 from

bacula-5.2.12/src/qt-console/bcomm/dircomm.cpp

changing to

304for (;;) {
305         if (!m_sock) break;
306         stat = m_sock->wait_data_intr(0, 50000);
307         if (stat > 0) {
308            break;
309         }
310          //app->processEvents();
311         if (m_api_set && m_console->is_messagesPending() &&
is_notify_enabled()  && m_console->hasFocus()) {
312            if (mainWin->m_commDebug) Pmsg1(000, "conn %i
process_events\n", m_conn);
313            m_console->messagesPending(false);
314            m_console->write_dir(m_conn, ".messages", false);
315         }
316      }

And the core dump goes out. What do you guys think about it? Is this the
best solution?

My system is a FreeBSD 8.3 with Qt 4.8.2

Thanks a lot
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to