Bug 122121 - graphics/qiv segfaults in XSetClassHint
Summary: graphics/qiv segfaults in XSetClassHint
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-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 18:30 UTC by toomas.aas
Modified: 2008-04-09 15:50 UTC (History)
0 users

See Also:


Attachments
qiv.diff (1.09 KB, patch)
2008-03-27 23:03 UTC, Martin Tournoij
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description toomas.aas 2008-03-26 18:30:01 UTC
I just installed qiv-2.1.p12 from ports. This also pulled in imlib-1.9.15_5. But whichever image I try to load, qiv segfaults with the following stack trace:

#0  0x2829229c in XSetClassHint () from /usr/X11R6/lib/libX11.so.6
#1  0x2820e649 in gdk_window_new () from /usr/X11R6/lib/libgdk-12.so.2
#2  0x0804cf96 in qiv_load_image ()
#3  0x0804bb2a in main ()

qiv runs, when I do not try to load an image, for example 'qiv -help'.

I didn't specify any special environment variables for the build, just ran 'make install clean'.

This is the contents of my /etc/make.conf:

NO_ATM=true
NO_BLUETOOTH=true
NO_I4B=true
NO_INET6=true
NO_NIS=true
NO_PROFILE=true
MASTER_SITE_GNOME=ftp://ftp.no.gnome.org/pub/GNOME/%SUBDIR%/
PERL_VER=5.8.8
PERL_VERSION=5.8.8

How-To-Repeat: Download, for example, the image from http://www.freebsd.org/layout/images/logo-red.png
and run
qiv logo-red.png
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-03-26 20:25:15 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Martin Tournoij 2008-03-27 23:03:46 UTC
Hello Toomas,

Thank you for your PR.

Here is a patch which should fix the problem, please report if it
works for you.

Regards,
Martin Tournoij
Comment 3 toomas.aas 2008-03-28 05:46:50 UTC
Thanks for the patch. This did indeed fix the problem.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2008-03-28 07:16:36 UTC
State Changed
From-To: feedback->analyzed

Submmitter confirms that the patch in the PR solves the problem.
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2008-04-09 15:44:32 UTC
State Changed
From-To: analyzed->closed

Committed, thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2008-04-09 15:45:23 UTC
pav         2008-04-09 14:45:09 UTC

  FreeBSD ports repository

  Modified files:
    graphics/qiv         Makefile 
  Log:
  - Fix runtime crash
  
  PR:             ports/122121
  Reported by:    Toomas Aas <toomas.aas@raad.tartu.ee>
  Submitted by:   Martin Tournoij <carpetsmoker@xs4all.nl> (maintainer)
  
  Revision  Changes    Path
  1.35      +8 -1      ports/graphics/qiv/Makefile
_______________________________________________
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"