Ticket #2034 (closed defect: invalid)

Opened 14 years ago

Last modified 3 years ago

mc crashes when subshell is fed from X clipboard

Reported by: jnovy Owned by:
Priority: major Milestone:
Component: mc-core Version: 4.7.0.2
Keywords: Cc: andrew_b, zaytsev
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by zaytsev) (diff)

User reported a crash when he accidentially pressed a middle button to a shell which was active (compilation), then mc crashed with the following backtrace:

0x00007fa0e976c2d3 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
Missing separate debuginfos, use: debuginfo-install nss-mdns-0.10-8.fc12.x86_64
(gdb) t a a bt

Thread 1 (process 13513):
#0  0x00007fa0e976c2d3 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82
#1  0x000000000044243a in feed_subshell (how=0, fail_on_error=<value optimized out>) at subshell.c:963
#2  0x0000000000442a5d in do_subshell_chdir (directory=<value optimized out>, do_update=<value optimized out>, 
    reset_prompt=<value optimized out>) at subshell.c:827
#3  0x0000000000413738 in panel_callback (w=0x19feb70, msg=<value optimized out>, parm=<value optimized out>) at screen.c:2826
#4  0x000000000040ca5a in send_message (h=0x19f8000) at ../src/dialog.h:235
#5  dlg_focus (h=0x19f8000) at dialog.c:404
#6  0x000000000040cdd8 in do_select_widget (h=0x19f8000, w=0x1a195c0, dir=SELECT_NEXT) at dialog.c:502
#7  0x0000000000412d9a in do_panel_event (event=0x7fff03915b50, data=0x19feb70) at screen.c:3029
#8  panel_event (event=0x7fff03915b50, data=0x19feb70) at screen.c:3079
#9  0x000000000040d1bf in dlg_mouse_event (h=0x19f8000, key=<value optimized out>, event=<value optimized out>) at dialog.c:763
#10 dlg_process_event (h=0x19f8000, key=<value optimized out>, event=<value optimized out>) at dialog.c:821
#11 0x000000000040d510 in frontend_run_dlg (h=0x19f8000) at dialog.c:855
#12 run_dlg (h=0x19f8000) at dialog.c:870
#13 0x000000000043f27f in setup_panels_and_run_mc () at main.c:1791
#14 do_nc () at main.c:1889
#15 0x000000000043f87c in main (argc=1, argv=0x7fff03915f28) at main.c:2216

Change History

comment:1 Changed 14 years ago by angel_il

please say how to reproduce this crash, step by step...

comment:2 Changed 14 years ago by angel_il

i try copy MC with Shift-left mouse in panels and paste in command line by shift-middle mouse (many clicks), after this MC hangup. It related problems?

comment:3 Changed 12 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases

comment:4 Changed 8 years ago by zaytsev

  • Cc andrew_b, zaytsev added
  • Description modified (diff)

I can't reproduce this anymore... invalid / worksforme?

comment:5 Changed 3 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Future Releases deleted

I can't reproduce this anymore too.

mc-4.8.25.

Last edited 3 years ago by andrew_b (previous) (diff)
Note: See TracTickets for help on using tickets.