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 487655 - SEGV on 64-bit arch due to implicit function definitions
SEGV on 64-bit arch due to implicit function definitions
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: backends
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-17 21:07 UTC by Sebastien Bacher
Modified: 2007-10-18 07:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
use the correct include to fix the warning (325 bytes, patch)
2007-10-17 21:08 UTC, Sebastien Bacher
committed Details | Review

Description Sebastien Bacher 2007-10-17 21:07:09 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/152154

"Binary package hint: evince

Function `ev_document_misc_surface_from_pixbuf' implicitly converted to pointer at /build/buildd/evince-2.20.0/./backend/pixbuf/pixbuf-document.c:121
Function `ev_document_misc_surface_from_pixbuf' implicitly converted to pointer at /build/buildd/evince-2.20.0/./backend/pixbuf/pixbuf-document.c:121

Our automated build log filter detected the problem(s) above that will
likely cause your package to segfault on architectures where the size of
a pointer is greater than the size of an integer, such as ia64 and amd64.

This is often due to a missing function prototype definition.

More information can be found at:
    http://wiki.debian.org/ImplicitPointerConversions"
Comment 1 Sebastien Bacher 2007-10-17 21:08:18 UTC
Created attachment 97386 [details] [review]
use the correct include to fix the warning
Comment 2 Nickolay V. Shmyrev 2007-10-18 07:05:06 UTC
Please commit in both branches
Comment 3 Sebastien Bacher 2007-10-18 07:52:19 UTC
I've commited the fix to gnome-2-20 and trunk

2007-10-18  Sebastien Bacher  <seb128@ubuntu.com>

	* backend/pixbuf/pixbuf-document.c:

	Fix an implicit function definition warning (#487655)
Comment 4 Nickolay V. Shmyrev 2007-10-18 07:53:44 UTC
Thanks a lot!