Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when chromium tries to show zip file contents in mate-terminal #85

Closed
cweiske opened this issue Mar 17, 2015 · 0 comments
Closed

Comments

@cweiske
Copy link

cweiske commented Mar 17, 2015

What I do

  1. Open mate-terminal
  2. Start chromium
  3. Click a downloaded .zip-file
  4. It runs xdg-open, which in the end tries to show the contents of a zip file in a terminal

The crash does not happen when mate-terminal is not running before clicking the zip file.
Happens with mate-terminal 1.8.1+dfsg1-4~trusty1.

Processes

/bin/sh /usr/bin/xdg-open /home/cweiske/Downloads/2015-03-12 manual snapshot.zip
/usr/bin/perl /usr/bin/run-mailcap --action=view /home/cweiske/Downloads/2015-03-12 manual snapshot.zip
sh -c unzip -l '/home/cweiske/Downloads/2015-03-12 manual snapshot.zip' | /usr/bin/run-mailcap --action=view text/plain:-
/usr/bin/perl /usr/bin/run-mailcap --action=view text/plain:-
sh -c /usr/bin/x-terminal-emulator -T '- (text/plain)' -e /usr/bin/run-mailcap --action=view 'text/plain:/tmp/fileyCq4kp'
/usr/bin/python /usr/bin/x-terminal-emulator -T - (text/plain) -e /usr/bin/run-mailcap --action=view text/plain:/tmp/fileyCq4kp
mate-terminal -t - (text/plain) -x /usr/bin/run-mailcap --action=view text/plain:/tmp/fileyCq4kp

Backtrace

~$ gdb `which mate-terminal`
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
[...]
(gdb) run
Starting program: /usr/bin/mate-terminal 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef742700 (LWP 21676)]
[New Thread 0x7fffeef41700 (LWP 21677)]
[New Thread 0x7fffee740700 (LWP 21678)]
[New Thread 0x7fffd8a3c700 (LWP 21679)]
[New Thread 0x7fffd3fff700 (LWP 21681)]
[Thread 0x7fffee740700 (LWP 21678) exited]
[Thread 0x7fffd3fff700 (LWP 21681) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00000000004164b1 in method_call_cb (connection=<optimized out>, sender=sender@entry=0x7fffe0057490 ":1.387", object_path=object_path@entry=0x7fffe000ceb0 "/org/mate/Terminal/Factory", 
    interface_name=interface_name@entry=0x7fffe001f870 "org.mate.Terminal.Factory", method_name=method_name@entry=0x7fffe0046ac0 "HandleArguments", 
    parameters=parameters@entry=0x7fffe0045060, invocation=invocation@entry=0x7fffe8015aa0, user_data=user_data@entry=0x0) at terminal.c:196
196     terminal.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  0x00000000004164b1 in method_call_cb (connection=<optimized out>, sender=sender@entry=0x7fffe0057490 ":1.387", 
    object_path=object_path@entry=0x7fffe000ceb0 "/org/mate/Terminal/Factory", interface_name=interface_name@entry=0x7fffe001f870 "org.mate.Terminal.Factory", 
    method_name=method_name@entry=0x7fffe0046ac0 "HandleArguments", parameters=parameters@entry=0x7fffe0045060, invocation=invocation@entry=0x7fffe8015aa0, user_data=user_data@entry=0x0)
    at terminal.c:196
        display_name = 0x896ff0 ":0.0"
        initial_workspace = 0
        v_wd = 0x7fffe007ab50
        v_sid = 0x7fffe005d930
        working_directory = 0x89b740 "/home/cweiske"
        argc = 3
        options = 0x0
        v_display = 0x7fffe0007920
        v_envv = 0x7fffe0048800
        v_argv = 0x7fffe0045090
        startup_id = 0x88d830 "_TIME45106151"
        envv = 0x8e38f0
        argv = 0x8948d0
        error = 0x761080
        connection = <optimized out>
        object_path = 0x7fffe000ceb0 "/org/mate/Terminal/Factory"
        method_name = 0x7fffe0046ac0 "HandleArguments"
        invocation = 0x7fffe8015aa0
        parameters = 0x7fffe0045060
        sender = 0x7fffe0057490 ":1.387"
        interface_name = 0x7fffe001f870 "org.mate.Terminal.Factory"
        user_data = 0x0
#1  0x00007ffff6956301 in call_in_idle_cb (user_data=0x7fffe8015aa0) at /build/buildd/glib2.0-2.40.2/./gio/gdbusconnection.c:4875
        invocation = 0x7fffe8015aa0
        vtable = <optimized out>
        registration_id = <optimized out>
        subtree_registration_id = <optimized out>
        __FUNCTION__ = "call_in_idle_cb"
#2  0x00007ffff5f0fce5 in g_main_dispatch (context=0x695000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
        dispatch = 0x7ffff5f0cbc0 <g_idle_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x7fffe8015aa0
        callback = 0x7ffff6956210 <call_in_idle_cb>
        cb_funcs = 0x7ffff61cd920 <g_source_callback_funcs>
        cb_data = 0x7fffe005e100
        need_destroy = <optimized out>
        source = 0x7fffe0057c40
        current = 0x660cb0
        i = 0
#3  g_main_context_dispatch (context=context@entry=0x695000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
---Type <return> to continue, or q <return> to quit---
No locals.
#4  0x00007ffff5f10048 in g_main_context_iterate (context=0x695000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 5
        fds = 0x893720
#5  0x00007ffff5f1030a in g_main_loop_run (loop=0x665580) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3928
        __FUNCTION__ = "g_main_loop_run"
#6  0x00007ffff7200447 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x00000000004134e0 in main (argc=1, argv=0x7fffffffdfb8) at terminal.c:655
        data = 0x667470
        owner_id = 1
        i = <optimized out>
        argv_copy = 0x6637c0
        argc_copy = <optimized out>
        startup_id = <optimized out>
        display_name = <optimized out>
        home_dir = <optimized out>
        display = <optimized out>
        options = <optimized out>
        error = 0x0
        working_directory = <optimized out>
        ret = 0

Copy of http://p.cweiske.de/177

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9652769-crash-when-chromium-tries-to-show-zip-file-contents-in-mate-terminal?utm_campaign=plugin&utm_content=tracker%2F757836&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F757836&utm_medium=issues&utm_source=github).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant