Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21688 - [ncurses] Bug: crash while navigation

Attached to Project: Arch Linux
Opened by Krzysztof Grygiencz (kfgz) - Saturday, 13 November 2010, 16:33 GMT
Last edited by Allan McRae (Allan) - Monday, 15 November 2010, 05:45 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Hi,

My colleague (Kamil Ignacek - author of cdw) found a bug in ncurses - http://permalink.gmane.org/gmane.comp.lib.ncurses.bugs/3559


Steps to reproduce:

1. Install cdw form AUR.
2. Run cdw and choose "Write image to disk".
3. Navigate to directory which name is 51+ characters long.
4. cdw crashes.

Backtrace:

#0 0x00007ffff6bf9595 in raise () from /lib/libc.so.6
#1 0x00007ffff6bfaa16 in abort () from /lib/libc.so.6
#2 0x00007ffff6c332cb in ?? () from /lib/libc.so.6
#3 0x00007ffff6c38676 in ?? () from /lib/libc.so.6
#4 0x00007ffff6c3d47c in free () from /lib/libc.so.6
#5 0x00007ffff79d2922 in set_field_buffer () from /usr/lib/libformw.so.5
#6 0x0000000000436cf9 in cdw_input_line_refresh_with_string (
input_line=0x707140,
string=0x70a330 "/home/ffiasd/working_area/plytka/konfiguracja_routera_z_modemem_adsl_pod_usluge_neostrada__bib504_pliki/") at cdw_widgets.c:2252
#7 0x000000000044c443 in cdw_fs_ui_file_picker_driver (picker=0x6983c0)
at cdw_file_picker.c:323
#8 0x000000000044bad3 in cdw_fs_ui_file_picker (
title=0x46ff5a "Path to iso image",
message=0x46ff18 "Please enter FULL path to an existing iso image file for writing:", caller_fullpath=0x69b420, expected_file_type=2,
expected_permissions=4, expected_new_or_existing=2)
at cdw_file_picker.c:129
#9 0x000000000041fb67 in cdw_burn_disc_get_source (burn_task=0x7fffffffdfd0)
at cdw_burn_disc.c:366
#10 0x000000000041ecc7 in cdw_burn_disc (task_id=1) at cdw_burn_disc.c:92
#11 0x0000000000404a84 in cdw_main_loop () at main.c:453
#12 0x000000000040469d in main (argc=1, argv=0x7fffffffe3d8) at main.c:238


Solution: PKGBUILD in attachment.
   PKGBUILD (2.9 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 15 November 2010, 05:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  ncurses-5.7-4
Comment by Andrea Scarpino (BaSh) - Saturday, 13 November 2010, 17:12 GMT
please attach the patch. That PKGBUILD downloads a tarball with a script which applies the patch (WTF?)
Comment by Krzysztof Grygiencz (kfgz) - Saturday, 13 November 2010, 17:38 GMT
OK
Comment by Krzysztof Grygiencz (kfgz) - Saturday, 13 November 2010, 17:52 GMT
Allan, maybe you could apply all the patches (from 2008.11 to 2010.11) because ncurses 5.7 in Arch is pretty old (2008.11).
Comment by Allan McRae (Allan) - Monday, 15 November 2010, 05:39 GMT
I do not want to apply those patches as that is really the developmental branch of ncurses. From experience, these can result in needing to do unexpected rebuilds/ I will stick to the latest stable release and apply bug fix patches as necessary.

Loading...