# qgit4 segfault

4 messages from 2007-02-15 to 2007-02-17. Participants: Aneesh Kumar, Marco Costalba.
Thread: https://gitlist.dev/t/6835

## Aneesh Kumar, 2007-02-15 19:08

Subject: qgit4 segfault
Message-ID: <cc723f590702151108u1bb8e9e8se72e9f216a23d2f@mail.gmail.com>
URL: https://gitlist.dev/e/cc723f590702151108u1bb8e9e8se72e9f216a23d2f%40mail.gmail.com

```
on a linux-2.6 repo it fails during exit

Done.
QProcess: Destroyed while process is still running.
Segmentation fault (core dumped)
Program terminated with signal 11, Segmentation fault.
#0  0xb764db4f in QTabWidget::indexOf () from /usr/lib/libQtGui.so.4
(gdb) where
#0  0xb764db4f in QTabWidget::indexOf () from /usr/lib/libQtGui.so.4
#1  0x080ce7c5 in ~RevsView (this=0x81bb070) at
/usr/include/qt4/QtGui/qtabwidget.h:171
#2  0xb6fa1e61 in QObjectPrivate::deleteChildren () from /usr/lib/libQtCore.so.4
#3  0xb736add5 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#4  0xb760fe41 in QMainWindow::~QMainWindow () from /usr/lib/libQtGui.so.4
#5  0x080de0a4 in ~MainImpl (this=0x813a498) at ../build/../src/mainimpl.h:34
#6  0xb6fa460b in QObject::event () from /usr/lib/libQtCore.so.4
#7  0xb7371d77 in QWidget::event () from /usr/lib/libQtGui.so.4
#8  0x080b0a7c in MainImpl::event (this=0x813a498, e=0xb30df08) at
mainimpl.cpp:653
#9  0xb7329590 in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#10 0xb732bc66 in QApplication::notify () from /usr/lib/libQtGui.so.4
#11 0xb6f954a4 in QCoreApplication::sendPostedEvents () from
/usr/lib/libQtCore.so.4
#12 0xb6fb7790 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#13 0xb6e0b802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb6e0e7df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#15 0xb6e0ed45 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0xb6fb76ae in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#17 0xb73a7935 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#18 0xb6f932f1 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#19 0xb6f933fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#20 0xb6f957f8 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#21 0xb7329007 in QApplication::exec () from /usr/lib/libQtGui.so.4
#22 0x080c8fb4 in main (argc=0xb78dd7a8, argv=0x814f150) at qgit.cpp:22

```

## Marco Costalba, 2007-02-16 18:32

Subject: Re: qgit4 segfault
Message-ID: <e5bfff550702161032iedc6474t7afbbe9089cbbcaf@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550702161032iedc6474t7afbbe9089cbbcaf%40mail.gmail.com
In-Reply-To: <cc723f590702151108u1bb8e9e8se72e9f216a23d2f@mail.gmail.com>

```
On 2/15/07, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
> on a linux-2.6 repo it fails during exit
>
> Done.
> QProcess: Destroyed while process is still running.
> Segmentation fault (core dumped)

I had a similar problem with qhit4 under Windows (where it should be
fixed now), never under Linux.

Do you have the same problem also with stable qgit 1.5.4
(git://git.kernel.org/pub/scm/qgit/qgit.git) or only with new qgit4
(git://repo.or.cz/qgit4.git) ?

Marco

```

## Marco Costalba, 2007-02-17 07:14

Subject: Re: qgit4 segfault
Message-ID: <e5bfff550702162314t36fa557dh77eca0ed1215d39@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550702162314t36fa557dh77eca0ed1215d39%40mail.gmail.com
In-Reply-To: <cc723f590702151108u1bb8e9e8se72e9f216a23d2f@mail.gmail.com>

```
On 2/15/07, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
> on a linux-2.6 repo it fails during exit
>
> Done.
> QProcess: Destroyed while process is still running.
> Segmentation fault (core dumped)

Patch pushed. Should be fixed now.


   Marco

```

## Aneesh Kumar, 2007-02-17 07:52

Subject: Re: qgit4 segfault
Message-ID: <cc723f590702162352m7817bb21v317155f389a5c418@mail.gmail.com>
URL: https://gitlist.dev/e/cc723f590702162352m7817bb21v317155f389a5c418%40mail.gmail.com
In-Reply-To: <e5bfff550702162314t36fa557dh77eca0ed1215d39@mail.gmail.com>

```
On 2/17/07, Marco Costalba <mcostalba@gmail.com> wrote:
> On 2/15/07, Aneesh Kumar <aneesh.kumar@gmail.com> wrote:
> > on a linux-2.6 repo it fails during exit
> >
> > Done.
> > QProcess: Destroyed while process is still running.
> > Segmentation fault (core dumped)
>
> Patch pushed. Should be fixed now.
>

That fixed the problem

Thanks
-aneesh

```
