Public bug reported:

On Kubuntu 15.04 amd64, while running installer to upgrade to 15.10, the
GUI froze at 89% complete and /var/log/dist-upgrade/main.log ended with
the stack trace below. I indeed have a custom server.xml configuration
for Tomcat, so it looks like it crashes when it needs to show the
configuration dialog (use maintainers/existing/diff).

Yesterday on #kubuntu channel there was someone complaining about the
same thing - his installer GUI froze at %80, and he found a similar
stack trace in the log (I only know the last line of the trace was
identical, didn't see the full stack trace). He said in his case it
looks related to the sane (scanner package) custom configuration file
dialog prompt.

I think this is a pretty critical bug since an aborted OS upgrade is
likely to render the system unusable for the average user, and it does
little to encourage confidence of users in the OS distribution.


2015-10-24 14:34:12,360 DEBUG got a conffile-prompt from dpkg for file: 
'/etc/tomcat7/server.xml'
2015-10-24 14:34:12,362 DEBUG UI version is 4.0
2015-10-24 14:34:12,362 DEBUG uiname is dialog_conffile
2015-10-24 14:34:12,362 DEBUG toplevel widget is QDialog
2015-10-24 14:34:12,362 DEBUG setting property geometry
2015-10-24 14:34:12,362 DEBUG setting property windowTitle
2015-10-24 14:34:12,362 DEBUG setting property modal
2015-10-24 14:34:12,362 DEBUG push QDialog dialog_conffile
2015-10-24 14:34:12,362 DEBUG push QGridLayout gridlayout
2015-10-24 14:34:12,362 DEBUG setting property text
2015-10-24 14:34:12,362 DEBUG push QPushButton show_difference_button
2015-10-24 14:34:12,362 DEBUG pop widget QPushButton show_difference_button
2015-10-24 14:34:12,362 DEBUG new topwidget <PyQt5.QtWidgets.QDialog object at 
0x7fd6799e39d8>
2015-10-24 14:34:12,362 DEBUG setting property sizePolicy
2015-10-24 14:34:12,362 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG setting property pixmap
2015-10-24 14:34:12,363 DEBUG setting property wordWrap
2015-10-24 14:34:12,363 DEBUG push QLabel textLabel2
2015-10-24 14:34:12,363 DEBUG pop widget QLabel textLabel2
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.QtWidgets.QDialog object at 
0x7fd6799e39d8>
2015-10-24 14:34:12,363 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG setting property wordWrap
2015-10-24 14:34:12,363 DEBUG push QLabel label_conffile
2015-10-24 14:34:12,363 DEBUG pop widget QLabel label_conffile
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.QtWidgets.QDialog object at 
0x7fd6799e39d8>
2015-10-24 14:34:12,363 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG push QPushButton keep_button
2015-10-24 14:34:12,363 DEBUG pop widget QPushButton keep_button
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.QtWidgets.QDialog object at 
0x7fd6799e39d8>
2015-10-24 14:34:12,363 DEBUG setting property text
2015-10-24 14:34:12,363 DEBUG push QPushButton replace_button
2015-10-24 14:34:12,363 DEBUG pop widget QPushButton replace_button
2015-10-24 14:34:12,363 DEBUG new topwidget <PyQt5.QtWidgets.QDialog object at 
0x7fd6799e39d8>
2015-10-24 14:34:12,364 DEBUG push QTextEdit textview_conffile
2015-10-24 14:34:12,364 DEBUG pop widget QTextEdit textview_conffile
2015-10-24 14:34:12,364 DEBUG new topwidget <PyQt5.QtWidgets.QDialog object at 
0x7fd6799e39d8>
2015-10-24 14:34:12,364 DEBUG pop layout QGridLayout gridlayout
2015-10-24 14:34:12,364 DEBUG pop widget QDialog dialog_conffile
2015-10-24 14:34:12,364 DEBUG new topwidget None
2015-10-24 14:34:12,365 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-7bai3dvc/wily", line 8, in <module>
    sys.exit(main())

  File "/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeMain.py", 
line 240, in main
    if app.run():

  File 
"/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeController.py", 
line 1837, in run
    return self.fullUpgrade()

  File 
"/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeController.py", 
line 1802, in fullUpgrade
    if not self.doDistUpgrade():

  File 
"/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeController.py", 
line 1143, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)

  File "/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeCache.py", 
line 267, in commit
    apt.Cache.commit(self, fprogress, iprogress)

  File "/usr/lib/python3/dist-packages/apt/cache.py", line 501, in commit
    # which is less than optimal!

  File "/usr/lib/python3/dist-packages/apt/cache.py", line 465, in
install_archives

  File "/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeView.py", 
line 234, in run
    res = os.WEXITSTATUS(self.wait_child())

  File 
"/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeViewKDE.py", line 
451, in wait_child
    self.update_interface()

  File 
"/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeViewKDE.py", line 
430, in update_interface
    InstallProgress.update_interface(self)

  File "/usr/lib/python3/dist-packages/apt/progress/base.py", line 252, in 
update_interface
    self.conffile(match.group(1), match.group(2))

  File 
"/tmp/ubuntu-release-upgrader-7bai3dvc/DistUpgrade/DistUpgradeViewKDE.py", line 
339, in conffile
    
self.confDialogue.show_difference_button.clicked.connect(self.showConffile())

TypeError: argument 1 has unexpected type 'NoneType'

2015-10-24 14:34:12,366 DEBUG running apport_crash()
2015-10-24 14:34:12,393 DEBUG enabling apt cron job

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509655

Title:
  installer crashed on custom configuration file dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1509655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to