gqview crashed with SIGSEGV in g_main_context_dispatch() - Open With from konqueror

Bug #478728 reported by David Pottage
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
GQview
New
Undecided
Unassigned
gqview (Ubuntu)
New
Medium
Unassigned
Nominated for Karmic by Neutrina

Bug Description

Binary package hint: gqview

Opened a folder full of image files from my digital camera using konqueror

Selected one and chose "Open with..." menu, chose gqview, which opened breefly then crashed.

If I start "gqview <filename>" on the command line it works fine.

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Date: Sun Nov 8 21:56:05 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gqview
Package: gqview 2.0.4-5
ProcCmdline: /usr/bin/gqview --blank
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SegvAnalysis:
 Segfault happened at: 0x7fd62766ed02 <g_main_context_dispatch+882>: andl $0xfffffffffffffffd,0x2c(%rbx)
 PC (0x7fd62766ed02) 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 /lib/libglib-2.0.so.0
 g_main_loop_run () from /lib/libglib-2.0.so.0
 gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 main (argc=2, argv=0x7fffce963f98) at main.c:1334
Title: gqview crashed with SIGSEGV in g_main_context_dispatch()
Uname: Linux 2.6.31-14-generic x86_64
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
David Pottage (david-electric-spoon) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:g_main_context_dispatch ()
?? () from /lib/libglib-2.0.so.0
g_main_loop_run () from /lib/libglib-2.0.so.0
gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
main (argc=2, argv=0x7fffce963f98) at main.c:1334

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in gqview (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Marcelo Bartsch (mbartsch) wrote :

same problem present when using nautilus/gnome

Revision history for this message
Neutrina (neutrina-einzig) wrote :

The same problem presents using Krusader.

Revision history for this message
Mik (mheder) wrote :

I think the problem is the --remote (-r) option, try this:

mik@mik-home:~$ gqview --remote some.jpg
Remote GQview not running, starting...
mik@mik-home:~$

mik@mik-home:~$ gqview --debug --remote some.jpg
debugging output enabled (level 1)
error connecting to socket: Connection refused
debugging output enabled (level 1)
loader reported [svg] [Scalable Vector Graphics] [.svg;.svgz;.svg.gz]
loader reported [wmf] [Windows Metafile] [.wmf;.apm]
loader reported [ani] [The ANI image format] [.ani]
loader reported [bmp] [The BMP image format] [.bmp]
loader reported [gif] [The GIF image format] [.gif]
loader reported [icns] [The ICNS image format] [.icns]
loader reported [ico] [The ICO image format] [.ico;.cur]
loader reported [jpeg2000] [The JPEG 2000 image format] [.jp2;.jpc;.jpx;.j2k;.jpf]
loader reported [jpeg] [The JPEG image format] [.jpeg;.jpe;.jpg]
loader reported [pcx] [The PCX image format] [.pcx]
loader reported [png] [The PNG image format] [.png]
loader reported [pnm] [The PNM/PBM/PGM/PPM image format family] [.pnm;.pbm;.pgm;.ppm]
loader reported [ras] [The Sun raster image format] [.ras]
loader reported [tga] [The Targa image format] [.tga;.targa]
loader reported [tiff] [The TIFF image format] [.tiff;.tif]
loader reported [wbmp] [The WBMP image format] [.wbmp]
loader reported [xbm] [The XBM image format] [.xbm]
loader reported [xpm] [The XPM image format] [.xpm]
error connecting to socket: Connection refused
image load completed "(null)" (current)
Remote GQview not running, starting...
client count 1
mik@mik-home:~$ image reset
image begin
read ahead cancelled for :(null)
read ahead set to :/some.jpg
HUP detected, closing client.
client count 0

mik@mik-home:~$

I use up-to-date Karmic 64 bit.

Revision history for this message
Mik (mheder) wrote :

Ok, I find the "geeqie" image viewer. Geeqie: a fork of GQview, working fine for me.

Revision history for this message
ubernoob (ubernoob) wrote :

I found a workaround:
edit /usr/share/applications/gqview.desktop
and change "Exec=gqview -r %F" to "Exec=gqview %F"

That will solve the problem.

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.