gmrun gets a segment fault

Bug #1633505 reported by jlas9
58
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gmrun (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

progran gmrun gives the following output:
(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «adwaita»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «adwaita»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,

(gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «pixmap»,
Violación de segmento (`core' generado)

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gmrun 0.9.2-2.1build1
Uname: Linux 4.8.0-040800-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
Date: Fri Oct 14 16:23:09 2016
InstallationDate: Installed on 2016-08-04 (71 days ago)
InstallationMedia: Ubuntu 12.04.5 LTS "Precise Pangolin" - Release amd64 (20140807.1)
SourcePackage: gmrun
UpgradeStatus: Upgraded to yakkety on 2016-10-04 (10 days ago)

Revision history for this message
jlas9 (jlalarcon) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and make Ubuntu better.

I don't see the warnings, but I get a segfault as well when attempting to run gmrun on Ubuntu 16.10.

Changed in gmrun (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I tested on Debian Sid, but I didn't get a similar segfault there. It looks like this might somehow be an Ubuntu-specific issue.

I've attached a stacktrace from gdb (on Ubuntu 16.10):
Thread 1 "gmrun" received signal SIGSEGV, Segmentation fault.
0x00007ffff72b67f9 in g_type_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0 0x00007ffff72b67f9 in g_type_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007ffff79ccaa4 in gtk_type_new () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2 0x000055555555a425 in ?? ()
#3 0x0000555555558b03 in ?? ()
#4 0x00007ffff641f3f1 in __libc_start_main (main=0x555555558890, argc=1, argv=0x7fffffffdfa8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffdf98) at ../csu/libc-start.c:291
#5 0x0000555555559289 in ?? ()

tags: added: zesty
Revision history for this message
Blaze (blaze) wrote :

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72b67f9 in g_type_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0 0x00007ffff72b67f9 in g_type_is_a () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007ffff79ccaa4 in gtk_type_new () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2 0x000055555555a425 in gtk_completion_line_new () at gtkcompletionline.cc:775
#3 0x0000555555558b03 in main (argc=1, argv=0x7fffffffddc8) at main.cc:569

Possible cause is gcc5->gcc6 transition.

Revision history for this message
Gawan (games-3) wrote :

Hi,

Same issue here.

Pending a new build, I downloaded the package gmrun from Xenial, installed it on Yakkety and froze the version of the package and it works.

http://mirrors.kernel.org/ubuntu/pool/universe/g/gmrun/gmrun_0.9.2-2.1_amd64.deb

Regards,

--
Gawan

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

>I downloaded the package gmrun from Xenial, installed it on Yakkety and froze the version of the package and it works.

That's interesting, considering the only change in 16.10 is that the package has been rebuilt (https://bugs.launchpad.net/ubuntu/+source/gmrun/0.9.2-2.1build1)

Revision history for this message
xiota (xiota) wrote :

Suspect the problem is with libpng16. The xenial package uses libpng12.

From the libpng website:

The libpng 1.5.x and 1.6.x series continue the evolution of the libpng API, finally hiding the contents of the venerable and hoary png_struct and png_info data structures inside private (i.e., non-installed) header files. Instead of direct struct-access, applications should be using the various png_get_xxx() and png_set_xxx() accessor functions, which have existed for almost as long as libpng itself.

Revision history for this message
Jose Uceda (juceda) wrote :

Attached to this postm there is the minimum patch I've done on my machine so that the last official gmrun (v0.9.2) can be properly compiled and executed (tested on Ubuntu 16.10).

gmrun is using a lot of GTK deprecated functions, it would be great if some GTK expert would consider changing the rest.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "gmrun 0.9.2 coredump fix (tested ubuntu 16.10)" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Blaze (blaze) wrote :

>gmrun is using a lot of GTK deprecated functions

But GTK is deprecated itself. Do you wanna say someone is messing with GTK2 API these days?

Revision history for this message
Jose Uceda (juceda) wrote :

Blaze,

Latest release of gmrun is dated Nov 2003 (according to its SourceForge page). And gmrun is using some deprecated apis EVEN in GTK 2.0.

:-)

Revision history for this message
jlas9 (jlalarcon) wrote : Re: [Bug 1633505] Re: gmrun gets a segment fault
Download full text (4.6 KiB)

My questión is, Why in Debían Sid don't produce the segfaults?.

Thanks in advance, and regards.

Jose.

El 29/11/2016 12:51, "Jose Uceda" <email address hidden> escribió:

> Blaze,
>
> Latest release of gmrun is dated Nov 2003 (according to its SourceForge
> page). And gmrun is using some deprecated apis EVEN in GTK 2.0.
>
> :-)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1633505
>
> Title:
> gmrun gets a segment fault
>
> Status in gmrun package in Ubuntu:
> Confirmed
>
> Bug description:
> progran gmrun gives the following output:
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «adwaita»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «adwaita»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:5863): Gtk-WARNING **: Imposible encontrar el motor de temas en
> la ruta al _modulo: «pixmap»,
>
> (gmrun:58...

Read more...

Revision history for this message
Jose Uceda (juceda) wrote :

> My questión is, Why in Debían Sid don't produce the segfaults?.

jlas9,

Since the core dump has been fixed changing the way it creates its custom widget class "GtkCompletionLine", I guess that in Debian Sid or any other distro that gmrun works, is using an older GTK version, or maybe GCC version? (as Blaze said), than the Yakkety one.

Revision history for this message
jlas9 (jlalarcon) wrote :

Understand.

Thanks, very much, Tocayo.

Jose.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

>I guess that in Debian Sid or any other distro that gmrun works, is using an older GTK version, or maybe GCC version? (as Blaze said), than the Yakkety one.

Also note that the gtk+2.0 packages have some Ubuntu-specific patches, so they differ slightly from the Debian ones. Haven't looked into the details of what is altered, but that might affect things too https://launchpad.net/ubuntu/+source/gtk+2.0

Revision history for this message
Blaze (blaze) wrote :

I debianized your patch, Jose Uceda. The resulting package is in my personal test ppa. Now only copyrights are missing.

Revision history for this message
dino99 (9d9) wrote :
Changed in gmrun (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.