dialog: tailboxbg gives segmentation fault

Bug #27853 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
dialog (Debian)
Fix Released
Unknown
dialog (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Automatically imported from Debian bug report #345524 http://bugs.debian.org/345524

Revision history for this message
In , Santiago Vila Doncel (sanvila-unex) wrote : Re: Bug#345524: dialog: tailboxbg gives segmentation fault

severity 345524 serious
forwarded 345524 Thomas Dickey <email address hidden>
thanks

On Sun, 1 Jan 2006, Daniel Lublin wrote:

> Package: dialog
> Version: 1.0-20051219-1
> Severity: important
>
> (Perhaps it was broken already in 20051207. In 20051107 it works,
> though.)
>
> tailboxbg is broken and causes a segfault. [...]

Thanks a lot for the report. I'm upgrading to serious to prevent this
release entering testing.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #345524 http://bugs.debian.org/345524

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sun, 01 Jan 2006 15:16:12 +0100
From: Daniel Lublin <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: dialog: tailboxbg gives segmentation fault

Package: dialog
Version: 1.0-20051219-1
Severity: important

(Perhaps it was broken already in 20051207. In 20051107 it works,
though.)

tailboxbg is broken and causes a segfault. gdb gives:

  Program received signal SIGSEGV, Segmentation fault.
  dlg_register_buttons (win=0x80c06a0, name=0x805e8bf "tailbox",
      buttons=0x0) at dlg_keys.c:108
  108 for (n = 0; buttons[n] != 0; ++n) {
  (gdb) bt
  #0 dlg_register_buttons (win=0x80c06a0, name=0x805e8bf "tailbox",
      buttons=0x0) at dlg_keys.c:108
  #1 0x080529bf in dialog_tailbox (title=0x0, file=0xbffffc2a "hej",
      height=7, width=12, bg_task=1) at tailbox.c:333
  #2 0x0804be9f in call_tailboxbg (t=0x0, av=0xbffffaa8,
      offset_add=0x0) at dialog.c:862
  #3 0x0804b3a7 in main (argc=5, argv=Variable "argv" is not available.
  ) at dialog.c:1449
  (gdb)

It seems to me that the call to dlg_register_buttons() should not be
made, as the tailboxbg has no buttons. I tried only doing this call
when bg_task==false, and got my tailboxbg (it disappeared quickly
ofcourse, no button!).

I then tried tailboxbg with and-widget, as you usually would use it,
and found out that I could not move between the tailboxbg widget and
the other widget (a checklist) with TAB, as was possible before.
Instead, TAB moved between the checklist's OK/Cancel. I suppose this is
a result of the new user-definable key bindings.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 2 Jan 2006 01:47:59 +0100 (CET)
From: Santiago Vila <email address hidden>
To: Daniel Lublin <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#345524: dialog: tailboxbg gives segmentation fault

severity 345524 serious
forwarded 345524 Thomas Dickey <email address hidden>
thanks

On Sun, 1 Jan 2006, Daniel Lublin wrote:

> Package: dialog
> Version: 1.0-20051219-1
> Severity: important
>
> (Perhaps it was broken already in 20051207. In 20051107 it works,
> though.)
>
> tailboxbg is broken and causes a segfault. [...]

Thanks a lot for the report. I'm upgrading to serious to prevent this
release entering testing.

Revision history for this message
In , Thomas Dickey (dickey-his) wrote :

On Mon, 2 Jan 2006, Santiago Vila wrote:

> severity 345524 serious
> forwarded 345524 Thomas Dickey <email address hidden>
> thanks
>
> On Sun, 1 Jan 2006, Daniel Lublin wrote:
>
>> Package: dialog
>> Version: 1.0-20051219-1
>> Severity: important
>>
>> (Perhaps it was broken already in 20051207. In 20051107 it works,
>> though.)
>>
>> tailboxbg is broken and causes a segfault. [...]
>
> Thanks a lot for the report. I'm upgrading to serious to prevent this
> release entering testing.

