Hello,
I am not able to reproduce your problem. I am using a different
Bacula version than you are, but the code in bat is the same. The
only difference is that I am using Qt 4.8.4. If I am not mistaken
that version is required by 5.2.12, and if it is not, you should be
using it.
I recommend that you get the right Qt version as Qt has lots
of problems and bugs. The latest depkg-qt has version 4.8.4
and it is not very difficult to build.
One you have that version, if it still fails, I would be interested
to see a traceback when bat crashes. You will need to manually
run bat under the debugger.
Best regards,
Kern
On 05/12/2013 02:31 PM, Otacílio wrote:
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
------------------------------------------------------------------------------
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