Public bug reported:

Reliable crash :  tested with xournal 4.7-1

Step to reproduce:
 - Open a multipage PDF (in attached .tar.gz, bg.pdf)
 - Draw on it
 - Save
- Exit
- reopen the file bg.pdf.xoj
- choose page -> load background and choose the same bg.pdf

(SIGSEV, crash).

I have a little trace:

(gdb) run bg.pdf.xoj
Starting program: /usr/bin/xournal bg.pdf.xoj
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe459b700 (LWP 21941)]
[New Thread 0x7fffe2f65700 (LWP 21943)]
[New Thread 0x7fffe2547700 (LWP 21944)]
[New Thread 0x7fffe1d46700 (LWP 21945)]
[New Thread 0x7fffe14f3700 (LWP 21946)]
[Thread 0x7fffe14f3700 (LWP 21946) exited]
[Thread 0x7fffe1d46700 (LWP 21945) exited]

Program received signal SIGSEGV, Segmentation fault.
_IO_new_fclose (fp=0x0) at iofclose.c:54
54      iofclose.c: No such file or directory.
(gdb) cont
Continuing.
[Thread 0x7fffe2f65700 (LWP 21943) exited]
[Thread 0x7fffe2547700 (LWP 21944) exited]
[Thread 0x7fffe459b700 (LWP 21941) exited]

** Affects: xournal (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "files cited in the description to reproduce the bug"
   
https://bugs.launchpad.net/bugs/1262925/+attachment/3932869/+files/test_xournal.tar.gz

** Description changed:

  Reliable crash :  tested with xournal 4.7-1
  
- Step to reproduce: 
-  - Open a multipage PDF (in attached zip, bg.pdf)
-  - Draw on int
-  - Save 
+ Step to reproduce:
+  - Open a multipage PDF (in attached .tar.gz, bg.pdf)
+  - Draw on it
+  - Save
  - Exit
  - reopen the file bg.pdf.xoj
  - choose page -> load background and choose the same bg.pdf
  
  (SIGSEV, crash).
  
  I have a little trace:
  
  (gdb) run bg.pdf.xoj
  Starting program: /usr/bin/xournal bg.pdf.xoj
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  [New Thread 0x7fffe459b700 (LWP 21941)]
  [New Thread 0x7fffe2f65700 (LWP 21943)]
  [New Thread 0x7fffe2547700 (LWP 21944)]
  [New Thread 0x7fffe1d46700 (LWP 21945)]
  [New Thread 0x7fffe14f3700 (LWP 21946)]
  [Thread 0x7fffe14f3700 (LWP 21946) exited]
  [Thread 0x7fffe1d46700 (LWP 21945) exited]
  
  Program received signal SIGSEGV, Segmentation fault.
  _IO_new_fclose (fp=0x0) at iofclose.c:54
  54    iofclose.c: No such file or directory.
  (gdb) cont
  Continuing.
  [Thread 0x7fffe2f65700 (LWP 21943) exited]
  [Thread 0x7fffe2547700 (LWP 21944) exited]
  [Thread 0x7fffe459b700 (LWP 21941) exited]

** Package changed: ubuntu => xournal (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1262925

Title:
  xournal crash in iofclose.c when loading background.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xournal/+bug/1262925/+subscriptions

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

Reply via email to