Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
112 user(s) are online (42 user(s) are browsing Forums)

Members: 0
Guests: 112

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 10 11 12 (13) 14 15 16 ... 72 »
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Samo
Quote:

but it's for sure availible under the "Edit" menu and it works from there


I can't check now, but maybe it just was some additional setting to contextmenu done myself :) I mean, you can construct main context menu as you wish, and i assume put that functionality where you need by mime types.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@samo79

I implemented this paste&go url contextmenu item, but it appeared in a submenu instead of below the other entries, and it didn't look good, that's why i disabled it, since i didn't find how to put it at the same level as the other entries. And i had much more interesting things to do in the browser in the meanwhile.

And by the way, if you find it's not friendly from edit menu, you can just press amiga+g, it's even faster that way.

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@kas1e

Quote:
I can't check now, but maybe it just was some additional setting to contextmenu done myself :) I mean, you can construct main context menu as you wish, and i assume put that functionality where you need by mime types.


I don't think it will work because it's not the same user configurable menu, that copy and paste functionalities (for the address area) seems internal so to change them i presume you should modify the current source code

@Fab

Understand, well no a big problem but i hope someday you will implement it at 100%, for now of course i'm using the amiga+g combo

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab

Maybe you see it already, but i've found a new issue (Roman says that it's the same under OWB 1.23 on MorphOS)

http://bugs.os4depot.net/?function=viewissue&issueid=873

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Samo
Thore deal already with that enhancement and i already have beta in tests: now "alt" qualifier added to do marking. I.e. all previous combos works as before, just if you press them with alt, you mark data. If you press alt + cursor keys, it mark single characters, if you press alt+home or alt+end, it mark text from cursor position till end, or till begining of string, you also can mark by words : originaly with ctrl+cursor keys you can jump over words, now, the same combo but just with added alt (i.e. alt+ctrl+cursor keys) will mark words. I.e. just check current muiprefs/keyboard, and imagine that for almost everything you can add "alt" now, to make the same, but for marking. Also was added some more handling for input to avoid typing of those characters when they in no use. In other words, its cool now. Will be good if morphos devs will add to their mui something like this, can help for usability for sure.



Edited by kas1e on 2014/2/14 10:12:27
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@kas1e

Yes i'm following the daily progress from the MUIdev site so i read that already!
Great news for sure, most of the problems related to the OWB usability are now solved and just the double buffering still in progress

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
Two days of silence!

What does it mean?


Scott

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@ScottCabit

