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 161406 - bug in http-neon-method.c
bug in http-neon-method.c
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: URI handling
2.8.x
Other other
: High critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-15 19:59 UTC by flafon
Modified: 2005-01-30 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description flafon 2004-12-15 20:04:02 UTC
Distribution: Fedora Core release 3 (Heidelberg)
Package: gnome-utils
Severity: normal
Version: GNOME2.8.0 2.2.4
Gnome-Distributor: Red Hat, Inc
Synopsis: balsa crashes when making an attachment
Bugzilla-Product: gnome-utils
Bugzilla-Component: gdict
Bugzilla-Version: 2.2.4
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:
see summary

Steps to reproduce the crash:
1. compose mail 
2. attach a pdf file from home directory
3. 

Expected Results:
kaboom


How often does this happen?
every time


Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/balsa'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...[Thread debugging using
libthread_db enabled]
[New Thread -151193376 (LWP 4925)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...0x007da7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Thread 1 (Thread -151193376 (LWP 4925))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 gnome_vfs_mime_get_value
    from /usr/lib/libgnomevfs-2.so.0
  • #5 gnome_vfs_mime_get_icon
    from /usr/lib/libgnomevfs-2.so.0
  • #6 libbalsa_icon_finder
  • #7 add_attachment
  • #8 add_attachment
  • #9 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_has_handler_pending
    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 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 gtk_button_get_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_button_set_relief
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_has_handler_pending
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #30 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gdk_event_get_graphics_expose
    from /usr/lib/libgdk-x11-2.0.so.0
  • #34 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #35 g_main_context_acquire
    from /usr/lib/libglib-2.0.so.0
  • #36 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #37 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 main




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-12-15 15:04 -------


Unknown version 2.2.4 in product gnome-utils.  Setting version to "2.2.x".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gnome-utils".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was flafon@mac.com.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Elijah Newren 2004-12-15 20:05:55 UTC
Appears to be a unique stack trace, according to the simple-dup-finder. 
Reassigning to balsa.
Comment 2 Peter Bloomfield 2004-12-15 22:15:36 UTC
Thanks for the report!  To help track this down, could you provide your Balsa
version and gnome-vfs-2.0 version?
Comment 3 Kjartan Maraas 2004-12-15 23:12:46 UTC
From mail:

"Balsa 2.2.4. I figured out the problem. If the file name has http 
characters in it like %20 then it explodes.
Gnome is 2.8.0"

I think this was mentioned on gnome-vfs-list and is probably a bug in the new
http method. From that mail:

">   $ gnomevfs-ls http://superbeast.ucsd.edu/~landry/ArX/wlandry/arx/2/1/,cache/
>   arx.2.1,59.tar.gz               (Regular, application/x-tar)    size
784886mode 0000
>   $ gnomevfs-ls http://superbeast.ucsd.edu/~landry/ArX/wlandry/arx/2/1/%2Ccache/
>   Segmentation fault

bug in http-neon-method.c [I tested with gnome-vfs 2.8.3] (HEAD doesnt
have http-neon-method.c anymore)
function do_open_directory

pfctx... propfind context

by default pfctx->* = NULL

then there is this check:
        if (result == GNOME_VFS_ERROR_NOT_SUPPORTED ||
            (result == GNOME_VFS_OK && (pfctx->target->type
             != GNOME_VFS_FILE_TYPE_DIRECTORY))) {
         
                result = GNOME_VFS_ERROR_NOT_A_DIRECTORY;
        }

pfctx->target is NULL. dereference. boom."


Comment 4 Christian Kellner 2004-12-16 11:59:17 UTC
First of all HEAD does have the http-neon-method.c.

Hmm pfctx->target shouldn't be NULL if result is GNOME_VFS_OK. So the crash
might be there but the problem itself is likely to be in propfind_result ().
Comment 5 Christian Kellner 2005-01-30 19:02:39 UTC
Ok I added some checks so the crash above won't occur anymore. By the way I
totally doubt that the stack trace belongs to this bug though! I am about the
reslove some URL escaping mixtures at the moment. I am not resassigning the bug
though because I dont wanna play ping pong here. I will just close this as FIXED.