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 154569 - crash when trying to associate an app for "application/octet-stream" without extension
crash when trying to associate an app for "application/octet-stream" without ...
Status: RESOLVED FIXED
Product: eel
Classification: Deprecated
Component: general
2.8.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-05 14:46 UTC by Sebastien Bacher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Sebastien Bacher 2004-10-05 14:46:07 UTC
The crash happens in nautilus:
* cd /tmp
* touch test
* nautilus ./
* right click on test, open with -> gedit

it crashes with some error in the console:
(nautilus:3283): Eel-WARNING **: No extension, not implemented yet

(nautilus:3283): libgnomevfs-CRITICAL **: file gnome-vfs-mime-handlers.c: line
551 (gnome_vfs_mime_get_all_applications): assertion `mime_type != NULL' failed


Apparently the problem is due to this part of the code:

eel-mime-application-chooser.c:465
if (!extension) {
   g_warning ("No extension, not implemented yet");
   return FALSE;
}

According to the backtrace mime_type is null, which is the problem

Backtrace was generated from '/opt/gnome29/bin/nautilus'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1225238816 (LWP 21124)]
[New Thread -1248531536 (LWP 5171)]
[Thread debugging using libthread_db enabled]
[New Thread -1225238816 (LWP 21124)]
[New Thread -1248531536 (LWP 5171)]
[Thread debugging using libthread_db enabled]
[New Thread -1225238816 (LWP 21124)]
[New Thread -1248531536 (LWP 5171)]
[New Thread -1239708752 (LWP 21167)]
[New Thread -1239446608 (LWP 21166)]
[New Thread -1239184464 (LWP 21165)]
[New Thread -1238922320 (LWP 21164)]
[New Thread -1238660176 (LWP 21163)]
[New Thread -1238398032 (LWP 21162)]
[New Thread -1238135888 (LWP 21161)]
[New Thread -1237873744 (LWP 21160)]
[New Thread -1237611600 (LWP 21159)]
[New Thread -1229177936 (LWP 21155)]
0xb73b3431 in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread -1225238816 (LWP 21124))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #2 <signal handler called>
  • #3 IA__g_str_hash
    at gstring.c line 77
  • #4 IA__g_hash_table_lookup
    at ghash.c line 193
  • #5 gnome_vfs_mime_get_default_desktop_entry
    at gnome-vfs-mime-info-cache.c line 786
  • #6 gnome_vfs_mime_get_default_application
    at gnome-vfs-mime-handlers.c line 245
  • #7 refresh_model
    at eel-mime-application-chooser.c line 387
  • #8 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #9 IA__g_closure_invoke
    at gclosure.c line 437
  • #10 signal_emit_unlocked_R
    at gsignal.c line 2436
  • #11 IA__g_signal_emit_valist
    at gsignal.c line 2195
  • #12 IA__g_signal_emit
    at gsignal.c line 2239
  • #13 _gnome_vfs_mime_monitor_emit_data_changed
    at gnome-vfs-mime-monitor.c line 200
  • #14 gnome_vfs_mime_info_reload
    at gnome-vfs-mime-info.c line 229
  • #15 gnome_vfs_mime_reload
    at gnome-vfs-mime.c line 911
  • #16 mime_update_program_done
    at eel-mime-extensions.c line 166
  • #17 g_child_watch_dispatch
    at gmain.c line 3542
  • #18 g_main_dispatch
    at gmain.c line 1943
  • #19 IA__g_main_context_dispatch
    at gmain.c line 2493
  • #20 g_main_context_iterate
    at gmain.c line 2574
  • #21 IA__g_main_loop_run
    at gmain.c line 2778
  • #22 IA__gtk_main
    at gtkmain.c line 914
  • #23 main
    at nautilus-main.c line 332
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0

Comment 1 Elijah Newren 2004-11-09 03:52:18 UTC
Appears to be a unique stack trace.  I'm adding the STACKTRACE keyword and
setting other fields appropriately (I'm assuming you're using Gnome 2.8.x, but
let me know if that's not right)...
Comment 2 Sebastien Bacher 2004-12-02 15:29:38 UTC
doesn't crash with current versions