gqview crashed with SIGSEGV in g_main_context_dispatch() amd64

Bug #424300 reported by zvaral
212
This bug affects 39 people
Affects Status Importance Assigned to Milestone
geeqie (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gqview

gqview crash occurred when I watched a jpg file and I started an other gqview session in the same time. (Two gqviews had to be run.)

ProblemType: Crash
Architecture: amd64
Date: Fri Sep 4 14:21:01 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gqview
Package: gqview 2.0.4-5
ProcCmdline: gqview
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SegvAnalysis:
 Segfault happened at: 0x7f6ba7d85c22 <g_main_context_dispatch+882>: andl $0xfffffffffffffffd,0x2c(%rbx)
 PC (0x7f6ba7d85c22) ok
 source "$0xfffffffffffffffd" ok
 destination "0x2c(%rbx)" (0x0000002c) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: gqview
StacktraceTop:
 g_main_context_dispatch ()
 ?? () from /usr/lib/libglib-2.0.so.0
 g_main_loop_run () from /usr/lib/libglib-2.0.so.0
 gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 ?? ()
Title: gqview crashed with SIGSEGV in g_main_context_dispatch()
Uname: Linux 2.6.31-9-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
zvaral (z-varallyay) wrote :
Revision history for this message
zvaral (z-varallyay) wrote :

This issue is presented also if one wants to open a picture (particularly I opened jpeg image) from the gnome file browser directly the way clicking to the picture by the right mouse button and choosing the "open with -> gqview" menu point from the appearing list.

Revision history for this message
happyhamster (morrgiah) wrote :

Stacktrace:
 #0 0x00007f51cbc07d02 in g_main_context_dispatch ()
    from /lib/libglib-2.0.so.0
 No symbol table info available.
 #1 0x00007f51cbc0b588 in ?? () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #2 0x00007f51cbc0b9e5 in g_main_loop_run () from /lib/libglib-2.0.so.0
 No symbol table info available.
 #3 0x00007f51ccba90e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #4 0x00000000004522bf in main (argc=2, argv=0x7fffc6cec838) at main.c:1334
         lw = <value optimized out>
         path = <value optimized out>
         cmd_path = 0x0
         cmd_file = 0x0
         cmd_list = 0x0
         collection_list = 0x0
         first_collection = <value optimized out>
         bufl = <value optimized out>

In Karmic (uname: Linux 2.6.31-12-generic x86_64) the bug is triggered by setting gqview as the default image viewer and clicking an image, or using command-line like this: gqview -r image.jpg. The -r option forces any new image to load in an already existing gqview window. This worked fine in Jaunty, but fails in Karmic. (Note that -r is the default option for the menu-launcher.)

As far as I can tell, the packages for Jaunty and Karmic are identical. I compiled from source (gcc 4.4.1-4ubuntu6, gqview_2.0.4.orig.tar.gz + gqview_2.0.4-5.diff.gz) and the crash went away.

Revision history for this message
darthanubis (darthanubis) wrote :

Simply clicking a jpeg in Nautilus causes this crash for me. If Gqview is already running I can open jpegs just fine. Having Gqview as the default picture viewer to open jpegs from Nautilus crashes Gqview everytime.

Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic

2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

Revision history for this message
Erik Kronberg (eakron) wrote :

This does not happen in 32-bit.

summary: - gqview crashed with SIGSEGV in g_main_context_dispatch()
+ gqview crashed with SIGSEGV in g_main_context_dispatch() amd64
Erik Kronberg (eakron)
Changed in gqview (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Maier (launchpad-chmai) wrote :

I upgraded to Karmic yesterday and can comfirm this bug (also amd64).

This is a workaround, that temporarily solves the problem for me: Open nautiuls and right click on a jpg-file. Choose "Open with" and select the last entry "Other application". Then at the bottom you can set a user-defined application. In the line-edit type "/usr/bin/gqview". This should open the image in gqview now.

Right-click on a jpeg, select "Properties" and then "Open with". Select the new entry "gqview" (without icon). This sets your "new gqview" to the default application for jpeg-Files.

Revision history for this message
Jeisson (jeissonh) wrote :

Another workaround: download, compile and install the lastest development version, found in http://gqview.sourceforge.net/view-down.html

Best regards

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

GQview has been replaced with Geeqie: a fork of gqview in Lucid because GQview is no longer maintained upstream.
Can you test whether this problem still occurs with Qeeqie? The geeqie package is already available next to the gqview package in Karmic.

Thanks in advance!

affects: gqview (Ubuntu) → geeqie (Ubuntu)
Changed in geeqie (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel (daniel-blaschke) wrote : Re: [Bug 424300] Re: gqview crashed with SIGSEGV in g_main_context_dispatch() amd64

No, the problem seems to be fixed in Geeqie.
no more crashes the Lucid-version :)

On Mon, 05 Apr 2010 12:56:18 -0000
Pascal De Vuyst <email address hidden> wrote:

> GQview has been replaced with Geeqie: a fork of gqview in Lucid
> because GQview is no longer maintained upstream. Can you test whether
> this problem still occurs with Qeeqie? The geeqie package is already
> available next to the gqview package in Karmic.
>
> Thanks in advance!
>
> ** Package changed: gqview (Ubuntu) => geeqie (Ubuntu)
>
> ** Changed in: geeqie (Ubuntu)
> Status: Confirmed => Incomplete
>

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Thanks for checking, closing as fixed then.

Changed in geeqie (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
John Stevenson (jr0cket) wrote :

I can confirm that Geeqie is working well on both 32bit and 64bit versions of Karmic.

Thank you

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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