[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#525870: gtk_text_new implicitly converted to pointer



Package: mbrowse
Version: 0.3.1-7
Severity: serious
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
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.

  Function `gtk_text_new' implicitly converted to pointer at interface.c:462
  Function `gtk_text_new' implicitly converted to pointer at details.c:422

This is often due to a missing function prototype definition.
For more information, see [2].

A workaround might be to build with -DGTK_ENABLE_BROKEN, though
presumably there is a replacement interface that can be used instead.

Though it is guaranteed that this codepath will cause a segfault on certain
architectures, it is not guaranteed that this codepath would ever be executed
(e.g., if the returned pointer is never dereferenced). However, this bug
does prevent the ia64 buildd from successfully building this package, resulting
in a practical FTBFS issue and warranting the serious severity.

[1] http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] http://wiki.debian.org/ImplicitPointerConversions




Reply to: