bug: 1060249 title: frontend crashed with signal 5 in free_pending_nulls() date-reported: Tue, 02 Oct 2012 14:54:10 -0000 date-updated: Sat, 01 Jun 2013 01:37:45 -0000 reporter: Jean-Baptiste Lallement (jibel) duplicate-of: duplicates: 1046347 1058165 1058193 1058223 1058245 1058264 1058275 1058278 1058317 1058319 1058439 1058459 1058461 1058482 1058526 1058532 1058551 1058554 1058556 1058562 1058579 1058634 1058673 1058697 1058726 1058729 1058788 1058800 1058890 1058947 1058990 1059080 1059133 1059180 1059216 1059225 1059255 1059256 1059257 1059283 1059306 1059311 1059312 1059336 1059338 1059380 1059495 1059532 1059604 1059614 1059654 1059795 1059985 1060307 1060666 1060881 1060916 1061033 1061112 1061694 1061888 1062044 1062096 1062871 1063516 1064105 1064131 1064775 1064902 attachments: https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365260/+files/Dependencies.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365261/+files/Disassembly.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365262/+files/ProcMaps.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365263/+files/ProcStatus.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365264/+files/Registers.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365265/+files/Stacktrace.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365266/+files/ThreadStacktrace.txt text/plain; charset="utf-8" https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365284/+files/Stacktrace.txt text/plain https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3365285/+files/ThreadStacktrace.txt text/plain https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3392145/+files/StackTrace.out text/plain https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3392146/+files/ThreadStackTrace.out text/plain https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1060249/+attachment/3396095/+files/apt-term.log text/plain patches: tags: amd64 apport-crash iso-testing qa-manual-testing quantal subscribers: Jean-Baptiste Lallement (jibel) Apport retracing service (apport) Crash bug triagers for Ubuntu packages (ubuntu-crashes-universe) Marius B. Kotsbak (mariusko) Tepee (tepee) dpg77 (dpg77) Priskin Erik (erik-priskin) n_s_simpson (6-launchpad-nicksimpson-co-uk) Afzal Asef Alam (afzalnabil) Daniel Dietrich (shaddowy2) Tomasz (0-tomasz-u) dinel (dinel) Silas Lenz (silas-lenz) Ryan (technosis) Daniel O'Connor (daniel-oconnor) Ezra Sharp (nicekiwi) gil (gil-harari) mabawsa (mabawsa) Franco Catena (francocatena) Emma Bordiga (oddfox) task: debconf status: Fix Released date-created: Wed, 17 Oct 2012 13:33:15 -0000 date-closed: Tue, 11 Dec 2012 03:52:47 -0000 date-fix-released: Tue, 11 Dec 2012 03:52:47 -0000 reporter: James Hunt (jamesodhunt) watch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690776 importance: Unknown assignee: milestone: task: debconf (Ubuntu) status: Fix Released date-created: Tue, 02 Oct 2012 14:54:10 -0000 date-left-new: Tue, 02 Oct 2012 15:09:46 -0000 date-confirmed: Tue, 02 Oct 2012 15:38:01 -0000 date-triaged: Wed, 17 Oct 2012 13:36:18 -0000 date-assigned: Wed, 03 Oct 2012 10:55:11 -0000 date-inprogress: Wed, 17 Oct 2012 13:36:18 -0000 date-closed: Tue, 11 Dec 2012 10:55:16 -0000 date-fix-committed: Wed, 17 Oct 2012 13:36:18 -0000 date-fix-released: Tue, 11 Dec 2012 10:55:16 -0000 date-left-closed: Tue, 02 Oct 2012 15:23:07 -0000 reporter: Jean-Baptiste Lallement (jibel) importance: High component: main assignee: James Hunt (jamesodhunt) milestone: task: gsettings-desktop-schemas (Ubuntu) status: Fix Released date-created: Fri, 12 Oct 2012 10:37:10 -0000 date-left-new: Fri, 12 Oct 2012 10:37:48 -0000 date-confirmed: Fri, 12 Oct 2012 10:37:48 -0000 date-triaged: Fri, 12 Oct 2012 10:37:48 -0000 date-assigned: Fri, 12 Oct 2012 10:37:41 -0000 date-inprogress: Fri, 12 Oct 2012 10:52:11 -0000 date-closed: Fri, 12 Oct 2012 10:52:11 -0000 date-fix-committed: Fri, 12 Oct 2012 10:52:11 -0000 date-fix-released: Fri, 12 Oct 2012 10:52:11 -0000 reporter: Didier Roche-Tolomelli (didrocks) importance: High component: main assignee: Didier Roche-Tolomelli (didrocks) milestone: task: debconf (Ubuntu Precise) status: Invalid date-created: Tue, 02 Oct 2012 18:07:03 -0000 date-left-new: Tue, 02 Oct 2012 18:07:34 -0000 date-closed: Tue, 02 Oct 2012 18:07:34 -0000 reporter: Steve Langasek (vorlon) importance: Undecided component: main assignee: milestone: task: debconf (Ubuntu Quantal) status: Won't Fix date-created: Tue, 02 Oct 2012 18:07:03 -0000 date-left-new: Tue, 02 Oct 2012 15:09:46 -0000 date-assigned: Wed, 03 Oct 2012 10:55:11 -0000 date-closed: Fri, 12 Oct 2012 19:04:21 -0000 date-left-closed: Tue, 02 Oct 2012 15:23:07 -0000 reporter: Steve Langasek (vorlon) importance: High assignee: James Hunt (jamesodhunt) milestone: task: gsettings-desktop-schemas (Ubuntu Quantal) status: Fix Released date-created: Fri, 12 Oct 2012 10:37:10 -0000 date-left-new: Fri, 12 Oct 2012 10:37:48 -0000 date-confirmed: Fri, 12 Oct 2012 10:37:48 -0000 date-triaged: Fri, 12 Oct 2012 10:37:48 -0000 date-assigned: Fri, 12 Oct 2012 10:37:41 -0000 date-inprogress: Fri, 12 Oct 2012 10:52:11 -0000 date-closed: Fri, 12 Oct 2012 10:52:11 -0000 date-fix-committed: Fri, 12 Oct 2012 10:52:11 -0000 date-fix-released: Fri, 12 Oct 2012 10:52:11 -0000 reporter: Didier Roche-Tolomelli (didrocks) importance: High assignee: Didier Roche-Tolomelli (didrocks) milestone: Content-Type: multipart/mixed; boundary="===============5776239331288899547==" MIME-Version: 1.0 --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Crashed during upgrade from Precise to Quantal without any visible effect TEST CASE 1: 1. Install Precise 12.04.1 2. Upgrade to Quantal TEST CASE 2: This test case is used to reproduce the debconf crash: 1. Install Precise 12.04.1 and apply updates 2. Enable apt repository for Quantal 3. Install gsettings-desktop-schemas from Quantal: $ sudo apt-get install gsettings-desktop-schemas/quantal 4. Run man-db trigger manually with: $ sudo DEBIAN_FRONTEND=3Dgnome \ /usr/bin/perl -w /usr/share/debconf/frontend \ /var/lib/dpkg/info/man-db.postinst triggered \ /usr/share/man =3D> Verify that debconf crashes Actually any gtk based application will crash. ACTUAL RESULT This crash is reported on first login after upgrade. ProblemType: Crash DistroRelease: Ubuntu 12.10 Package: debconf 1.5.46ubuntu1 ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4 Uname: Linux 3.5.0-16-generic x86_64 ApportVersion: 2.6.1-0ubuntu1 Architecture: amd64 Date: Tue Oct 2 14:59:09 2012 ExecutablePath: /usr/share/debconf/frontend InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (201= 20425) InterpreterPath: /usr/bin/perl PackageArchitecture: all ProcCmdline: /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/inf= o/man-db.postinst triggered /usr/share/man ProcEnviron: =C2=A0TERM=3Dxterm =C2=A0PATH=3D(custom, user) =C2=A0LANG=3Dfr_FR.UTF-8 =C2=A0SHELL=3D/bin/bash Signal: 5 SourcePackage: debconf StacktraceTop: =C2=A0?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 =C2=A0g_node_copy_deep () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 =C2=A0?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 =C2=A0?? () =C2=A0g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0= .so.0 Title: frontend crashed with signal 5 in g_node_copy_deep() UpgradeStatus: Upgraded to quantal on 2012-10-02 (0 days ago) UserGroups: --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Tue, 02 Oct 2012 14:54:10 -0000 Message-Id: <20121002145410.14958.65051.malone@gac.canonical.com> --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Apport retracing service (apport) Date: Tue, 02 Oct 2012 15:09:41 -0000 Message-Id: <20121002150941.17817.82686.malone@soybean.canonical.com> StacktraceSource: #0 0x00007f5b4c964fdb in ?? () #1 0x0000000002ff5101 in ?? () #2 0x0000000400000000 in ?? () #3 0x0000000000000001 in ?? () #4 0x0000000000000000 in ?? () StacktraceTop: ?? () ?? () ?? () ?? () ?? () --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Apport retracing service (apport) Date: Tue, 02 Oct 2012 15:09:41 -0000 Message-Id: <20121002150942.14874.21809.malone@gac.canonical.com> --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Apport retracing service (apport) Date: Tue, 02 Oct 2012 15:09:42 -0000 Message-Id: <20121002150943.17573.91770.malone@soybean.canonical.com> --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Apport retracing service (apport) Date: Tue, 02 Oct 2012 15:09:46 -0000 Message-Id: <20121002150947.18029.65565.malone@soybean.canonical.com> Thank you for your report! However, processing it in order to get sufficient information for the developers failed (it does not generate a useful symbolic stack trace). This might be caused by some outdated packages which were installed on your syst= em at the time of the report: outdated debug symbol package for libstdc++6: package version 4.7.2-2ubuntu= 1 dbgsym version 4.6.3-1ubuntu5 package liboverlay-scrollbar-0.2-0 does not exist, ignoring Please upgrade your system to the latest package versions. If you still encounter the crash, please file a new report. Thank you for your understanding, and sorry for the inconvenience! --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Tue, 02 Oct 2012 15:23:48 -0000 Message-Id: <20121002152348.5279.17764.malone@wampee.canonical.com> Setting to 'new' given the number of duplicates. --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Tue, 02 Oct 2012 15:37:59 -0000 Message-Id: <20121002153800.18111.41894.malone@soybean.canonical.com> Status changed to 'Confirmed' because the bug affects multiple users. --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Ubuntu QA Website (ubuntuqa) Date: Tue, 09 Oct 2012 21:27:54 -0000 Message-Id: <20121009212755.2435.54390.malone@chaenomeles.canonical.com> This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1060249 --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Wed, 10 Oct 2012 09:52:20 -0000 Message-Id: <20121010095220.4080.78100.malone@gac.canonical.com> I reproduce the crash with debug symbols installed, Stack trace attached: StacktraceTop: free_pending_nulls (perform_nulls=3D4, context=3D) at /buil= d/buildd/glib2.0-2.34.0/./glib/goption.c:1618 g_node_copy_deep (node=3D0x400000000, copy_func=3D0x1, data=3D0x7f4f8082f5= 30) at /build/buildd/glib2.0-2.34.0/./glib/gnode.c:198 g_io_unix_read (channel=3D0x7f4f88e23740 , buf=3D0x5
, count=3D1, bytes_read=3D0x7f4f88e23770 ,= err=3D0x0) at /build/buildd/glib2.0-2.34.0/./glib/giounix.c:191 ?? () g_signal_emit_valist (instance=3D0x1, signal_id=3D, detail= =3D0, var_args=3D0x1c8c7f0) at /build/buildd/glib2.0-2.34.0/./gobject/gsign= al.c:3211 --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Wed, 10 Oct 2012 09:52:43 -0000 Message-Id: <20121010095243.32676.22412.malone@soybean.canonical.com> --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Fri, 12 Oct 2012 09:36:50 -0000 Message-Id: <20121012093650.7959.51839.malone@gac.canonical.com> From the upgrade log attached Processing triggers for man-db ... (frontend:8100): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.inte= rface' does not contain a key named 'ubuntu-overlay-scrollbars' debconf: Impossible d'initialiser l'interface=C2=A0: Gnome debconf: (DISPLAY problem?) debconf: Utilisation de l'interface Dialog en remplacement debconf: Impossible d'initialiser l'interface=C2=A0: Dialog debconf: (L'interface dialog a besoin d'un =C3=A9cran d'au moins 13 lignes = sur 31 colonnes.) debconf: Utilisation de l'interface Readline en remplacement --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Fri, 12 Oct 2012 10:23:28 -0000 Message-Id: <20121012102328.8423.53146.malone@gac.canonical.com> I think the problem is that the perl gtk binding uses the old version of gtk library but the schema is migrated to the version in Quantal and the location of the key changed and is now in com.canonical.desktop.interface.scollbar-mode --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Fri, 12 Oct 2012 10:52:10 -0000 Message-Id: <20121012105212.16876.24002.malone@ackee.canonical.com> This bug was fixed in the package gsettings-desktop-schemas - 3.6.0-0ubuntu3 --------------- gsettings-desktop-schemas (3.6.0-0ubuntu3) quantal; urgency=3Dlow * Readd ubuntu_overlay-scrollbars.patch: - we need the deprecated schema for upgrade from precise until next LTS in case this package is updated before the overlay-scrollbar one (so still referencing the old key) and that a debconf prompt is loade= d: perl-gtk will try to fetch this old schema and crash (LP: #1060249) -- Didier Roche Fri, 12 Oct 2012 12:40:22 +0200 --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steve Langasek (vorlon) Date: Fri, 12 Oct 2012 19:05:10 -0000 Message-Id: <20121012190510.19422.55051.malone@gac.canonical.com> The underlying segfault has been fixed, so no further changes to debconf needed in quantal. --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: James Hunt (jamesodhunt) Date: Wed, 17 Oct 2012 13:04:43 -0000 Message-Id: <20121017130443.28511.58635.malone@soybean.canonical.com> The problem with debconf needs a little explanation. As show, the command that caused the failure was: /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/man- db.postinst triggered /usr/share/man The 'frontend' perl script determines which type of debconf frontend to display. In this case, the gnome frontend was selected. debconf then goes to some pains to ensure that the gtk bindings work. However, because of the gsettings schema problem, as soon as any perl script called 'use Gtk2;', the schema was queried, which resulted in the crash. Since the master debconf process calls 'use Gtk2;' unconditionally, the schema problem caused debconf (technically the perl interpreter) to crash. And since debconf re-execs the original caller (in this case '/var/lib/dpkg/info/man-db.postinst') as itself, this stopped debconf from falling back to other frontends as it should as it was now effectively dead. The fix is for debconf to only 'use Gtk2;' when it has proven that this operation can be performed without impacting the perl interpreter. This allows it to fall back gracefully to alternative frontends. --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: James Hunt (jamesodhunt) Date: Wed, 17 Oct 2012 13:05:47 -0000 Message-Id: <20121017130547.4948.46044.malone@chaenomeles.canonical.com> Branch for when 'R' opens: https://code.launchpad.net/~jamesodhunt/ubuntu/quantal/debconf/bug-1060249 Patch sent to Debian. --===============5776239331288899547== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Tue, 11 Dec 2012 10:55:15 -0000 Message-Id: <20121211105518.11972.82333.malone@ackee.canonical.com> This bug was fixed in the package debconf - 1.5.48ubuntu1 --------------- debconf (1.5.48ubuntu1) raring; urgency=3Dlow * Resynchronise with Debian (LP: #1060249). Remaining changes: - Gnome.pm: Do not show "Cancel" or "Close" buttons, to avoid breaking maintainer scripts. debconf (1.5.48) unstable; urgency=3Dlow * dpkg-reconfigure: Fix incorrect scoping of control_path that broke handling of multiple packages (closes: #690755, LP: #1076322). debconf (1.5.47) unstable; urgency=3Dlow [ Manpages translations ] * German updated. [ Joey Hess ] * GTK frontend: Do additional probing in child process to catch cases where trying to use GTK will cause an otherwise uncatchable crash. Closes: #690776 Thanks, James Hunt * debconf-devel.7: Mention that CAPB capabilities are separated with spac= es. Closes: #694626 [ Colin Watson ] * dpkg-reconfigure: Fix trigger processing to cope properly if some of the triggered packages use debconf (closes: #686071). -- Colin Watson Tue, 11 Dec 2012 09:59:45 +0000 --===============5776239331288899547==--