RE: [QtExtended] Terminal

2009-03-18 Thread Juan Lucas Dominguez Rubio
Juan Lucas Dominguez Rubio wrote:

> Hello.
>
> The only time I have seen the JamVM (Java) crash on Om 
2008.9, I also
> saw the 'Segmentation fault' error message. If that ever 
happens again,
> is there somewhere in the phone a log file that I might send 
to the list?

Hi Juan,
'Segmentation fault' is very generic error. It can mean e.g. 
that
program writes data to wrong memory place. Your problem is not
related to QtExtended Terminal, it's related to JavaVM. You can 
use
gdb and talk to JamVM authors if you want debug this.

Radek

 

Ok, thanks
 
Juan Lucas


 

 

 

 





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-18 Thread Radek Polak
Juan Lucas Dominguez Rubio wrote:

> Hello.
> 
> The only time I have seen the JamVM (Java) crash on Om 2008.9, I also 
> saw the 'Segmentation fault' error message. If that ever happens again, 
> is there somewhere in the phone a log file that I might send to the list?

Hi Juan,
'Segmentation fault' is very generic error. It can mean e.g. that
program writes data to wrong memory place. Your problem is not
related to QtExtended Terminal, it's related to JavaVM. You can use
gdb and talk to JamVM authors if you want debug this.

Radek



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: [QtExtended] Terminal

2009-03-17 Thread Juan Lucas Dominguez Rubio
Hello.

The only time I have seen the JamVM (Java) crash on Om 2008.9, I also saw the 
'Segmentation fault' error message. If that ever happens again, is there 
somewhere in the phone a log file that I might send to the list?


Regards,
Juan Lucas



-Original Message-
From: community-boun...@lists.openmoko.org on behalf of HouYu Li
Sent: Wed 18/03/2009 0:23
To: List for Openmoko community discussion
Subject: Re: [QtExtended] Terminal
 
Hi, Radek, patch committed.

On Tue, Mar 17, 2009 at 6:53 PM, Radek Polak  wrote:

> I tried running it from console. Only "Segmentation Fault" printed at the
>> end. I will try gdb later.
>>
>
> Attached is a patch that fixes the segfault.
>
> Radek
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>


-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-17 Thread HouYu Li
Hi, Radek, patch committed.

On Tue, Mar 17, 2009 at 6:53 PM, Radek Polak  wrote:

> I tried running it from console. Only "Segmentation Fault" printed at the
>> end. I will try gdb later.
>>
>
> Attached is a patch that fixes the segfault.
>
> Radek
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>


-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-17 Thread Radek Polak
I tried running it from console. Only "Segmentation Fault" printed at 
the end. I will try gdb later.


Attached is a patch that fixes the segfault.

Radek
diff --git a/src/3rdparty/applications/qterminal/MainWindow.cpp b/src/3rdparty/applications/qterminal/MainWindow.cpp
index 48c686a..ce2 100644
--- a/src/3rdparty/applications/qterminal/MainWindow.cpp
+++ b/src/3rdparty/applications/qterminal/MainWindow.cpp
@@ -135,7 +135,9 @@ void MainWindow::finished(QObject *obj)
 
 void MainWindow::currentChanged(int)
 {
-  tabs->currentWidget()->setFocus(Qt::OtherFocusReason);
+  if(tabs->currentIndex() >= 0) {
+tabs->currentWidget()->setFocus(Qt::OtherFocusReason);
+  }
 }
 
 void MainWindow::newSession()
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread andrew howlett

Radek:

thank you very much, this is really great.

radagast.
-- 
View this message in context: 
http://n2.nabble.com/-QtExtended--Terminal-tp2483468p2489431.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread Lorn Potter
Franky Van Liedekerke wrote:
> On Mon, 16 Mar 2009 01:08:45 +0100
> Radek Polak  wrote:
> 
>> Hi,
>> this is patch and sources for adding terminal application
>> to QT Extended Improved. Patch is attached, sources are
>> here [1]. They are taken from here [2].
>>
>> The tar has to be extracted to src/3rdparty/applications
>> then apply patch and rebuild.
>>
>> Radek
>>
>>
>> [1]
>> http://activationrecord.net/radekp/openmoko/qterminal/qterminal.tar.gz
>> [2]
>> http://git.asheesh.org/?p=qtopia_snapshot.git;a=tree;f=src/3rdparty/applications/qterminal;h=ae7a87fde1f1200ed0deab47b1bf6ca197f072ae;hb=tsdogs
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
> 
> Has this anything to do with
> http://www.qt-apps.org/content/show.php?action=content&content=92158
> or with
> http://code.google.com/p/qscite/
> ?

