Notices


Reply
Thread Tools
Posts: 91 | Thanked: 4 times | Joined on Dec 2007
#121
I am running the latest Abiword but I always get the following:

pos2 > pos1 at fv_View.cpp:6278
Continue ? (y/n) [y]:

Is there a way to automatically accept these assertions?
 
megabyte405's Avatar
Posts: 197 | Thanked: 87 times | Joined on Apr 2007 @ USA
#122
not that I know of. Easiest thing to do is keep the GDB terminal on a desktop PC (over SSH) so that you can choose y without AbiWord losing focus - it only happens when we receive focus again, so if you are connected over SSH you'll see that you only get it like twice on startup then once or twice when saving files, etc.

That is one of the bugs that needs to be fixed - that assert shouldn't fail, and it's failing in non-Maemo code which is good code, so somewhere along the line Maemo code is passing cross platform code bad information. The bug is filed, look for it on that list.
__________________
Ryan
AbiWord Dev, N800 user
Nokia internet tablet docs: http://www.cleardefinition.com
AbiWord on Maemo beta now available - contact me to help fix bugs!
 
Posts: 13 | Thanked: 1 time | Joined on Feb 2008
#123
Originally Posted by megabyte405 View Post
not that I know of. Easiest thing to do is keep the GDB terminal on a desktop PC (over SSH) so that you can choose y without AbiWord losing focus - it only happens when we receive focus again, so if you are connected over SSH you'll see that you only get it like twice on startup then once or twice when saving files, etc.
...
It works, but only partially. For instance, when started from ssh, abiword does not shows the Open File dialog ...
It seems that the assert bug is really a show stopper. I suspect that the bug in getBetweenPos function could be the ruot of multiple bugs:
Here's the stack trace of a failed insert table:
( bug 10794 )
#0 0x003192a8 in PD_Document::getNextStrux ()
#1 0x0025c220 in fl_BlockLayout::getLength ()
#2 0x002dd5cc in FV_View::getTextBetweenPos ()
#3 0x00213448 in XAP_UnixFrameImpl::_imRetrieveSurrounding_cb ()
#4 0x41b2d758 in ?? () from /usr/lib/libgtk-x11-2.0.so.0

Roberto
 
megabyte405's Avatar
Posts: 197 | Thanked: 87 times | Joined on Apr 2007 @ USA
#124
As a matter of experience, I'm unlikely to suspect a bug in code at that level, since that is cross platform and therefore well used. I'm more concerned about one step up: in the UnixFrameImpl::_imRetrieveSurrounding_cb() - that looks like something to do with an Input Method (im) just judging by the name, and I am pretty sure that file has some maemo only bits. If you want to go bug hunting, read through that function and try to follow it - if you notice anything weird, do tell. (PS - and I know there is something wrong with that function or something related to it, since we're not correctly doing the input method thing since the onscreen keyboard doesn't come up)

BTW, can you post the full backtrace to that bug (since the dump is not very elegant to use in the context of bugzilla)?

Thanks for your help debugging this.

(PS - I have been able to edit text regularly with this in GDB, you just gotta hit "y" a lot over SSH Whoever can fix this and the keyboard bug will be my hero for a period of time)
__________________
Ryan
AbiWord Dev, N800 user
Nokia internet tablet docs: http://www.cleardefinition.com
AbiWord on Maemo beta now available - contact me to help fix bugs!

Last edited by megabyte405; 2008-02-25 at 22:06.
 
Posts: 13 | Thanked: 1 time | Joined on Feb 2008
#125
Originally Posted by megabyte405 View Post
As a matter of experience, I'm unlikely to suspect a bug in code at that level, since that is cross platform and therefore well used. I'm more concerned about one step up: in the UnixFrameImpl::_imRetrieveSurrounding_cb()
I definitely agree; i referred to getTextBetweenPos only because it seems to be involved in more than one bug, but my feeling is that it revelates a bug occurred higher in the stack.
And UnixFrameImpl::_imRetrieveSurrounding_cb() is the only calling place for FV_View::getTextBetweenPos ...