thanks (I'll take a look at this). tailboxbg has a "button", btw - the
"OK" button - and a quick check shows it broken in 20051207 as well.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 1 Jan 2006 20:34:56 -0500 (EST)
From: Thomas Dickey <email address hidden>
To: Santiago Vila <email address hidden>, <email address hidden>
Subject: Re: Bug#345524: dialog: tailboxbg gives segmentation fault

On Mon, 2 Jan 2006, Santiago Vila wrote:

> severity 345524 serious
> forwarded 345524 Thomas Dickey <email address hidden>
> thanks
>
> On Sun, 1 Jan 2006, Daniel Lublin wrote:
>
>> Package: dialog
>> Version: 1.0-20051219-1
>> Severity: important
>>
>> (Perhaps it was broken already in 20051207. In 20051107 it works,
>> though.)
>>
>> tailboxbg is broken and causes a segfault. [...]
>
> Thanks a lot for the report. I'm upgrading to serious to prevent this
> release entering testing.

thanks (I'll take a look at this). tailboxbg has a "button", btw - the
"OK" button - and a quick check shows it broken in 20051207 as well.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Revision history for this message
In , Thomas Dickey (dickey-his) wrote :

On Sun, 1 Jan 2006, Daniel Lublin wrote:

> Package: dialog
> Version: 1.0-20051219-1
> Severity: important
...
> I then tried tailboxbg with and-widget, as you usually would use it,
> and found out that I could not move between the tailboxbg widget and
> the other widget (a checklist) with TAB, as was possible before.
> Instead, TAB moved between the checklist's OK/Cancel. I suppose this is
> a result of the new user-definable key bindings.

no - that's a different bug that is older than 20051107 (will look into
that, but it's a normal one rather than serious).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 2 Jan 2006 06:26:39 -0500 (EST)
From: Thomas Dickey <email address hidden>
To: Daniel Lublin <email address hidden>, <email address hidden>
Subject: Re: Bug#345524: dialog: tailboxbg gives segmentation fault

On Sun, 1 Jan 2006, Daniel Lublin wrote:

> Package: dialog
> Version: 1.0-20051219-1
> Severity: important
...
> I then tried tailboxbg with and-widget, as you usually would use it,
> and found out that I could not move between the tailboxbg widget and
> the other widget (a checklist) with TAB, as was possible before.
> Instead, TAB moved between the checklist's OK/Cancel. I suppose this is
> a result of the new user-definable key bindings.

no - that's a different bug that is older than 20051107 (will look into
that, but it's a normal one rather than serious).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Revision history for this message
In , Santiago Vila (sanvila) wrote : Bug#345524: fixed in dialog 1.0-20060101-1

Source: dialog
Source-Version: 1.0-20060101-1

We believe that the bug you reported is fixed in the latest version of
dialog, which is due to be installed in the Debian FTP archive:

dialog_1.0-20060101-1.diff.gz
  to pool/main/d/dialog/dialog_1.0-20060101-1.diff.gz
dialog_1.0-20060101-1.dsc
  to pool/main/d/dialog/dialog_1.0-20060101-1.dsc
dialog_1.0-20060101-1_powerpc.deb
  to pool/main/d/dialog/dialog_1.0-20060101-1_powerpc.deb
dialog_1.0-20060101.orig.tar.gz
  to pool/main/d/dialog/dialog_1.0-20060101.orig.tar.gz

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <email address hidden> (supplier of updated dialog package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 2 Jan 2006 14:08:10 +0100
Source: dialog
Binary: dialog
Architecture: source powerpc
Version: 1.0-20060101-1
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <email address hidden>
Changed-By: Santiago Vila <email address hidden>
Description:
 dialog - Displays user-friendly dialog boxes from shell scripts
Closes: 345524
Changes:
 dialog (1.0-20060101-1) unstable; urgency=low
 .
   * New upstream release.
   * Fixed segfault problem in tailboxbg (Closes: #345524).
Files:
 9fdb21e87f0011e041ef48e6db326238 593 misc optional dialog_1.0-20060101-1.dsc
 33ef37b69eeff2c477edeabbdf37f443 328288 misc optional dialog_1.0-20060101.orig.tar.gz
 0146c16f0d69321b5a66bdd1e6bd79b6 8466 misc optional dialog_1.0-20060101-1.diff.gz
 eafd2e5614d05f7ed95cda6e7534646b 224610 misc optional dialog_1.0-20060101-1_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDuSkpd9Uuvj7yPNYRAogzAKCdTlK2zvywBXWuLz/hhAnj7ghSiwCfadj+
Mj0Mmd2FHn3JbssetyqiMR4=
=7NQ+
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 02 Jan 2006 05:47:10 -0800
From: Santiago Vila <email address hidden>
To: <email address hidden>
Subject: Bug#345524: fixed in dialog 1.0-20060101-1

Source: dialog
Source-Version: 1.0-20060101-1

We believe that the bug you reported is fixed in the latest version of
dialog, which is due to be installed in the Debian FTP archive:

dialog_1.0-20060101-1.diff.gz
  to pool/main/d/dialog/dialog_1.0-20060101-1.diff.gz
dialog_1.0-20060101-1.dsc
  to pool/main/d/dialog/dialog_1.0-20060101-1.dsc
dialog_1.0-20060101-1_powerpc.deb
  to pool/main/d/dialog/dialog_1.0-20060101-1_powerpc.deb
dialog_1.0-20060101.orig.tar.gz
  to pool/main/d/dialog/dialog_1.0-20060101.orig.tar.gz

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <email address hidden> (supplier of updated dialog package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 2 Jan 2006 14:08:10 +0100
Source: dialog
Binary: dialog
Architecture: source powerpc
Version: 1.0-20060101-1
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <email address hidden>
Changed-By: Santiago Vila <email address hidden>
Description:
 dialog - Displays user-friendly dialog boxes from shell scripts
Closes: 345524
Changes:
 dialog (1.0-20060101-1) unstable; urgency=low
 .
   * New upstream release.
   * Fixed segfault problem in tailboxbg (Closes: #345524).
Files:
 9fdb21e87f0011e041ef48e6db326238 593 misc optional dialog_1.0-20060101-1.dsc
 33ef37b69eeff2c477edeabbdf37f443 328288 misc optional dialog_1.0-20060101.orig.tar.gz
 0146c16f0d69321b5a66bdd1e6bd79b6 8466 misc optional dialog_1.0-20060101-1.diff.gz
 eafd2e5614d05f7ed95cda6e7534646b 224610 misc optional dialog_1.0-20060101-1_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDuSkpd9Uuvj7yPNYRAogzAKCdTlK2zvywBXWuLz/hhAnj7ghSiwCfadj+
Mj0Mmd2FHn3JbssetyqiMR4=
=7NQ+
-----END PGP SIGNATURE-----

Revision history for this message
Carthik Sharma (carthik) wrote :

version 1.0-20060101-1 in Dapper is the fixed version.

Closing.

Changed in dialog:
status: Unconfirmed → Fix Released
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.