No, qterminal is a 'port' of embeddedkonsole from Qt/E 2 to Qt/E 4.

-- 
Lorn 'ljp' Potter
Software Engineer, Qt Software R&D, Nokia Pty Ltd



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread Franky Van Liedekerke
On Mon, 16 Mar 2009 01:08:45 +0100
Radek Polak  wrote:

> Hi,
> this is patch and sources for adding terminal application
> to QT Extended Improved. Patch is attached, sources are
> here [1]. They are taken from here [2].
> 
> The tar has to be extracted to src/3rdparty/applications
> then apply patch and rebuild.
> 
> Radek
> 
> 
> [1]
> http://activationrecord.net/radekp/openmoko/qterminal/qterminal.tar.gz
> [2]
> http://git.asheesh.org/?p=qtopia_snapshot.git;a=tree;f=src/3rdparty/applications/qterminal;h=ae7a87fde1f1200ed0deab47b1bf6ca197f072ae;hb=tsdogs
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 

Has this anything to do with
http://www.qt-apps.org/content/show.php?action=content&content=92158
or with
http://code.google.com/p/qscite/
?

Franky

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread HouYu Li
On Mon, Mar 16, 2009 at 3:59 PM, Radek Polak  wrote:

> HouYu Li wrote(a):
> > There will be a segmentation fault when closing the last terminal tab.
> > What to do with it?
>
> Just noticed it too. The simple thing is to run it from ssh console,
> maybe some hint is in output. Then comes gdb.
>

I tried running it from console. Only "Segmentation Fault" printed at the
end. I will try gdb later.


> Not sure if i have time today - quite busy with work. I would prefer
> to include this even that is segfaulting for 2 reasons.
>
> 1/ It would be nice to have commited the original source code - so that
>we can add patches to it.
>
> 2/ Terminal is so useful program that even segfault on exit is worth it.
>

Yes. Absolute worth it. I have finished a snapbuild with the qterminal
available for downloading.


>
> If you dont want to commit this yet, no problem - i will fix the
> segfault and send repaired version - but it can take some time, becouse
> of my moneywork.
>

I have committed the change of course. And there is always a conflict
between moneywork and non-moneywork. As I am doing the moneywork now. hehe.

>
> Radek
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread HouYu Li
Any solution or idea about the "Segmentation Fault" on exit??

On Mon, Mar 16, 2009 at 3:49 PM, Radek Polak  wrote:

> HouYu Li wrote(a):
>
> > See your patch on your server...hehe... rebuilding..
>
> Cool, you figured it out. No surprise that i forgot to
> attach it, so late in night :-)
>
> Radek
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread Radek Polak
HouYu Li wrote(a):
> There will be a segmentation fault when closing the last terminal tab. 
> What to do with it?

Just noticed it too. The simple thing is to run it from ssh console,
maybe some hint is in output. Then comes gdb.

Not sure if i have time today - quite busy with work. I would prefer
to include this even that is segfaulting for 2 reasons.

1/ It would be nice to have commited the original source code - so that
we can add patches to it.

2/ Terminal is so useful program that even segfault on exit is worth it.

If you dont want to commit this yet, no problem - i will fix the
segfault and send repaired version - but it can take some time, becouse
of my moneywork.

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-16 Thread Radek Polak
HouYu Li wrote(a):

> See your patch on your server...hehe... rebuilding..

Cool, you figured it out. No surprise that i forgot to
attach it, so late in night :-)

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-15 Thread HouYu Li
There will be a segmentation fault when closing the last terminal tab. What
to do with it?