Originally Posted by megabyte405 View Post
- that looks like something to do with an Input Method (im) just judging by the name, and I am pretty sure that file has some maemo only bits. If you want to go bug hunting, read through that function and try to follow it - if you notice anything weird, do tell. (PS - and I know there is something wrong with that function or something related to it, since we're not correctly doing the input method thing since the onscreen keyboard doesn't come up)
very good information, thanks, I will concentrate on that.

Originally Posted by megabyte405 View Post
BTW, can you post the full backtrace to that bug (since the dump is not very elegant to use in the context of bugzilla)?
I'm not sure to understand; what do you mean with "full backtrace"? When freezing occurred i gave Ctrl-C and bt command; the few lines i got are the following:

Code:
Program received signal SIGINT, Interrupt.
0x003192a8 in PD_Document::getNextStrux ()
(gdb) bt
#0  0x003192a8 in PD_Document::getNextStrux ()
#1  0x0025c220 in fl_BlockLayout::getLength ()
#2  0x002dd5cc in FV_View::getTextBetweenPos ()
#3  0x00213448 in XAP_UnixFrameImpl::_imRetrieveSurrounding_cb ()
#4  0x41b2d758 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
Cannot access memory at address 0x1

Originally Posted by megabyte405 View Post
Thanks for your help debugging this.

(PS - I have been able to edit text regularly with this in GDB, you just gotta hit "y" a lot over SSH Whoever can fix this and the keyboard bug will be my hero for a period of time)
Mine too!

Roberto

Last edited by robbè; 2008-02-26 at 07:43.
 
HalSF's Avatar
Posts: 82 | Thanked: 5 times | Joined on Jun 2007 @ New Mexico, USA
#126
I've been following the technical discussions and bug reports in this thread for a while, and I wonder if one of the project gurus would mind updating ITT forum readers on the status of Abiword for OS2008. What's up with Abiword for the N800/N810 platform?

Is there a beta version available for public downloading? (There doesn't seem to be one available on the project page at https://garage.maemo.org/projects/abiword/ )

If this app is not yet released in beta or otherwise, any idea when users will have a robust version available?

Thanks for bringing us up to speed!
 
Posts: 28 | Thanked: 4 times | Joined on Aug 2007 @ Kuala Lumpur Malaysia
#127
I would like to repeat HalSF's request for information regarding the release of Abiword for OS2008. I appreciate the effort made in porting the program. I am limping by with Notes and Xournal, but as a regular user of Abiword on my Linux desktop I very much look forward to using it on my N800 as well.

Thanks again Ryan and team on your work.
 
HalSF's Avatar
Posts: 82 | Thanked: 5 times | Joined on Jun 2007 @ New Mexico, USA
#128
Anybody? We greedy writers await you with bated breath....
 
megabyte405's Avatar
Posts: 197 | Thanked: 87 times | Joined on Apr 2007 @ USA
#129
Right now my university studies are taking all my energy. I've received some bug reports from the testers, and a patch or two, (as well as some debugging attempts) but no patches for the top bugs listed in my last post. As I have not had time to work on them myself, there hasn't been progress there. (AbiWord itself has had a bunch of bugfixes, so I'll respin a beta binary soon, but nothing huge, more a combination of lots of smaller defects fixed.)

If any of you would like to help, please pm me to get access to the private beta. I'd really love it if someone with code skills (and preferably Maemo experience) could help out in squashing some bugs - click the bug links in my earlier posts, pick one, and go find it. Build instructions are in the Maemo Garage project, and you can use the VMWare Maemo SDK (It's what I use...) instead of needing to run linux and install Scratchbox.

Thanks for your patience.

[EDIT: PS. I will keep Bugzilla updated with what I do, so you can always know the status by reading this thread and going to the Bugzilla links, which run a search for all Maemo-only bugs.)
__________________
Ryan
AbiWord Dev, N800 user
Nokia internet tablet docs: http://www.cleardefinition.com
AbiWord on Maemo beta now available - contact me to help fix bugs!
 
HalSF's Avatar
Posts: 82 | Thanked: 5 times | Joined on Jun 2007 @ New Mexico, USA
#130
Thanks so much for taking the time to update us, for your work on this project, and for everyone else who spends time on open-source efforts like this. I wish I had the skills to help!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:13.