Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 15:50:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214394] print/xpp always exits with a bus error instead of normally
Message-ID:  <bug-214394-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214394

            Bug ID: 214394
           Summary: print/xpp always exits with a bus error instead of
                    normally
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: denverh@comcast.net
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

If you use xpp to print something it will exit with a signal 10 bus error w=
hen
it has finished sending the job to the printer.  The jobs always do get
printed, but xpp keeps leaving core files behind.  The same thing happens if
you just click the "close" button.

This happens with xpp-1.5_12, on FreeBSD 11.0-RELEASE-p1 r308115

Steps to reproduce:
  1. start xpp from the command line with no additional parameters
  2. click the "close" button
Actual results:
  xpp will exit with a bus error and produce a core file
Expected result:
  xpp should exit cleanly with no error or core file

Here's a gdb backtrace:

(gdb) thread apply all bt

Thread 1 (Thread 807e16000 (LWP 100299/<unknown>)):
#0  0x00000000004040b1 in xppMainWindow::cb_Close (o=3D<value optimized out=
>,
v=3D0x0) at mainwindow.cxx:70
#1  0x000000080165cfd8 in Fl_Widget::do_callback () from
/usr/local/lib/libfltk.so.1.3
#2  0x00000008016052cb in Fl_Button::handle () from
/usr/local/lib/libfltk.so.1.3
#3  0x00000008015fd2b9 in Fl::handle_ () from /usr/local/lib/libfltk.so.1.3
#4  0x0000000801665853 in fl_handle () from /usr/local/lib/libfltk.so.1.3
#5  0x0000000801661e7f in do_queued_events () from
/usr/local/lib/libfltk.so.1.3
#6  0x0000000801661df8 in fl_wait () from /usr/local/lib/libfltk.so.1.3
#7  0x00000008015fbf6f in Fl::wait () from /usr/local/lib/libfltk.so.1.3
#8  0x00000008015fc0cd in Fl::run () from /usr/local/lib/libfltk.so.1.3
#9  0x0000000000412c7d in main (argc=3D0, argv=3D0x1) at xppmain.cxx:54
(gdb)=20

I don't know if this is a problem with xpp or fltk, but I'll assume it's xpp
for now.

Thanks.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214394-13>