Author Topic: "unhandled action 4" when closing window  (Read 2774 times)


  • Newbie
  • *
  • Posts: 25
"unhandled action 4" when closing window
« on: May 05, 2012, 03:09:40 PM »
When I opened a file, scrolled through its content, then close the avidemux26 window, I get the following error:
Code: [Select]
  [HandleAction]  ************ EXIT **************
 unhandled action 4
Saving crash file to /home/test/.avidemux6/

The immediate reason for this is that the "switch (action)" statement in avidemux/common/gui_main.cpp:328 has no "case" statement for "ACT_EXIT".

I tried to copy & paste a similar case from earlier in the same source file:
Code: [Select]
   case ACT_EXIT:

Alas, this causes avidemux (instead of crashing) to wait indefinitely after printing
Code: [Select]
[renderDestroy]  Cleaning up Render
  [GUI_XvEnd]  [Xvideo] Releasing Xv Port
at this function:
Code: [Select]
#0  0x00007f52d6205d70 in __pause_nocancel () from /lib64/
#1  0x00007f52d61fff9b in __pthread_mutex_lock_full () from /lib64/
#2  0x0000003997a0902c in xcb_writev () from /usr/lib64/
#3  0x0000003997e4d41a in _XSend () from /usr/lib64/
#4  0x0000003997e3ab2b in XQueryExtension () from /usr/lib64/
#5  0x0000003997e2efd2 in XInitExtension () from /usr/lib64/
#6  0x000000399820e422 in XextAddDisplay () from /usr/lib64/
#7  0x0000003994201746 in XvUngrabPort () from /usr/lib64/
#8  0x00007f52d5acd4f5 in XvRender::stop() () from /usr/local/app/avidemux26/lib/
#9  0x00007f52d5acc72b in renderDestroy() () from /usr/local/app/avidemux26/lib/
#10 0x0000000000435d0a in onexit() ()
#11 0x00007f52d4782d92 in exit () from /lib64/
#12 0x00007f52d476bce4 in __libc_start_main () from /lib64/
#13 0x0000000000430059 in _start ()

This may be related to the "xcb_io.c:445: _XReply: Assertion `!dpy->xcb->reply_data' failed." bug I reported earlier: If I choose "quit" from the menu instead of closing the window, I get this "Assertion `!dpy->xcb->reply_data' failed." crash instead of the above mentioned symptoms.
(But notice how for this bug report, vdpau was not at all involved, as I disabled it in the preferences.)


  • Newbie
  • *
  • Posts: 25
Re: "unhandled action 4" when closing window
« Reply #1 on: May 05, 2012, 03:43:57 PM »
This issue has already been solved by Mean's recent commit fixing the "xcb_io.c:445: _XReply: Assertion `!dpy->xcb->reply_data' failed." issue. Thanks!