From: Mantis B. T. <no...@bu...> - 2011-10-25 01:13:25
|
A NOTE has been added to this issue. ====================================================================== http://bugs.bacula.org/view.php?id=1771 ====================================================================== Reported By: tjbutt Assigned To: ====================================================================== Project: bacula Issue ID: 1771 Category: bat Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2011-10-23 23:48 BST Last Modified: 2011-10-25 02:13 BST ====================================================================== Summary: bat crashes on sekection of client list Description: I have built bat on an Ubuntu 11.10 system from source fetched via git as of 17th Oct 2011. I noted previous tickets, and made sure to use out Qt 4.6.2 installation (commercial license). When selecting the 'Clients' or 'Pools' options, bat segfaults and crashes. When Selecting the media list, bat does not display any media. The exact same behaviour is shown on the downloaded win32 install when running bat. Our server is running on Ubuntu 10.04.3, also running 5.1.x code, and using a postgres 9.1 database for catalog storage. bconsole works OK in both cases. Steps to Reproduce: Build bat with Qt 4.6.2 Select 'Clients' or 'Pools' ====================================================================== ---------------------------------------------------------------------- (0006008) kern (administrator) - 2011-10-24 00:25 http://bugs.bacula.org/view.php?id=1771#c6008 ---------------------------------------------------------------------- I don't understand how you built Bat. You mention three operating systems in your report: Ubuntu 10.10, Ubuntu 10.04, and Windows XP. If you built on 10.10, I don't understand how you can be sure you are using Qt 4.6.2, because you don't seem to have used our build procedure. What version of Bat are you running on Win32? The only released version is for Bacula 5.0.3, and that won't even come close to working on Bacula 5.1.x. If you want to build bat, I recommend you build it on your server 10.04.03, which has the correct version of Qt. If you are mixing versions of Bat and the Director, you are out of luck -- it won't work. Bat must always be on the same version as the Director. I suspect this is a build problem because I run Bat every day on Ubuntu 10.04.03 and I can assure you it does not seg fault, at least as you describe. ---------------------------------------------------------------------- (0006009) tjbutt (reporter) - 2011-10-25 01:56 http://bugs.bacula.org/view.php?id=1771#c6009 ---------------------------------------------------------------------- Let me clarify, My personal machine runs Ubuntu 10.10, and I have a separate installation of Qt on it. I set the QTDIR environment variable and added the Qt 4.6.2 bin directory to the head of the path to ensure that the correct tools were used. I configured in the usual way (config.log attached), ran make, and checked the output to ensure the correct includes were used for bat. After installing, I ran ldd on bat to check the correct libraries were used (output attached) The hostname for this machine is sw-manx, and it runs bacula-fd, as well as being used for the console tools (bconsole and bat). The attached files are named accordingly. ---------------------------------------------------------------------- (0006010) tjbutt (reporter) - 2011-10-25 02:00 http://bugs.bacula.org/view.php?id=1771#c6010 ---------------------------------------------------------------------- Our server machine ('wolf') runs Ubuntu 10.04, and uses Qt 4.6.2 as a deb package (as you observed). This machine runs the postgres catalog database, bacula-dir, bacula-sd, bacula-fd, and is used for bconsole and bat as well. A similar build process is used as for my client machine, except for the use of the Qt libraries supplied by Ubuntu. I have attached the ldd output for bat, and the config log for this system too. ---------------------------------------------------------------------- (0006011) tjbutt (reporter) - 2011-10-25 02:13 http://bugs.bacula.org/view.php?id=1771#c6011 ---------------------------------------------------------------------- Finally, a little while ago, I fetched the 5.2.0rc1 (04 August 2011) win32 bacula build released via sourceforge and installed it on another client machine. Everything works fine, except that bat crashes in the same was as my other machines. I have built bacula many times previously (5.0.[123], 3.x) and not had problems running bat. Given that bat works perfectly for you, I am at a loss - I ran it using gdb and looked at the stack trace where it failed, a long sequence of Qt calls, apparently related to list widget. Unfortunately I did not have time to follow that up. Some possibly unusual things about our config: * Over 20 clients, mostly windows, some linux clients (probably not that unusual) * I am not sure of the interaction between qwt and Qt, our qwt is whatever ws installed with each Ubuntu. * To see the same error on 3 platforms seems to point towards the server possibly sending something unusual - I am guessing here. I am happy to capture packet dumps, or stack traces, if that will help. Thanks, Tony Butt I think my 5.0.3 clients still work normally - I will try to check today. Issue History Date Modified Username Field Change ====================================================================== 2011-10-23 23:48 tjbutt New Issue 2011-10-24 00:25 kern Note Added: 0006008 2011-10-24 00:25 kern Status new => feedback 2011-10-24 00:25 kern Resolution open => unable to reproduce 2011-10-25 01:56 tjbutt Note Added: 0006009 2011-10-25 01:56 tjbutt Status feedback => new 2011-10-25 01:57 tjbutt File Added: bat.ldd.sw-manx 2011-10-25 01:57 tjbutt File Added: config.log.sw-manx 2011-10-25 02:00 tjbutt Note Added: 0006010 2011-10-25 02:01 tjbutt File Added: config.log.wolf 2011-10-25 02:01 tjbutt File Added: bat.ldd.wolf 2011-10-25 02:13 tjbutt Note Added: 0006011 ====================================================================== |