! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar: XGetXCBConnection() - Thunar crash on "Open Terminal Here"
Status:
RESOLVED: INVALID

Comments

Description Mukundan Ragavan 2019-03-08 00:06:28 CET
Downstream bug report - https://bugzilla.redhat.com/show_bug.cgi?id=1671797

Bug also present in Thunar 1.8.4 according to reporter.



Description of problem:
A simple click on "Open Terminal Here" in Thunar while on any folder will crash every instances of Thunar.

Version-Release number of selected component:
Thunar-1.8.2-1.fc29

Additional info:
reporter:       libreport-2.9.7
backtrace_rating: 4
cmdline:        thunar
crash_function: XGetXCBConnection
executable:     /usr/bin/thunar
journald_cursor: s=c1195d7294b44228a82fa3676d336b0c;i=12c52;b=79ea6712d9da4dc0a1319f9eee9ec7a3;m=927e9dd;t=57e93e4ea2599;x=184b0b2c172b32c0
kernel:         4.19.13-300.fc29.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 XGetXCBConnection at x11_xcb.c:9
 #1 sn_display_new at sn-common.c:77
 #2 IA__xfce_spawn_on_screen_with_child_watch at xfce-spawn.c:374
 #3 thunar_uca_provider_activated at thunar-uca-provider.c:387
 #12 _gtk_action_emit_activate at deprecated/gtkaction.c:909
 #13 _g_closure_invoke_va at gclosure.c:873
 #16 gtk_widget_activate at gtkwidget.c:7777
 #17 gtk_menu_shell_activate_item at gtkmenushell.c:1375
 #18 gtk_menu_shell_button_release at gtkmenushell.c:791
 #19 _gtk_marshal_BOOLEAN__BOXEDv at gtkmarshalers.c:129
Comment 1 alexxcons editbugs 2019-03-09 00:05:13 CET
Thanks for reporting!

I cannot reproduce the crash.
Even though creating an account, I cannot view the original bugreport. So I need some more information:

1. Can you please post the command, used for the UCA "Open Terminal Here"
For me it is: "exo-open --working-directory %f --launch TerminalEmulator"  which did not lead to any crahes so far
Best post the full "Open Terminal Here" entry of $HOME/.config/Thunar/uca.xml

2. Is the crash reproducable on all folders ? No matter which permission ?


"xfce_spawn_on_screen_with_child_watch" is inside thunar .... it seems to make use of the arguments given by the UCA command.
Comment 2 Mukundan Ragavan 2019-03-20 22:15:08 CET
Downstream reporter mentions the folowing - 



1. Mine is "exo-open --working-directory %f --launch TerminalEmulator" witch is exactly the same as yours

2. It crash on any files or folders no matter which permission

It also crash if i replace it with "gnome-terminal --working-directory %f" and keep crashing even if i replace all with "gnome-terminal" or "xterm" or other terminals

Interesting i created many different custom actions for test with random applications and none of them crashed... so i tried unchecking "startup notification" checkbox and now it works perfectly.



For what it's worth, I could not reproduce this bug on my system.
Comment 3 alexxcons editbugs 2019-03-20 22:22:47 CET
Hmm .. intresting. As far as I can tell, this option should show you a mouse idle pointer until the UCA application is launched.
Possibly the bug could be icon-theme specific as well.

.. so you dont have a backtrace, and you cannot reproduce it any more ?

Than there is little hope that we can fix it.  In that case I would suggest to close the bug ( feel free to reopen, if it should occur again ! )
Comment 4 Mukundan Ragavan 2019-03-20 22:30:16 CET
(In reply to alexxcons from comment #3)
> Hmm .. intresting. As far as I can tell, this option should show you a mouse
> idle pointer until the UCA application is launched.
> Possibly the bug could be icon-theme specific as well.
> 
> .. so you dont have a backtrace, and you cannot reproduce it any more ?
> 

I was never able to reproduce this bug ... The original reporter is not seeing this anymore.

> Than there is little hope that we can fix it.  In that case I would suggest
> to close the bug ( feel free to reopen, if it should occur again ! )

I agree. I will close this now and reopen in the future, if needed.

Bug #15181

Reported by:
Mukundan Ragavan
Reported on: 2019-03-08
Last modified on: 2019-03-20

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Attachments

Additional information