Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
63 user(s) are online (41 user(s) are browsing Forums)

Members: 1
Guests: 62

Swisso, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 13 14 15 (16) 17 18 19 ... 72 »
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@kas1e

after Owb working i think one another great stuff will be have DnsCrypt on AmigaOs :) this two software together will be a great couple .


Plus today i found on aw an interesting post about youtube video is better i think you check this script on Owb 1.23 for more compatible youtube video play

http://userscripts.org/scripts/show/114002

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


See User information
@tlosm
Quote:

after Owb working i think one another great stuff will be have DnsCrypt on AmigaOs :) this two software together will be a great couple .

Not me, i have enough in pipeline :)

Quote:

Plus today i found on aw an interesting post about youtube video is better i think you check this script on Owb 1.23 for more compatible youtube video play

http://userscripts.org/scripts/show/114002


You can check it yourself on morphos version, and see if it works.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Home away from home
Home away from home


See User information
@all
Another bug which found today:

If i run odyssey1.23 from amidock , then everything fine, i can close/run it as many times as i want, everything as should. No problems, no crashes.

But, if i run it from shell, and then just quit, and trying to run it again, then i have crash with such stack trace:

Stack trace:
(0x649AB950) native kernel module kernel+0x000200a0
(0x649AB980) native kernel module kernel+0x0002012c
(0x649AB9A0) _ZN3WTF19initializeThreadingEv()+0x3a4 (section 1 @ 0x17A9F30)
(0x649ABA10) _ZN3JSC19initializeThreadingEv()+0x64 (section 1 @ 0x150B12C)
(0x649ABA20) _ZL12handleOM_NEWP6IClassPmP5opSet()+0x134 (section 1 @ 0x95F8)
(0x649ABAE0) _ZL8dispatchP6IClassPmP4_Msg()+0x438 (section 1 @ 0xF554)
(0x649ABB20) native kernel module intuition.library.kmod+0x0001824c


