Bug#345524: dialog: tailboxbg gives segmentation fault

2006-01-02 Thread Thomas Dickey

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


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#345524: dialog: tailboxbg gives segmentation fault

2006-01-01 Thread Daniel Lublin
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=0xbc2a hej, 
  height=7, width=12, bg_task=1) at tailbox.c:333
  #2  0x0804be9f in call_tailboxbg (t=0x0, av=0xbaa8, 
  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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#345524: dialog: tailboxbg gives segmentation fault

2006-01-01 Thread Santiago Vila
severity 345524 serious
forwarded 345524 Thomas Dickey [EMAIL PROTECTED]
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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#345524: dialog: tailboxbg gives segmentation fault

2006-01-01 Thread Thomas Dickey

On Mon, 2 Jan 2006, Santiago Vila wrote:


severity 345524 serious
forwarded 345524 Thomas Dickey [EMAIL PROTECTED]
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


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]