> > Ciao a tutti,
>
> > volevo gentilissimamente un vostro parere/aiuto si questo piccolo
> > progetto di prova che ho fatto per esercitarmi con i replicant:
>
> >
http://rapidshare.com/files/224022369/RepliText.zip.html
>
> > Succede una cosa abbastanza strana, nel momento in cui stacco il
> > replicant e lo appoggio sul desktop il Tracker crasha.
>
> > In realtà uso la piccola utility Container (quella che si trova nei
> > sample-code della Be) per testare il replicant. La cosa curiosa
> > appunto è che a far crashare il Tracker/Container è BScrollBar::Draw()
> > chiamata da BView::Archive(BMessage *msg) nel momento in cui, leggendo
> > il BMessage si mette a ricostruire la View.
>
> > Se tolgo la BScrollView (e quindi il relativo oggeto BScrollBar)
> > lasciando solo la BTextView, tutto funziona, il replicant si appiccica
> > e vissero tutti felici e contenti.
>
> > Ho messo dentro il file zip anche un estratto di gdb (che purtroppo
> > non so molto usare!)
>
> al prompt di gdb dai il comando bt (backtrace) che ti stampa il trace delle
> chiamate che hanno portato al crash.
Ecco il backtrace:
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-pc-haiku"...(no debugging symbols
found)
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 139 caused an exception: Segment violation
Reading symbols from /boot/beos/system/runtime_loader...done.
Loaded symbols for /boot/beos/system/runtime_loader
Reading symbols from /boot/beos/system/lib/libbe.so...done.
Loaded symbols for /boot/beos/system/lib/libbe.so
Reading symbols from /boot/beos/system/lib/libtracker.so...done.
Loaded symbols for /boot/beos/system/lib/libtracker.so
Reading symbols from /boot/beos/system/lib/libroot.so...done.
Loaded symbols for /boot/beos/system/lib/libroot.so
Reading symbols from /boot/beos/system/lib/libstdc++.r4.so...done.
Loaded symbols for /boot/beos/system/lib/libstdc++.r4.so
Reading symbols from /boot/beos/system/lib/libtranslation.so...done.
Loaded symbols for /boot/beos/system/lib/libtranslation.so
Reading symbols from /boot/beos/system/lib/libtextencoding.so...done.
Loaded symbols for /boot/beos/system/lib/libtextencoding.so
Reading symbols from /boot/beos/system/lib/libiconv.so...done.
Loaded symbols for /boot/beos/system/lib/libiconv.so
Reading symbols from /boot/beos/system/add-ons/Translators/
BMPTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/BMPTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
EXRTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/EXRTranslator
Reading symbols from /boot/beos/system/lib/libilmimf.so...done.
Loaded symbols for /boot/beos/system/lib/libilmimf.so
Reading symbols from /boot/beos/system/lib/libz.so...done.
Loaded symbols for /boot/beos/system/lib/libz.so
Reading symbols from /boot/beos/system/add-ons/Translators/
GIFTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/GIFTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
JPEG2000Translator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/
JPEG2000Translator
Reading symbols from /boot/beos/system/add-ons/Translators/
JPEGTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/
JPEGTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
PCXTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/PCXTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
PNGTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/PNGTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
PPMTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/PPMTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
RAWTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/RAWTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/RTF-
Translator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/RTF-
Translator
Reading symbols from /boot/beos/system/add-ons/Translators/
SGITranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/SGITranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
STXTTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/
STXTTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
TGATranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/TGATranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
TIFFTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/
TIFFTranslator
Reading symbols from /boot/beos/system/add-ons/Translators/
WonderBrushTranslator...done.
Loaded symbols for /boot/beos/system/add-ons/Translators/
WonderBrushTranslator
Reading symbols from /boot/home/RepliText/BeApp...done.
Loaded symbols for /boot/home/RepliText/BeApp
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/beos/system/Tracker (82) thread w>/boot/home/
Desktop (139)]
0x003308d1 in BScrollBar::Draw () from /boot/beos/system/lib/libbe.so
(gdb) bt
#0 0x003308d1 in BScrollBar::Draw () from /boot/beos/system/lib/
libbe.so
#1 0x0036b0f4 in BView::_Draw () from /boot/beos/system/lib/libbe.so
#2 0x0036f9e5 in BWindow::DispatchMessage ()
from /boot/beos/system/lib/libbe.so
#3 0x00373654 in BWindow::task_looper () from /boot/beos/system/lib/
libbe.so
#4 0x002b855f in BLooper::_task0_ () from /boot/beos/system/lib/
libbe.so
#5 0x00677b98 in thread_entry () from /boot/beos/system/lib/
libroot.so
#6 0x70184fec in ?? ()
(gdb)
> > E' colpa mia o è colpa di Haiku ?
>
> Potrebbe benissimo essere un baco del sistema.. Hai controllato sul track se
> è stato aperto un ticket simile?
Ho controllato e non mi pare ci sia,sto installando BeOS Max3 su una
macchina virtuale per fare la prova del 9.