While, our threading related changes are the same 1:1 as we do in 1.9 and in 1.16 (which didn't have such problem)

Stack_cookie of course set as before as well.

What is strange, why it didn't crashes at all from amidock (does not matter how many times i run/quit it), but when i do it from shell, then right on second run it crashes.

Any ideas what it can be ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Odyssey 1.23 progress
Quite a regular
Quite a regular


See User information
@kas1e

do you try to raise the stack to 200000 on shell?

if you open from "execute command" menu on the Wb top bar you have the same error?

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


See User information
@tlosm
Quote:

Stack_cookie of course set as before as well.


did mean stack ok (stack cookie is piece of code which you include to the program, which automatically set your stack on the value you need, without needs to enter it manually in shell). I.e. code have now:

Quote:

#ifdef __amigaos4__
static const char * __attribute__((used)) stackcookie = "$STACK: 2000000";
#endif


And if it was stack problem, it should't runs for first time too, but it only crashes on second run.

Quote:

if you open from "execute command" menu on the Wb top bar you have the same error?


Works fine too same as from amidock, but not from shell

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


See User information
@kas1e

Probably can be a bug of the shell and not of Owb or your fault , will better you report this on hyperion support.

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


See User information
@tlosm
1.9 and 1.16 didn't have those problems, only 1.23. Its 99% my fault somewhere.

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


See User information
@kas1e
If you 'RUN OWB/Odyssey' from shell does it crashes too?

Not sure, but maybe AmiDock runs dockies/tools on its ownAmiDock process/task, check it with Ranger.

Maybe some missing shell/cli start tag in OWB/Odyssey?

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


See User information
@jabirulo
"Run owb" from shell works fine too (tried 5 times to run/exit). Only when i just run it directly from shell as it: first run ok, then close, then second run crash. 100% reproducable.

"Run owb" from shell, "execute" from wb, run from amidock : all ok , can do it 10 times in row for test without problems, but just direct run from shell crashes on second run. All registers have all kind of different values (nothing like nulls, or feedface/abadcade/deadbeef), just a 80000003 dsi crash.

ignore DSIs skip error fine and load odyssey, so it should be something trivial or at least not _that_ hardcore.


Whole crashlog:

Dump of context at 0xEFC10BA0
Trap type
DSI exception
Machine State 
(raw): 0x0200F030
Machine State 
(verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on]
Instruction pointerin module kernel+0x0002009C (0x0182009C)
Crashed processowb (0x6335EA50)
DSI verbose error descriptionAccess not found in hash or BAT (page fault)
Access was a load operation
 0
65ABF604 64475950 020C2BEC 65ABF600 60534B60 60534B60 00000108 60534B70
 8
000000D3 020C2BEC 00000100 021D69A6 FFFFFFF7 64915BE0 00000000 65FF26C0
16
7D4C9040 00000000 63368090 64475C08 02290000 02290000 00000000 00000001
24
62ADF7D0 62ADF7D0 00000000 020A0000 7EC96FBC 60534B60 65ABF600 020C2BEC
CR
22842B84   XER60008F50  CTR: 018200B0  LR: 0182012C
DSISR
40000000  DAR65ABF608

FP0 
FFF8000082024000 3FF0000000000000 3FEFFFEB000DC7F7 41D4C3A5BC5E0CF2
FP4 
0000000000000000 4048E66660000000 405FF33340000000 41E0000000000000
FP8 
0000000000000000 BF60182436517A27 3ED0306CD997DDE4 BF701ACDBB94A830
FP12
3FF0000000000000 4052000000000000 0000000000000000 0000000000000000
FP16
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP28
0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR
82024000

V0 
00000000000000000000000000000000 00000000000000000000000000000000
V2 
FE0113ECFE0124DBFE013FC0FE013FC0 FE0113ECFE0124DBFE013FC0FE013FC0
V4 
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 01000100010001000100010001000100
V6 
00000000000000000000000000000000 00000000000000000000000000000000
V8 
00000000000000000000000000000000 00000000000000000000000000000000
V10
01010101010101010101010101010101 00000000000000000000000000000000
V12
00000000000000000000000000000000 00000000000000000000000000000000
V14
: 001002120414061608180A1A0C1C0E1E 01000100010001000100010001000100
V16
FF000000FF000000FF000000FF000000 FF49140FFF8B251CFFEE4030FFEE4030
V18
00000000000000000000000000000000 00000000000000000000000000000000
V20
00000000000000000000000000000000 00000000000000000000000000000000
V22
00000000000000000000000000000000 00000000000000000000000000000000
V24
00000000000000000000000000000000 00000000000000000000000000000000
V26
00000000000000000000000000000000 00000000000000000000000000000000
V28
00000000000000000000000000000000 00000000000000000000000000000000
V30
00000000000000000000000000000000 00000000000000000000000000000000
VSCR
00000000 VRSAVE00000000

Kernel command line
serial munge

Registers pointing to code
:
r2 native kernel module kernel+0x008c2bec
r9 
native kernel module kernel+0x008c2bec
r11
native kernel module kernel+0x009d69a6
r13
_ZGVZN7WebCore22InspectorDebuggerAgent21sourceMapURLForScriptERKNS_19ScriptDebugListener6ScriptEE29sourceMapHTTPHeaderDeprecated()+0x0 (section 22 0x54F4)
r16main()+0x0 (section 1 0x101C)
r23module owb at 0x00000001 (section 0 0xFFFFFFDC)
r27native kernel module kernel+0x008a0000
r28
_ZN3WTF23threadSpecificKeyCreateEPPNS_18ThreadSpecificNodeEPFvPvE()+0xac (section 1 0x17CEF98)
r31native kernel module kernel+0x008c2bec
ip 
native kernel module kernel+0x0002009c
lr 
native kernel module kernel+0x0002012c
ctr
native kernel module kernel+0x000200b0

Stack trace
:
(
0x64475950native kernel module kernel+0x0002009c
(0x64475980native kernel module kernel+0x0002012c
(0x644759A0_ZN3WTF19initializeThreadingEv()+0x3a4 (section 1 0x17A9F30)
(
0x64475A10_ZN3JSC19initializeThreadingEv()+0x64 (section 1 0x150B12C)
(
0x64475A20_ZL12handleOM_NEWP6IClassPmP5opSet()+0x134 (section 1 0x95F8)
(
0x64475AE0_ZL8dispatchP6IClassPmP4_Msg()+0x438 (section 1 0xF554)
(
0x64475B20native kernel module intuition.library.kmod+0x0001824c
(0x64475B80native kernel module intuition.library.kmod+0x00018470
(0x64475C00native kernel module intuition.library.kmod+0x0000839c
(0x64475C30native kernel module intuition.library.kmod+0x00008130
(0x64475CA0_Z18create_applicationPc()+0xd4 (section 1 0x628)
(
0x64475CD0main()+0x144 (section 1 0x1160)
(
0x64475D00native kernel module newlib.library.kmod+0x000020a4
(0x64475D70native kernel module newlib.library.kmod+0x00002d0c
(0x64475F10native kernel module newlib.library.kmod+0x00002ee8
(0x64475F50_start()+0x170 (section 1 0x16C)
(
0x64475F90native kernel module dos.library.kmod+0x00025208
(0x64475FC0native kernel module kernel+0x0006acdc
(0x64475FD0native kernel module kernel+0x0006ad5c

Disassembly of crash site
:
 0182008
C7FE00008   trap
 
01820090: 4BFFFEB4   b                 0x181FF44
 
01820094: 38030004   addi              r0,r3,4
 
01820098: 90040000   stw               r0,0(r4)
>0182009
C81230008   lwz               r9,8(r3)
 018200
A090890000   stw               r4,0(r9)
 018200
A491240004   stw               r9,4(r4)
 018200
A890830008   stw               r4,8(r3)
 018200
AC4E800020   blr
 
018200B07C0802A6   mflr              r0
Stack pointer 
(0x64475950is inside bounds
Redzone is OK 
(4)


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


See User information
@kas1e

Typically crashes in sub process/tasks/threads when program quits are because the processes did not quit before the main program.

I don't know what code looks like, but its some thing you should investigate whit DebugPrintF or some thing.

Beside that I'm also thinking about the difference between starting a program from shell and wb, is that in one case you read wbstartup message, and the other you read the shell arguments.

Maybe some different in the initialization code, that comes back to haunt you at the end of the program.

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


See User information
Quote:

Any ideas what it can be ?


No but AmiDock runs with WBrun (or at least OpenWorkbenchObject()) I think and shell obviously with shell

So check behaviour when starting with WBRun from shell / starting direct from workbench.

If it still doesn't crash from WBrun and WB then examine the differnces between the shell startup and workbench startup code.


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


See User information
What i also notice now, that when that crash from shell on second run happens, and i ignore it (ignore dsi errors), then i have in serial:

newlib.library error: exit() of process 250 called from wrong process 0, using IExec->RemTask(NULL)


@Andy
Quote:

So check behaviour when starting with WBRun from shell / starting direct from workbench.


for "wbrun owb" from shell - no crashes (tried 5 times in row run/exit)
for dbl-click from WB - no crashes too , also tried 5 times run/exit
directly from shell - right on second run crashes

Quote:

If it still doesn't crash from WBrun and WB then examine the differnces between the shell startup and workbench startup code.


Strange why it start to happens only with 1.23, and not with previous ones, will check now maybe there something new changed

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


See User information
Likelihood of a weekend release?

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
@kas1e

Quote:
At this moment you dind't close it, but just put it under the main owb window by making main owb window active (move it away, and you will see that this dropdown menu still here).


Ok 100% understand now, to solve that i just opened a new ticket in MUI4 asking for a specific enhancement request. Let's see if we can improve this!

See ticket 19

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


See User information
@kas1e

Probably your threading backend has an issue with the startup/end message handling. It might only appear now in 1,23 because more threads are involved (garbage collector thread, localstorage thread and, all the mediaplayer threads and so on...).

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


See User information
@samo79

Quote:

Quote:


Quote:
At this moment you dind't close it, but just put it under the main owb window by making main owb window active (move it away, and you will see that this dropdown menu still here).


Ok 100% understand now, to solve that i just opened a new ticket in MUI4 asking for a specific enhancement request. Let's see if we can improve this!


The popup doesn't close the moment the url gadget becomes inactive. (As it does in Joergs OWB ) so you can end up withit behind the window if you do click to front (especially if you have ClickToFront set to a single click). Depth gadget will do that to. But as soon as you move the window the popudown list snaps back to it's correct position. This suggests the handler for that menu needs to listen to some more window events that just the movement related ones. Particularly depth changes.

Or Odyssey should be modified to close it if the url gadget becomes inactive (and the menu itself is not active).



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


See User information
@kas1e

and if you disable the stack raiser ?

Quote:
#ifdef __amigaos4__
static const char * __attribute__((used)) stackcookie = "$STACK: 2000000";
#endif


and try to run from shell? without and with manual stack command?

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


See User information
@kas1e

Quote:
What i also notice now, that when that crash from shell on second run happens, and i ignore it (ignore dsi errors), then i have in serial:

newlib.library error: exit() of process 250 called from wrong process 0, using IExec->RemTask(NULL)
Although anything you get after ignoring DSI errors is useless most of the time make sure you don't call exit() anywhere from a child process, it can only be used from the main process.

If there are any threads not started by pthreads but by dos.library make sure you ported the MorphOS code to AmigaOS, for example you have to add NP_Child, TRUE to the IDOS->CreateNewProcTags() tags and wait until all child processes completed before returning from main() or calling exit() in the parent, check the dos.library CreateNewProc() autodoc for example code on how to do that.

The main difference between running it from Workbench or using run in a shell and directly starting it in a shell is that in a shell it's using the shell process, after it quits the shell process is still there. With run/Workbench starting it again creates a new process. In the shell it's using the same shell process again - and if you are using dos.library processes and something is wrong in your code waiting for the childs there may still be child processes running of the old Odyssey when starting the new one ...

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


See User information
Quote:

and if you are using dos.library processes and something is wrong in your code waiting for the childs there may still be child processes running of the old Odyssey when starting the new one ...


I wondered about that possibility mysefl, using ranger should anable kas1e to chack if all Odysey processes has closed after program quit.


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


See User information
@tlosm

Quote:

@kas1e

and if you disable the stack raiser ?

Quote:
#ifdef __amigaos4__
static const char * __attribute__((used)) stackcookie = "$STACK: 2000000";
#endif

and try to run from shell? without and with manual stack command?

Re: Odyssey 1.23 progress



That's a pointless experiment. Less stack will never make a program work better, nore sdtack can alwatys be added with the stack command. Stack usage can be checked with Ranger.




Go to top

  Register To Post
« 1 ... 13 14 15 (16) 17 18 19 ... 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