Bug 114678 - [patch] misc/kde-xdg-env causes Firefox / Thuderbird to dump core in Save As dialog
Summary: [patch] misc/kde-xdg-env causes Firefox / Thuderbird to dump core in Save As ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-17 23:40 UTC by Mark Hobden
Modified: 2007-07-18 00:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.27 KB, patch)
2007-07-17 23:40 UTC, Mark Hobden
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hobden 2007-07-17 23:40:01 UTC
The last commit to this port fixed a bug where according to the commit message
a duplicate a path element in XDG_DATA_DIRS triggered memory corruption in the
xdgmime code used by GTK+ and gnome-vfs which led to strange crashes in GTK+
applications such as Firefox and Thunderbird.

When /usr/X11R6 merged into /usr/local
%%LOCALBASE%%/etc/xdg and %%X11BASE%%/etc/xdg started to point to the same place
and causes the same problems as before.

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: 
Start Firefox or Thunderbird from a KDE session and try to save/attach >1 files.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-17 23:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-07-18 00:04:29 UTC
lofi        2007-07-17 23:04:22 UTC

  FreeBSD ports repository

  Modified files:
    misc/kde-xdg-env     Makefile 
    misc/kde-xdg-env/files xdg-env.sh.in 
  Log:
  Remove duplicate path element from XDG_*_DIRS to avoid crashes in Firefox.
  
  PR: ports/114678
  Submitted by: Mark Hobden <markhobden@gmail.com>
  
  Revision  Changes    Path
  1.5       +1 -1      ports/misc/kde-xdg-env/Makefile
  1.4       +3 -5      ports/misc/kde-xdg-env/files/xdg-env.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Michael Nottebrock freebsd_committer freebsd_triage 2007-07-18 00:04:44 UTC
State Changed
From-To: open->closed

Committed, thanks!