[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2010-03-25 Thread slowtrain
I'm not sure the fix works on my system (not available yet via
Synaptic).  What seems to happen is that when I open a XOJ file with
text in it and then try to export as pdf, xournal dies abruptly and a
zero KB output file is created.  The problem does not occur when I
export directly without first creating an XOJ file or if the XOJ file
does not have text in it.  Will have to try the save to pdf workaround--
thanks!

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2010-01-12 Thread Stefano Rivera
0.4.5-2 is in lucid

** Changed in: xournal (Ubuntu)
   Status: Confirmed = Fix Released

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-09 Thread Bug Watch Updater
** Changed in: xournal (Debian)
   Status: New = Fix Released

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-08 Thread Stefano Rivera
** Bug watch added: Debian Bug tracker #552075
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552075

** Also affects: xournal (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552075
   Importance: Unknown
   Status: Unknown

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-08 Thread Bug Watch Updater
** Changed in: xournal (Debian)
   Status: Unknown = New

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-08 Thread Stefano Rivera
I have a fixed version in my PPA:

https://edge.launchpad.net/~stefanor/+archive/ppa/+packages

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-04 Thread Leandro

This bug is still present. Has anyone reported it to the xournal developers?

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-04 Thread Leandro

Just to mention, a very simple workaround of this problem is to Print to 
file, with pdf output. It works.

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-12-04 Thread khul
I sent a mail to the sourceforge list Justin mentioned. It was held for
moderation since I'm not a member, and I never received any comment. My
fixed version (with gsize replaced with guint32) works just fine.

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-11-22 Thread mwaechter
Don't know if this helps, but I experienced exactly the described behavior 
today. I am running ubuntu 9.10 amd64 desktop variant on a macbook 3,1.
If possible, I could provide any helpful information. On the other hand, I 
understood this bug has been assigned to the xournal developers.

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-11-06 Thread khul
Compiling without optimisation was not the solution. It worked for
annotating a test file, but the same error occured when saving an
xournal file to pdf (without loading any pdf).

Now gdb worked fine, and I found that len is declared wrongly. It should
be a guint32, not a gsize. Changing this declaration seemed to fix the
bug.

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-11-06 Thread Justin Dugger
Thanks for this report; it sounds like this an upstream bug. Would you
mind posting a small explanation and patch to xournal-
de...@lists.sourceforge.net?

** Changed in: xournal (Ubuntu)
   Status: New = Confirmed

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-11-04 Thread khul
The crash happens at line 872 in xo-print.c:

g_string_append_len(pdfbuf, fontdata, len);

Examining the value of len with gdb prior to this call shows
140733193391464. But it's difficult to trace why, since len is optimised
away earlier in the code.  If I compile with '-g' or with '-O0' it
works. So I guess I'll use '-O0' for now...

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-11-04 Thread khul

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/35106221/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/35106222/XsessionErrors.txt

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 474468] Re: xournal crashes on save as pdf if text input has been used when annotating a pdf

2009-11-04 Thread khul
Running it from the terminal I get:

GLib-ERROR **: /build/buildd/glib2.0-2.22.2/glib/gmem.c:175: failed to allocate 
140737488355328 bytes
aborting...

-- 
xournal crashes on save as pdf if text input has been used when annotating a 
pdf
https://bugs.launchpad.net/bugs/474468
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs