After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523046 - When i add some type of attachment application crashes
When i add some type of attachment application crashes
Status: RESOLVED DUPLICATE of bug 460204
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other Linux
: High critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-03-17 20:41 UTC by Tomas Vavra
Modified: 2008-03-20 18:46 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Tomas Vavra 2008-03-17 20:41:53 UTC
Steps to reproduce:
1. Start evolution 
2. Click new mail
3. Add word document
4. evolution crash with this message in console Segmentation fault

Stack trace:
I am using built from ubuntu without debugging symbol. Write me what you exactly wants and i will collect it and paste here.

Other information:
Comment 1 Matthew Barnes 2008-03-18 12:04:52 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Tomas Vavra 2008-03-19 21:30:46 UTC
Hi Matthew,

I prefer gdb, below is output from crash during adding .doc file.

If you will need anything else let me know.

Regards
Tomas Vavra

~$ gdb evolution
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/evolution
[Thread debugging using libthread_db enabled]
[New Thread 0x2b16a5641dc0 (LWP 7028)]
[New Thread 0x40800950 (LWP 7031)]
[Thread 0x40800950 (LWP 7031) exited]

** (evolution:7028): WARNING **: Unexpected kerberos error -1765328164
[New Thread 0x40800950 (LWP 7044)]
[New Thread 0x41001950 (LWP 7045)]
[Thread 0x41001950 (LWP 7045) exited]
[Thread 0x40800950 (LWP 7044) exited]
[New Thread 0x40800950 (LWP 7046)]
libnm_glib_nm_state_cb: dbus returned an error.
  (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files
[New Thread 0x41001950 (LWP 7047)]
[New Thread 0x41802950 (LWP 7048)]
[New Thread 0x42003950 (LWP 7049)]
[New Thread 0x42804950 (LWP 7050)]
[New Thread 0x43005950 (LWP 7051)]
[New Thread 0x43806950 (LWP 7052)]
[Thread 0x43005950 (LWP 7051) exited]
[Thread 0x42003950 (LWP 7049) exited]
[Thread 0x43806950 (LWP 7052) exited]
[New Thread 0x43806950 (LWP 7054)]
[New Thread 0x42003950 (LWP 7055)]
[New Thread 0x43005950 (LWP 7056)]
[Thread 0x42003950 (LWP 7055) exited]
[New Thread 0x42003950 (LWP 7077)]
[Thread 0x42804950 (LWP 7050) exited]
[Thread 0x42003950 (LWP 7077) exited]
[Thread 0x41001950 (LWP 7047) exited]
[New Thread 0x41001950 (LWP 7084)]
[Thread 0x43005950 (LWP 7056) exited]
[New Thread 0x43005950 (LWP 7085)]
[Thread 0x43005950 (LWP 7085) exited]
[Thread 0x41001950 (LWP 7084) exited]
[New Thread 0x41001950 (LWP 7087)]
[Thread 0x41001950 (LWP 7087) exited]
[New Thread 0x41001950 (LWP 7098)]
[New Thread 0x43847950 (LWP 7100)]
[New Thread 0x43005950 (LWP 7104)]
[Thread 0x43806950 (LWP 7054) exited]
[Thread 0x43005950 (LWP 7104) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b16a5641dc0 (LWP 7028)]
camel_header_set_param (l=0x10, name=0x2b16996aec8c "name", value=0xf45e80 "Karel_Stromsik_CV.doc") at camel-mime-utils.c:2170
2170    camel-mime-utils.c: No such file or directory.
        in camel-mime-utils.c
(gdb) set height 0
(gdb) set print elements 0
(gdb) set print pretty on
(gdb) thread apply all bt

Thread 1 (Thread 0x2b16a5641dc0 (LWP 7028))

  • #0 camel_header_set_param
    at camel-mime-utils.c line 2170
  • #1 camel_mime_part_set_filename
    at camel-mime-part.c line 451
  • #2 e_attachment_new
    at e-attachment.c line 350
  • #3 e_attachment_bar_attach
    at e-attachment-bar.c line 154
  • #4 add_to_bar
    at e-msg-composer.c line 1933
  • #5 select_attach_response
    at e-msg-composer-select-file.c line 179
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 ??
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 ??
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #16 ??
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #18 ??
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #20 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #21 main
    at main.c line 782
  • #22 __libc_start_main
    from /lib/libc.so.6
  • #23 _start

Comment 3 Matthew Barnes 2008-03-19 23:30:36 UTC
Okay thanks.  Looks like the first argument of camel_header_set_param() is bad.
Comment 4 Matthew Barnes 2008-03-20 18:46:45 UTC
This is already fixed in 2.12.3 and 2.22.0.

*** This bug has been marked as a duplicate of 460204 ***