glabels crashes when switching paper size in template selector dialog

Bug #129518 reported by Michael Knepher
48
Affects Status Importance Assigned to Milestone
glabels (Ubuntu)
Fix Released
Medium
Unassigned
Gutsy
Fix Released
Medium
Luca Falavigna

Bug Description

Binary package hint: glabels

glabels 2.1.3

1. Start glabels
2. File -> New
3. Under "Media Type", try to change from "U.S. Letter" to another format
4. Program crashes

Run from a terminal, the only feedback is "Segmentation fault (core dumped)"

Revision history for this message
Gianfranco Liporace (dr.kabuto) wrote :

I can confirm this, it's always reproducible.

Revision history for this message
Jaime Tarrant (jaime.tarrant) wrote :

I can also reproduce this. I've attached a gdb backtrace that may hopefully be useful (by following these instructions: https://wiki.ubuntu.com/Backtrace)

Revision history for this message
Nico (nico-rdo) wrote :

I double that on glabels 2.1.3-1build1 (Gutsy, up-to-date on Oct. 2007, 32-bit)

Changed in glabels:
status: New → Confirmed
Revision history for this message
John Meuser (meuserj) wrote :

I can confirm, I still get this bug.

Is there any news at all on this? It seems that it is a very serious bug, but there has been no feedback.

Revision history for this message
moadin (moadin) wrote :

Also the same here, it only works with the default page size set in the preferences dialog. (A4 or Letter). This bug is appearing after update from feisty to gutsy.

Revision history for this message
moadin (moadin) wrote :

The problem got fixed in build glabels 2.1.3-3. It works fine after installing package for Debian. I hope this update gets also in Gutsy and not first time in Hardy.

Revision history for this message
Lynoure Braakman (lynoure) wrote :

As glabel starts with US letter paper size, this bug makes it mostly unusable for me and other Europeans, and there is nothing better to replace glabels either.

Revision history for this message
mtwells (mtwells) wrote :

Cfm this bug is still present in 7.10 Gutsy, glabels reports 2.1.3

Revision history for this message
mtwells (mtwells) wrote :

"Workaround":

Download and install the 2.1.3-3 builds for debian sid from

http://packages.debian.org/glabels

You need glabels_2.1.3-3-xxxxx and glabels-data_2.1.3-3-xxxxx

Then open a shell and run
 sudo dpkg -i glabels_2.1.3-3_amd64.deb glabels-data_2.1.3-3_all.deb

(all one line)
This will replace 2.1.3 with 2.1.3-3
Clearly, someone with bigger powers than I needs to replace 2.1.3 with 2.1.3-3 in the Ubuntu Gutsy package set

Revision history for this message
Maik Wagner (mtwagner) wrote :

I would like to confirm this bug too. It's always reproducible.

Revision history for this message
Keith Beef (keith-rhodes) wrote :

Always reproducible, as I can also confirm.

The workround of downloading glabels_2.1.3-3-xxxxx and glabels-data_2.1.3-3-xxxxx as described by mtwells didn't work for me:
$ sudo dpkg -i glabels_2.1.3-3_amd64.deb glabels-data_2.1.3-3_all.deb
dpkg: error processing glabels_2.1.3-3_amd64.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing glabels-data_2.1.3-3_all.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 glabels_2.1.3-3_amd64.deb
 glabels-data_2.1.3-3_all.deb

I found another workround.

From the command line, run gconf-editor.
In the left-hand pane, select apps, then glabels.
In the right-hand pane, select default-page-size and change the value from US-Letter to Other.
Quit gconf-editor.
Start glabels. You shoul dnow be able to use templates based on other page sizes.

K.

Revision history for this message
Martin Kaffanke (martin-kaffanke) wrote :

It's the same here, so I think this is a major bug, even if glabels is not major for ubuntu.

For temporarly usage I have just rebuild the glabels and glabels-data from the debian sources and put it into my repo on http://ubuntu.roomandspace.com

Martin

Revision history for this message
Lilian ROBERT (lilian-robert) wrote :

Hi,

Same problem for me. The workaround by Keith Beef doesn't work for me. In gconf-editor, under "apps", glabels doesn't appear and even if I do a search I can't find it...

The workaround by mtwells works well.

Regards

Revision history for this message
tkoopa (tkoopa) wrote :

Having the same bug with the 2.1.3 version in the Ubuntu repository, I followed mtwells' instruction ( installed glabels_2.1.3-3_i386.deb and glabels-data_2.1.3-3_all.deb) His solution worked for me, I can confirm that version 2.1.3-3 does not crash when switching to A4

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

SRU request for gutsy-updates:
- glabels is made *completely unusable* for non-US users, because they can't change paper size by any way
- this is a major regression since Feisty where it did not occur
- package 2.1.3-3 in Hardy is known to fix the bug (Gutsy is 2.1.3-1build1) thanks to a patch in Debian

Performing the backport should only require to push this later build from Hardy. Else you can apply the patch used by Debian (cf Debian bug 444822), which I attach here as 01_null_strlen.patch: it's only a one-line change in the code, so without risks of instability.

Much thanks

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I confirm this bug in Gutsy up to date.
As I live out of US (Italy) I need A4 paper format, and it's unusable in this situation.

Revision history for this message
Luke Yelavich (themuso) wrote :

can you firstly pleas emake sure this problem is fixed in hardy? Once the fix is known to be in Hardy, then an SRU can be considered for gutsy.

Revision history for this message
Nico (nico-rdo) wrote :

I am using the Hardy packages in Gutsy, straight from binaries, with great success, 32 and 64 bit.

This is the way I fixed this issue for me.

Nico

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Luke: Please read my previous comment 15, where I state all infos needed for a SRU, and the patch from Debian that fixed this bug. I thought I had made it clear enough.

Revision history for this message
Manuel Duran Moyano (mduran) wrote :

thanks milan, with patch 01_null_strlen.patch solve the problem (ubuntu 7.10).

Revision history for this message
Anders Wallenquist (aw) wrote :

Are there any new .deb-file with this patch enabled?

Changed in glabels:
assignee: nobody → warp10
status: Confirmed → In Progress
Changed in glabels:
importance: Undecided → Medium
Revision history for this message
Andrea Colangelo (warp10) wrote :

Looks like this bug has been fixed in Hardy and involves Gutsy only.
The attached debdiff (based on Milan's patch) fixes this issue. Built, installed and tested.

Changed in glabels:
assignee: warp10 → nobody
status: In Progress → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Looks good, uploading 2.1.3-1ubuntu0.1 to gutsy-proposed.

Changed in glabels:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → dktrkranz
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed, please test.

Changed in glabels:
status: Confirmed → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

GUTSY VERIFICATION

Using version 2.1.3-1build1:
Program crashes while following instructions given in bug description.

Using version 2.1.3-1ubuntu0.1 (from gutsy-proposed):
Program does not crash while following instructions given in bug description.
Program runs fine doing some other activities.

Marking verification-done.

Revision history for this message
Martin Pitt (pitti) wrote :

copied to gutsy-updates.

Changed in glabels:
status: Fix Committed → Fix Released
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

Bug attachments

Remote bug watches

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