bacula-console-qt does nothing but freeze after start

Bug #1567824 reported by Karl-Philipp Richter
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Nish Aravamudan

Bug Description

[Impact]

 * bacula-console-qt fails to start.

[Test Case]

 * Install bacula-console-qt. Attempt to run it and it will freeze/hang.

[Regression Potential]

 * The fix for this bug is to change the linker flags (via DEB_MAINT_LDFLAGS_STRIP) to remove -Bsymbolic-functions. The reason this fix is necessary is explained by the upstream maintainer in: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1553563/comments/21.

 * The regression potential seems low, as it only affects bacula's internal code, which currently does not work at all.

There's no feedback from GUI or on console what's happening which already should be improved.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bacula-console-qt 7.0.5+dfsg-4build1
Uname: Linux 4.4.6-040406-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 8 10:15:54 2016
InstallationDate: Installed on 2015-12-12 (117 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: bacula
UpgradeStatus: Upgraded to xenial on 2016-03-14 (24 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
Revision history for this message
Nish Aravamudan (nacc) wrote :

Would it be possible to run

`strace -f o -log bacula-console-qt` and provide the log file?

I do not have a configured bacula instance, but will see if I can set something up.

Changed in bacula (Ubuntu):
assignee: nobody → Nish Aravamudan (nacc)
status: New → Triaged
Changed in bacula (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Nish Aravamudan (nacc) wrote :

Hello, I have done some backporting and integrating of the suggestion in LP# 1553563 c11.

Please test the 'fixed' version at: https://launchpad.net/~nacc/+archive/ubuntu/bacula, specifically 7.4.1~dfsg-1.1~ppa7 and report back if it resolves the issue in this bug for you.

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

7.4.1~dfsg-1.1~ppa6 from referenced PPA works well. Thanks for the fix.

Revision history for this message
Nish Aravamudan (nacc) wrote :

@Karl-Philipp, to be clear, did you test ~ppa6 or ~ppa7 (and if the former, can you verify I didn't break anything with the latter).

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

> @Karl-Philipp, to be clear, did you test ~ppa6 or ~ppa7 (and if the former, can you verify I didn't break anything with the latter).
I verified that it works with ~ppa7 as well. I only opened the GUI which works fine because I never used bacula before (I wanted, but this now fixed issue was in the way).

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: [Bug 1567824] Re: bacula-console-qt does nothing but freeze after start

On 24.06.2016 [07:19:30 -0000], Karl-Philipp Richter wrote:
> > @Karl-Philipp, to be clear, did you test ~ppa6 or ~ppa7 (and if the former, can you verify I didn't break anything with the latter).
> I verified that it works with ~ppa7 as well. I only opened the GUI
> which works fine because I never used bacula before (I wanted, but
> this now fixed issue was in the way).

Great, thanks for confirming!

Revision history for this message
Nish Aravamudan (nacc) wrote :

One last request: Please test the potential fix version at:

https://launchpad.net/~nacc/+archive/ubuntu/bacula

Which results in 7.4.1~dfsg-1ubuntu1~ppa1 on yakkety or 7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa2 on xenial.

description: updated
Revision history for this message
Nish Aravamudan (nacc) wrote :

Hello all,

After reviewing the other open Bacula bugs, I've set up a new PPA with a more normal versioning and (hopefully) fixes to all the issues I know about on 16.04 and 16.10 (and I think handles upgrading from 14.04 to 16.04)

https://launchpad.net/~nacc/+archive/ubuntu/bacula3

16.04: 7.0.5+dfsg-4ubuntu0.1~ppa1
16.10: 7.4.2+dfsg-1ubuntu1~ppa1

Please test these versions and report back, I'd like to see if we can these both sponsored quickly.

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

The latest available is 7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa3 which seems past 7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa2. The issue is fixed there (comprehensive dialog when started without necessary permissions and opening of console otherwise).

Changed in bacula (Ubuntu Xenial):
status: New → Fix Committed
Changed in bacula (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Nish Aravamudan (nacc) wrote :

On 20.07.2016 [16:49:59 -0000], Karl-Philipp Richter wrote:
> The latest available is
> 7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa3 which seems past
> 7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa2. The issue is fixed
> there (comprehensive dialog when started without necessary permissions
> and opening of console otherwise).

Ok, good to know.

> ** Changed in: bacula (Ubuntu Xenial)
> Status: New => Fix Committed

This isn't true, please don't make this state change, as publishing in a
PPA does not mean it's been put in -proposed.

> ** Changed in: bacula (Ubuntu)
> Status: Triaged => Fix Committed

It's actuall Fix released in 16.10, as 7.4.3 has the fix already.

Changed in bacula (Ubuntu Xenial):
status: Fix Committed → In Progress
Changed in bacula (Ubuntu):
status: Fix Committed → Fix Released
Nish Aravamudan (nacc)
Changed in bacula (Ubuntu):
assignee: Nish Aravamudan (nacc) → nobody
Changed in bacula (Ubuntu Xenial):
assignee: nobody → Nish Aravamudan (nacc)
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Karl-Philipp, or anyone else affected,

Accepted bacula into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/bacula/7.0.5+dfsg-4ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in bacula (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Mathew Hodson (mhodson)
Changed in bacula (Ubuntu Xenial):
importance: Undecided → Medium
Changed in bacula (Ubuntu):
importance: Medium → High
Changed in bacula (Ubuntu Xenial):
importance: Medium → High
Revision history for this message
Nish Aravamudan (nacc) wrote :

Verified in 7.0.5+dfsg-4ubuntu0.1.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bacula - 7.0.5+dfsg-4ubuntu0.1

---------------
bacula (7.0.5+dfsg-4ubuntu0.1) xenial; urgency=medium

  * debian/patches/libmysqlclient_r.patch: Fix bug where MySQL 5.7 is
    improperly linked on Ubuntu 16.04. Closes LP: #1570923.
  * debian/patches/disable_mysql_NO_ZERO_DATE.patch: Disable
    NO_ZERO_DATE mode for MySQL table creation. Closes LP: #1591397,
    LP: #1577858.
  * d/rules: do not use -Bsymoblic-functions when linking. Closes
    LP: #1553563, LP: #1567824.
  * debian/patches/fix_batch_mode.patch: Detect that MySQL 5.7 is thread
    safe and enable batch mode. Closes LP: #1592749.

 -- Nishanth Aravamudan <email address hidden> Fri, 15 Jul 2016 14:34:59 -0700

Changed in bacula (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for bacula has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.