Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2001 21:36:31 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        <freebsd-ports@freebsd.org>
Subject:   [qt-copy] uic segmentation faults on listboxeditor.ui ... 
Message-ID:  <Pine.BSF.4.33.0104092133460.72136-100000@mobile.hub.org>

next in thread | raw e-mail | index | archive | help

I'm running FreeBSD 4.3 on this machine, XFree86-4.0.3 from ports ... Just
in case I maybe had something wrong in my ports, I cleaned them all out
with pkg_delete and rebuilt what I needed from scratch, same effect ...
I'm wondering if maybe its "yet another problem" with 4.0.3?

I'm compiling qt using:

========
#!/bin/sh

export QTDIR=/usr/local/kde/qt-copy

./configure -debug -sm -gif -system-libpng -system-jpeg \
   -thread -no-g++-exceptions -L/usr/local/lib -I/usr/local/include -lc_r
gmake symlinks sub-src sub-tools
=========

does anyone know of a way to debug this?

gmake[5]: Entering directory `/usr/local/kde/qt-copy/tools/designer/designer'
/usr/local/kde/qt-copy/bin/uic listboxeditor.ui -o ./listboxeditor.h
gmake[5]: *** [listboxeditor.h] Segmentation fault (core dumped)
gmake[5]: *** Deleting file `listboxeditor.h'

bin/uic runs:

atelier# bin/uic
Qt user interface compiler
Usage: bin/uic  [options] [mode] <uifile>

Generate declaration:
   bin/uic  [options]  <uifile>
Generate implementation:
   bin/uic  [options] -impl <headerfile> <uifile>
        <headerfile>    name of the declaration file
Generate subclass declaration:
   bin/uic  [options] -subdecl <classname> <headerfile> <uifile>
        <classname>     name of the subclass to generate
        <headerfile>    declaration file of the baseclass
Generate subclass implementation:
   bin/uic  [options] -subimpl <classname> <headerfile> <uifile>
        <classname>     name of the subclass to generate
        <headerfile>    declaration file of the subclass
Options:
        -o file         Write output to file rather than stdout
        -tr func        Use func(...) rather than tr(...) for i18n


The core file shows nothing:

#0  0x286d66dc in sysctl () from /usr/lib/libc.so.4
(gdb) where
#0  0x286d66dc in sysctl () from /usr/lib/libc.so.4
#1  0x286ec16a in .cerror () from /usr/lib/libc.so.4
#2  0x286ec06a in exit () from /usr/lib/libc.so.4
#3  0x804d805 in _start ()

but, even with the seg fault, it appears to be building the
listboxeditor.h file:

================================
protected:
    QGridLayout* ListBoxEditorBaseLayout;
    QHBoxLayout* Layout1;
    QGridLayout* GroupBox1Layout;
};

#endif // LISTBOXEDITORBASE_H
atelier# ls -lt !$
ls -lt listboxeditor.h
-rw-r--r--  1 root  wheel  1837 Apr  9 10:25 listboxeditor.h
atelier#
================================

I'm compiling qt with:

#!/bin/sh

export QTDIR=/usr/local/kde/qt-copy

./configure -debug -sm -gif -system-libpng -system-jpeg \
        -thread -no-g++-exceptions -L/usr/local/lib -I/usr/local/include -lc_r
gmake symlinks sub-src sub-tools


Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104092133460.72136-100000>