It only mean that i use it everyday, but didn't releaze because there is that problem about which i told (and which present on all versions, and in 1.9 and in 1.16): some sites crashes on os4 version while the same sites but on morphos version didn't. And so, i think about how to make it all in one new topic, with links, different crashlogs, and so everyone can suggest what going on. I curently trying myself understand why it happens, and have only ideas that it can be because of timing as Joerg say me before (but i tried his timing code from his owb, and it didn't help, or i just use it wrong) , or, which is also possible, some thread runs outside of main process somewhere, or, for compiler i use there is some bug which make something bad, or .. or whatever else :)

For example, the site which happy crashes on 1.23 os4 version , and didn't crashes on 1.23 on morphos are: http://bombermine.com And crashlog here: http://kas1e.mikendezign.com/temp/shit_crashes/bombermine_com.txt

Or for example my mail.yandex.ru which i use, it didn't crashes only when i spoof as ipad, so it swith to some "lite" mode, but on morphos its fine in full mode as well. And crash are: http://kas1e.mikendezign.com/temp/shit_crashes/mail_yandex_ru.txt

So its kind of same problems, and i am sure it crashes for ppls offten on heavy pages because of exactly that. But webcore code the same of course and i change nothing in terms of JS for example or so. If only there is somewhere something which should be done somehow differently for os4, but what and where .. Maybe some different compilation flags.. I do not know currently. Maybe "fastmalloc" can be disabled, maybe something else. Dunno. Maybe there need to open somewhere new instances of ISocket, to avoid that problem (as seens from crashlog its related to handle of sockets). Or maybe all about timing. Really dunno. Maybe os4 catch something which morphos didn't and bug present just in webcore itself.

As both crashes point out on 0xCCCCCCC (as i on debug + munge), it mean "you have tried to free a Node a second time". So maybe some wrong free() somewhere, or dunno what. Together with DEADBEEF in one of registers its cleary point out on problems with memory, but it all can be anything.

@All
Anyone skilled and brave enough to help with and dig in into code ?


Edited by kas1e on 2014/2/18 5:52:37
Edited by kas1e on 2014/2/18 5:53:20
Edited by kas1e on 2014/2/18 5:54:31
Edited by kas1e on 2014/2/18 6:05:21
Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@kas1e
if you disable the java script there you still continue have this issue?

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@tlosm
You can try it yourself on 1.16 (on bombermine.com for example). Both sites didn't allow you going futher than just main pages without JS: so i can't say if it JS related or not. And even if, it still didn't mean that its related to JS itself, as it can be just with enabled JS a lot of data handles, and bug come out.

Through as i see Kicko deal with all his problematic sites by disabling JS, but still it can be not JS itself, but anything else. And crashlogs point out on timing/sockets handling, not on something in JS.

Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@kas1e

umm do you check with snoopy what library or mod did this issue... can be something related using of ram? check on mem/vmem meter if this sites are using much ram and make Odyssey crash, some times jquery make issue with system with low memory.

i see Odyssey crash only on Efika when ram finish because webkit is huge mem eater

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e

Both point to websockets, at least. and It's totally unrelated to js in general, but to the websocket network backend, so basically BCSocketStreamHandleCurl.cpp.

In your case, it seems the socketstream client leads to deleting the socketstream handle itself, but then calls the socketstream again, hence this 0xCCCCCCCC address.

It also happened in MorphOS in some versions before, and the fix was basically to protect the handle with a RefPtr in the right place so that the handle doesn't get deleted. That said, since it crashes on OS4 and not MorphOS, i don't get why it happens, but what's sure is you should debug that piece of code (and the generic WebCore/Modules/websockets code) if you intend to fix it.

Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@tlosm

It's not related to memory usage at all.

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
With enabled debug in BCSocketStreamHandleCurl, going to mail.yandex.ru give me that on serial (include crash) : http://kas1e.mikendezign.com/temp/shi ... shes/handlecurl_debug.txt

Interesting that when JS is disabled, then websockets seems not involved ? At least i can't see when login to mail.yandex.ru without JS all those:

SocketStreamHandle 0x6212DC68 client 0x62338108
createConnection 0x622FE060

and so on.

But once i enable JS , then they come (rarely, just few printfs, but still).

As i see at end of our debug printfs, but before crash, we have:

Quote:

platformClose 0x629DA660 0x00000000
closeConnection 0x00000000
~SocketStreamHandle 0x629DA660
closeConnection 0x00000000


Dunno at all what is all about, only see that its m_curlHandle which is 0x0000000 in the SocketStreamHandle::platformClose. Maybe its somehow related to way how websocket's threads created/deleted ? Because for example for os4 port (and before and now) we had to do one more change related to threads to make aos4 version works : in BAL/Types/WTf/BCThreadingWTF.cpp:

#ifdef __amigaos4__
#include <proto/exec.h>
#include <exec/tasks.h>
#endif

static void threadEntryPoint(voidcontextData)
{
#ifdef __amigaos4__
     
struct Task *t=FindTask(NULL);
     
NewThreadContextcontext reinterpret_cast<NewThreadContext*>(t->tc_UserData);
#else
     
NewThreadContextcontext reinterpret_cast<NewThreadContext*>(contextData);
#endif


Because of all that newlib/calling from same task, etc (because of what we also had to change calling of clipboard hook as well).

Probably not related, but maybe something like this should be done for threads in websockets ?


Edited by kas1e on 2014/2/18 13:45:46
Go to top
Re: Odyssey 1.23 progress
Just popping in
Just popping in


See User information
@kas1e

It doesn't happen when js is disabled because websockets are js-driven, of course. But your issue is still not about "javascript", but about the websockets backend.

Regarding your thread stuff, it won't have any effect. It all happens in main thread context (it would be different if js workers/shared workers were enabled, but they aren't, for a good reason).

Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Quote:

It doesn't happen when js is disabled because websockets are js-driven, of course


Is it necessary to have websockets enabled at all ? I mean, did it give any benefits except html5test.com ? If i will just disable them will everything works as expected just without websockets ?

What is interesting, those websockets seems involved rarely, and even if they calls ones time, no crash happens. For example when i go to html5test.com i have:

Quote:

SocketStreamHandle 0x5BDCBDE0 client 0x5B6CFFB0
createConnection 0x5A45B060
platformClose 0x5BDCBDE0 0x00000000
closeConnection 0x00000000


And no crash.

And its really so rare i see that debug, can visit about 10 heavy sites with JS, and those sites don't use websockets, and no calls from all those SocketStreamHandle (no surpise that not all sites crashes, so i even didn't notice it at all before).

I even for sake of be 100% sure that its about websockets only, go to http://www.websocket.org/echo.html, and there just press on button "connect" (for ws://echo.websocket.org), and it happy crashes of course with such log:

Quote:

SocketStreamHandle 0x63219B30 client 0x63CE21D8
createConnection 0x63254190
didOpenCallback client 0x63CE21D8
platformSend 0x63219B30
1 m_client 0x63CE21D8
platformClose 0x63219B30 0x63254190
closeConnection 0x63254190
platformClose 0x63219B30 0x63254190
closeConnection 0x63254190
~SocketStreamHandle 0x63219B30
closeConnection 0x63254190

<<CRASH COME>>


And exactly same crash if i trying to use "secure websocekts (tls)", of course.

I think that maybe curl should be build somehow different, but then tried with pure curl binary done from my libcurl.a which i use with odyssey, and seems websockets works, etc:

Quote:

8/0.RAM Disk:> curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin: http://www.websocket.org" http://echo.websocket.org
HTTP/1.1 101 Web Socket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
WebSocket-Origin: http://www.websocket.org
WebSocket-Location: ws://echo.websocket.org/
Server: Kaazing Gateway
Date: Wed, 19 Feb 2014 05:59:50 GMT
Access-Control-Allow-Origin: http://www.websocket.org
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: content-type
Access-Control-Allow-Headers: authorization
Access-Control-Allow-Headers: x-websocket-extensions
Access-Control-Allow-Headers: x-websocket-version
Access-Control-Allow-Headers: x-websocket-protocol


Wtf then.. Maybe that didOpenCallback ?


@All
Anyone with skills who can help with debug/ideas of what happens with that websockets backend ?

There is files in question:
http://kas1e.mikendezign.com/temp/shit_crashes/files/


Edited by kas1e on 2014/2/19 6:13:11
Edited by kas1e on 2014/2/19 6:15:15
Edited by kas1e on 2014/2/19 6:16:49
Edited by kas1e on 2014/2/19 6:20:21
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Omiga !! I fix that crap ! It was indeed didOpenCallback and all what i do its the same as you do for other fucntions, right at top adding protect , i.e.:

void SocketStreamHandle::didOpenCallback(Timer<SocketStreamHandle>*)
{
    
D(kprintf("didOpenCallback client %p\n"m_client));
    
    
RefPtr<SocketStreamHandleprotect(this);

    
ASSERT(m_state == Connecting);
    
m_state Open;
    if(
m_clientm_client->didOpenSocketStream(this);

    
// This starts polling for notification.
    
m_pollTimer.startRepeating(pollInterval);
}


So now on websocket.org i pass both tests for connect (plain and secure ones), as well as bombermine.com works fine now and didn't crashes, as well as mail.yandex.ru works too ! Omiga1200 !

Resized Image

Btw, that bombermine.com seems so far only one site i found which heavy use websockets, i mean really heavy (While with mail.yandex.ru it was just 2 instances). bombermine.com anyway didn't works as it should by default: after i choice "play as guest" it didn't load everything (same on morphos as well, but it works on my win32's chrome). But when i spoof it as chrome, then it works ! (both , on os4 and on mos). What a relief :)

Strange why it didn't crashes same on mos without protect in didOpenCallback, through, but who care :)

Go to top
Re: Odyssey 1.23 progress
Just can't stay away
Just can't stay away


See User information
Omiga!

I like these posts! Bug squishing supremo

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@Fab
Well,i was too fast to say "it fixed". That protect fix the crash, yes, but websockets still didn't works as they should. I.e. they just disconnects.

If i go to websocket.org/echo.html , then do "connect" on os4 port, then their log form says "disconnect". But if i do same on morphos version, then it say in they log says "connected", and wait till i not press "disconnect" button (through, "Use secure WebSocket (TLS)" also didn't works on morphos and do disconnect, while works on win32's chrome).

So while there is no crash anymore, it isn't here not because all fine, but because it just seems don't do connection.

I also do make whole debug of bombermine.com with that "fix" in didOpenCallback(), and that what we have (maybe you find something unusual there, like "select 0" everywhere or so): http://kas1e.mikendezign.com/temp/shi ... shes/bombermine_debug.txt

It i just pure go at bombermine.com and wait till everything loads.

Also tested Joerg's owb : while there is not full websocket implementation its still have some basics as i see by tests, and it still can pass websocket.org/echo.html (tested with plain websocket connections : works. But , with TLS it just crashes with null pointer).

@All
Common, where all those skilled ppls who can easy port it all ? Check the files i put in previous post, maybe you will find something.


Edited by kas1e on 2014/2/19 11:20:27
Edited by kas1e on 2014/2/19 11:21:06
Edited by kas1e on 2014/2/19 11:22:30
Edited by kas1e on 2014/2/19 11:24:39
Edited by kas1e on 2014/2/19 11:40:32
Edited by kas1e on 2014/2/19 11:41:57
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
For sure you know already so you don't need, aniway Just to verify i repeat the test on my system and the websocket.org/echo.html site seems fine on Joerg's OWB 3.32 (atleast no crash pressing the connect/disconnect buttons) but it crash under Odyssey 1.16

Quote:
Crash log for task "OWB"
Generated by GrimReaper 53.16
Crash occured in module OWB at address 0x6B53AE6C
Type of crash: DSI (Data Storage Interrupt) exception

Register dump:
GPR (General Purpose Registers):
0: 6B53ADB4 49ECE920 00000000 49ECE92C 47299B98 00000000 000000F0 081C60BC
8: 3ED75760 CCCCCCCC 01A50000 021BDC66 0000015C 4A338740 00000000 4A330B08
16: 4A3323C8 4A330B64 DEAD0077 4A3323C8 558D0000 49ECEC78 53F3D024 4A330B64
24: 49ECEC78 53F3D024 000003F0 3F749428 49ECE930 49ECE92C 4A2A7DFC 3ED75778


FPR (Floating Point Registers, NaN = Not a Number):
0: nan 0 0 65
4: 416 740 1102 1102
8: 416 600 416 362
12: 740 1.39282e+09 0 0
16: 0 0 0 0
20: 0 0 0 1.61895e-319
24: 0 0 1.08646e-311 -1.17478e+229
28: 0 0 1.39282e+09 1.39282e+09

FPSCR (Floating Point Status and Control Register): 0xA2002100


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x54541390
Instruction Pointer (ip) : 0x6B53AE6C
Xtended Exception (xer) : 0x01821028
Count (ctr) : 0x00000000
Link (lr) : 0x00000000
DSI Status (dsisr) : 0x0183F248
Data Address (dar) : 0x00000000



680x0 emulated registers:
DATA: 58C5658E 00000003 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 49ECE0C0
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x6B53AE6C belongs to module "OWB" (PowerPC)
Symbol: _ZN7WebCore16WebSocketChannel19didOpenSocketStreamEPNS_18SocketStreamHandleE + 0x140 in section 1 offset 0x0108FE48

Stack trace:
_ZN7WebCore16WebSocketChannel19didOpenSocketStreamEPNS_18SocketStreamHandleE()+0x140 (section 1 @ 0x108FE48)
_ZN7WebCore16WebSocketChannel19didOpenSocketStreamEPNS_18SocketStreamHandleE()+0x88 (section 1 @ 0x108FD90)
_ZN7WebCore5TimerINS_18SocketStreamHandleEE5firedEv()+0x30 (section 1 @ 0x110FC88)
_ZN7WebCore12ThreadTimers24sharedTimerFiredInternalEv()+0x140 (section 1 @ 0x17FD90)
_ZN7WebCore12ThreadTimers16sharedTimerFiredEv()+0x40 (section 1 @ 0x17FDF8)
_ZN7WebCore17fireTimerIfNeededEv()+0x38 (section 1 @ 0x16E9EC)
_ZN14WebViewPrivate21fireWebKitTimerEventsEv()+0x10 (section 1 @ 0xCB144)
_ZN7WebView21fireWebKitTimerEventsEv()+0x14 (section 1 @ 0xA8804)
_ZL28handleMM_OWBApp_WebKitEventsP6IClassPmP4_Msg()+0x90 (section 1 @ 0x44C4)
_ZL8dispatchP6IClassPmP4_Msg()+0x460 (section 1 @ 0xE740)
CustomClassDispatcher()+0xa0 (section 1 @ 0x41B4)
native kernel module intuition.library.kmod+0x0001824c
native kernel module intuition.library.kmod+0x00018470
native kernel module intuition.library.kmod+0x00008448
native kernel module intuition.library.kmod+0x00008088
_Z9main_loopv()+0x1e0 (section 1 @ 0x550)
main()+0xac (section 1 @ 0xFD4)
native kernel module newlib.library.kmod+0x000020ac
native kernel module newlib.library.kmod+0x00002d5c
native kernel module newlib.library.kmod+0x00002ef0
_start()+0x170 (section 1 @ 0x16C)
native kernel module dos.library.kmod+0x00024cd0
native kernel module kernel+0x0003b4b0
native kernel module kernel+0x0003b530

PPC disassembly:
6b53ae64: 809e8024 lwz r4,-32732(r30)
6b53ae68: 7fa3eb78 mr r3,r29
*6b53ae6c: 83890044 lwz r28,68(r9)
6b53ae70: 48250c4d bl 0x6B78BABC
6b53ae74: 7fe3fb78 mr r3,r31

System information:

CPU
Model: AMCC PPC440EP V1.3
CPU speed: 799 MHz
FSB speed: 133 MHz
Extensions:

Machine
Machine name: Sam440EP
Memory: 1048576 KB
Extensions: bus.pci


Go to top

  Register To Post
« 1 ... 10 11 12 (13) 14 15 16 ... 72 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
7 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project