On Mon, Mar 16, 2009 at 9:30 AM, HouYu Li  wrote:

> See your patch on your server...hehe... rebuilding..
>
>
> On Mon, Mar 16, 2009 at 9:21 AM, HouYu Li  wrote:
>
>> Is the source come with the patch?? I cannot see any patches...
>>
>>
>> On Mon, Mar 16, 2009 at 8:08 AM, Radek Polak  wrote:
>>
>>> Hi,
>>> this is patch and sources for adding terminal application
>>> to QT Extended Improved. Patch is attached, sources are
>>> here [1]. They are taken from here [2].
>>>
>>> The tar has to be extracted to src/3rdparty/applications
>>> then apply patch and rebuild.
>>>
>>> Radek
>>>
>>>
>>> [1]
>>> http://activationrecord.net/radekp/openmoko/qterminal/qterminal.tar.gz
>>> [2]
>>>
>>> http://git.asheesh.org/?p=qtopia_snapshot.git;a=tree;f=src/3rdparty/applications/qterminal;h=ae7a87fde1f1200ed0deab47b1bf6ca197f072ae;hb=tsdogs
>>>
>>> ___
>>> Openmoko community mailing list
>>> community@lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>>>
>>
>>
>>
>> --
>> Best Regards
>>
>> HouYu Li, Karajan
>>
>> karajan_ii (at) hotmail.com
>> karadog (at) gmail.com
>> lihouyu (at) phpex.net
>>
>> PHP Developer
>> Red Hat Certified Engineer
>>
>> Shanghai, China
>>
>
>
>
> --
> Best Regards
>
> HouYu Li, Karajan
>
> karajan_ii (at) hotmail.com
> karadog (at) gmail.com
> lihouyu (at) phpex.net
>
> PHP Developer
> Red Hat Certified Engineer
>
> Shanghai, China
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-15 Thread HouYu Li
See your patch on your server...hehe... rebuilding..

On Mon, Mar 16, 2009 at 9:21 AM, HouYu Li  wrote:

> Is the source come with the patch?? I cannot see any patches...
>
>
> On Mon, Mar 16, 2009 at 8:08 AM, Radek Polak  wrote:
>
>> Hi,
>> this is patch and sources for adding terminal application
>> to QT Extended Improved. Patch is attached, sources are
>> here [1]. They are taken from here [2].
>>
>> The tar has to be extracted to src/3rdparty/applications
>> then apply patch and rebuild.
>>
>> Radek
>>
>>
>> [1]
>> http://activationrecord.net/radekp/openmoko/qterminal/qterminal.tar.gz
>> [2]
>>
>> http://git.asheesh.org/?p=qtopia_snapshot.git;a=tree;f=src/3rdparty/applications/qterminal;h=ae7a87fde1f1200ed0deab47b1bf6ca197f072ae;hb=tsdogs
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
>
> --
> Best Regards
>
> HouYu Li, Karajan
>
> karajan_ii (at) hotmail.com
> karadog (at) gmail.com
> lihouyu (at) phpex.net
>
> PHP Developer
> Red Hat Certified Engineer
>
> Shanghai, China
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Terminal

2009-03-15 Thread HouYu Li
Is the source come with the patch?? I cannot see any patches...

On Mon, Mar 16, 2009 at 8:08 AM, Radek Polak  wrote:

> Hi,
> this is patch and sources for adding terminal application
> to QT Extended Improved. Patch is attached, sources are
> here [1]. They are taken from here [2].
>
> The tar has to be extracted to src/3rdparty/applications
> then apply patch and rebuild.
>
> Radek
>
>
> [1] http://activationrecord.net/radekp/openmoko/qterminal/qterminal.tar.gz
> [2]
>
> http://git.asheesh.org/?p=qtopia_snapshot.git;a=tree;f=src/3rdparty/applications/qterminal;h=ae7a87fde1f1200ed0deab47b1bf6ca197f072ae;hb=tsdogs
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Best Regards

HouYu Li, Karajan

karajan_ii (at) hotmail.com
karadog (at) gmail.com
lihouyu (at) phpex.net

PHP Developer
Red Hat Certified Engineer

Shanghai, China
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community