Subject: sigsegv when pressing Enter as soon as ytree starts Package: ytree Version: 1.92-1 Severity: important
Original Ubuntu bug: https://bugs.edge.launchpad.net/ubuntu/+source/ytree/+bug/390747 When Enter is pressed while the focus is on the top directory ytree dies with a SIGSEGV. -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic'), (500, 'jaunty-security'), (500, 'jaunty-proposed'), (500, 'jaunty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-9-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ytree depends on: ii libc6 2.9-9ubuntu2 GNU C Library: Shared libraries ii libncursesw5 5.7+20090523-1ubuntu1 shared libraries for terminal hand ii libreadline5 5.2-4 GNU readline and history libraries Versions of packages ytree recommends: ii mime-support 3.46-1 MIME files 'mime.types' & 'mailcap ytree suggests no packages. -- no debconf information Backtrace: SegvAnalysis: Segfault happened at: 0x7f60653ea2e0 <__gconv_transform_utf8_internal +1328>: movzbl -0x2(%rdx,%rax,1),%edx PC (0x7f60653ea2e0) ok source "-0x2(%rdx,%rax,1)" (0x100007f6064ddb9b7) not located in a known VMA region (needed readable region)! destination "%edx" ok SegvReason: reading unknown VMA Signal: 11 SourcePackage: ytree Stacktrace: #0 0x00007f60653ea2e0 in __gconv_transform_utf8_internal (step=<value optimized out>, data=0x7fff8effa3a0, inptrp=0x7fff8effa3e0, inend=0x249f6c4 "ution-indicator_0.1.15-0ubuntu1.diff.gz", outbufstart=0x0, irreversible=0x7fff8effa3e8, do_flush=0, consume_incomplete=1) at ../iconv/loop.c:390 inptr = <value optimized out> lirreversiblep = (size_t *) 0x7fff8effa338 outbuf = (unsigned char *) 0x7fff8effa3f0 "\004" outend = (unsigned char *) 0x7fff8effa3f4 "" lirreversible = 0 next_step = (struct __gconv_step *) 0x24b0568 next_data = (struct __gconv_step_data *) 0x7fff8effa3d8 fct = (__gconv_fct) 0 status = <value optimized out> __PRETTY_FUNCTION__ = "__gconv_transform_utf8_internal" #1 0x00007f6065452beb in *__GI___mbrtowc (pwc=<value optimized out>, s=0x249f6c0 "evolution-indicator_0.1.15-0ubuntu1.diff.gz", n=<value optimized out>, ps=<value optimized out>) at mbrtowc.c:82 buf = {4} data = {__outbuf = 0x7fff8effa3f0 "\004", __outbufend = 0x7fff8effa3f4 "", __flags = 1, __invocation_counter = 0, __internal_use = 1, __statep = 0x7fff8effa430, __state = {__count = 1, __value = { __wch = 0, __wchb = "\000\000\000"}}, __trans = 0x0} status = <value optimized out> result = <value optimized out> dummy = 140735592506416 inbuf = (const unsigned char *) 0x249f6c0 "evolution-indicator_0.1.15-0ubuntu1.diff.gz" endbuf = (const unsigned char *) 0x249f6c4 "ution-indicator_0.1.15-0ubuntu1.diff.gz" outbuf = (unsigned char *) 0x7fff8effa3f0 "\004" fcts = (const struct gconv_fcts *) 0x248b500 fct = (__gconv_fct) 0x7f60653e9db0 <__gconv_transform_utf8_internal> __PRETTY_FUNCTION__ = "__mbrtowc" #2 0x0000000000410103 in StrLeft (str=0x24af83a "evolution-indicator_0.1.15-0ubuntu1.diff.gz", count=14) at /usr/include/wchar.h:348 state = {__count = -1895845265, __value = {__wch = 32767, __wchb = "ÿ \177\000"}} rez = <value optimized out> p = 0x6f <Address 0x6f out of bounds> tmp = 0xffffffffff8effb2 <Address 0xffffffffff8effb2 out of bounds> len = 0 i = 1 #3 0x0000000000419682 in CutFilename (dest=0x7fff8effa4c0 "@{H\002", src=0x24af83a "evolution-indicator_0.1.15-0ubuntu1.diff.gz", max_len=17) at util.c:540 tmp = <value optimized out> #4 0x0000000000417160 in DisplayFileParameter (file_entry=0x24af790) at stat.c:179 buffer = "@{H\002", '\0' <repeats 12 times>, " " auxbuff = " \000\000\000\000\000\000\000à\233A\000\000\000\000\000\000 \000" #5 0x000000000040c540 in HandleFileWindow (dir_entry=0x2487b40) at filewin.c:1427 fe_ptr = (FileEntry *) 0x24af790 new_fe_ptr = (FileEntry *) 0x7fff8effa958 de_ptr = (DirEntry *) 0x0 dest_dir_entry = (DirEntry *) 0x7f606540d04b walking_package = {new_fe_ptr = 0x49, function_data = {change_modus = { new_modus = "\200\230=\002\000\000\000\000\000¸5"}, change_owner = {new_owner_id = 37591168}, change_group = { new_group_id = 37591168}, execute = {command = 0x23d9880 ""}, copy = {statistic_ptr = 0x23d9880, dest_dir_entry = 0x235b800, to_file = 0x7f606599aeb7 "D\017·K \004fE\205É\017\210\221", to_path = 0x0, path_copy = 128 '\200', confirm = 152 '\230'}, rename = {new_name = 0x23d9880 "", confirm = 0 '\0'}, mv = { dest_dir_entry = 0x23d9880, to_file = 0x235b800 "B", to_path = 0x7f606599aeb7 "D\017·K\004fE\205É\017\210\221", confirm = 0 '\0'}, pipe_cmd = { pipe_file = 0x23d9880}, compress_cmd = {zipfile = 0x23d9880, method = 37074944}}} ch = -1895845265 tmp2 = <value optimized out> unput_char = 0 file_size = <value optimized out> i = <value optimized out> owner_id = <value optimized out> group_id = <value optimized out> start_x = 0 filepath = "\000\000\000\000\000\000\000\000 *se`\177", '\0' <repeats 26 times>, "àò»e`\177\000\...@\200h\002\000\000\000\000¨#\233e`\177\000 \000\t\000\000\000\000\000\000\000\023ï%\002\000\000\000\000xþ»e`\177 \000\000\0207Le`\177\000\000(\000\000\0000\000\000\000Юÿ\216ÿ\177\000 \000\020®ÿ\216ÿ\177\000\000ÿþþþþþþ~\000\005 \000\000\000\000\000PÔ\232e` \177\000\000\005\000\000\000\000\000\000\000Pþ»e`\177\000\000\000\000 \000\000\000\000\000\...@\200h\002\000\000\000\000(þ»e`\177", '\0' <repeats 18 times>, "ļ\232e`\177\000\000\t\000\000\000\000\000\000\000D \"\233e`\177\000\000"... modus = "\000\006\000\000\000\000\000\000 \000" path_copy = <value optimized out> term = <value optimized out> need_dsp_help = 1 '\001' maybe_change_x_step = <value optimized out> new_name = " \000\000\0000\000\000\000 ¬ÿ\216ÿ\177\000\000à«ÿ\216ÿ\177 \000\...@\200h\002\000\000\000\000@\200H\002\000\000\000\000É7Le`\177 \000\000\001\200û\000\000\000\000³\202=\002\000\000\000\000³\202=\002 \000\000\000\000³\202=\002\000\000\000\000³\202=\002\000\000\000\000 ´\202=\002\000\000\000\000ÿÿÿÿÿÿÿÿ³\202=\002\000\000\000\000ÿÿÿÿÿÿÿÿ", '\0' <repeats 40 times>, "@ÿ\216\004\000\000\000B", '\0' <repeats 15 times>, "\220ªÿ\216ÿ\177\000\000³\202=\002\000\000\000\000ÿÿÿÿÿÿÿÿ³\202= \002\000\000\000\000ÿÿÿÿÿÿÿÿ³\202=\002\000\000\000\000\001\000\000"... new_login_path = " \000\000\0000\000\000\000\220¨ÿ\216ÿ\177\000\000Чÿ \216ÿ\177\000\...@\230b\000Ä\n\000\000(¬ÿ\216ÿ\177\000\000H¬ÿ\216ÿ\177 \000\000ð«ÿ\216ÿ\177\000\...@¬ÿ\216ÿ\177\000\000\000\000\000\000\000\000 \000\000àò»e`\177\000\000B\200H\002\000\000\000\000¨#\233e`\177\000 \000ç©ÿ\216ÿ\177\000\000 §ÿ\216ÿ\177\000\000xþ»e`\177\000\000ðÿ\216ÿ \177\000\...@\200h\002\000\000\000\000Цÿ\216\207«ÿ\216\001\000\000\000ÿ \177\000\000\000\000\000\000Ä\n\000\000B\200H\002\000\000\000\000Ȭÿ \216ÿ\177\000\0007ªÿ\216ÿ\177\000\000\200¦ÿ\216ÿ\177\000\000²\202=\002 \000\000\000\000"... dir_window_width = 1895847592 dir_window_height = 0 to_dir = '\0' <repeats 1024 times> to_path = '\0' <repeats 1024 times> to_file = '\0' <repeats 1024 times> #6 0x0000000000407b6f in HandleSwitchWindow (dir_entry=0x2487b40, start_dir_entry=0x2487b40, need_dsp_help=0x7fff8effb26f "", ch=0x7fff8effb268) at dirwin.c:791 No locals. #7 0x0000000000408640 in HandleDirWindow (start_dir_entry=0x2487b40) at dirwin.c:1030 dir_entry = (DirEntry *) 0x2487b40 i = <value optimized out> ch = 13 unput_char = 0 need_dsp_help = 0 '\0' new_name = " ¶ÿ\216ÿ\177\000\000'�...@\000\000\000\000\000ø\bb\000\000 \000\000\000+ºNe`\177\000\000/home/hggdh/.ytree-hst\000\000\000·ÿ\216ÿ \177\000\000\000\003\000\000\000\000\000\000¹\224?J1\000\000\000\033\000 \000\000\000\000\000\000'\000\000\000\000\000\000\000\000Jse`\177\000 \000\000Jse`\177\000\000\220ã%\0021\000\000\000àÜ%\002", '\0' <repeats 12 times>, "\002", '\0' <repeats 15 times>, "\206\023De`\177\000\000°â% \002\000\000\000\000\000\003\000\000\000\000\000\000\000Jse`\177\000\000 \000 Çe`\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000 \000\000"... new_login_path = "\000\000\000\000\000\000\000\000\030PH\002\000\000 \000\000ø´ÿ\216ÿ\177\000\000\220LH\002\000\000\000\0000µÿ\216ÿ\177\000 \000>£¼e`\177\000\000\000\000\000\000\000\000\000\000(EH\002\000\000\000 \000\001\000\000\000ÿ\177\000\000\000\000\000\000\000\000\000\000\001 \000\000\000ÿ\177\000\000\b´ÿ\216ÿ\177\000\000\020´ÿ\216ÿ\177\000\0008 \vÞe`\177\000\000?´ÿ\216ÿ\177\000\000\000\000\000\000\001\000\000\000(EH \002\000\000\000\000èOH\002\000\000\000\0000´ÿ\216ÿ\177\000\000\220LH \002\000\000\000\000/Ù×d`\177\000\000`´ÿ\216ÿ\177\000\000 rH\002\000\000 \000\000<\234¼e`\177\000\000àÖ×d`\177\000\000"... home = <value optimized out> #8 0x0000000000412a6c in main (argc=1, argv=0x7fff8effbbb8) at main.c:107 p = 0x628ea0 "/usr/src/buildd/." argi = <value optimized out> hist = <value optimized out> conf = <value optimized out>
signature.asc
Description: This is a digitally signed message part