Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
11 user(s) are online (10 user(s) are browsing Forum)

Members: 0
Guests: 11

more...


Browsing this Thread:   1 Anonymous Users






Re: Network Pref Editor Crash
#5
Home away from home
Home away from home


See User information
Quote:

wawa wrote:
may i ask to fix it on v1 if necessary as well?


Before I can fix the bug on v1 I must introduce it there

(V1 has an older version of the Network Pref. without the SMB support.)

Posted on: 2012/7/15 9:28
AROS - Make code, not war :knuddel:
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Network Pref Editor Crash
#4
Home away from home
Home away from home


See User information
may i ask to fix it on v1 if necessary as well?

Posted on: 2012/7/14 16:44
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Network Pref Editor Crash
#3
Home away from home
Home away from home


See User information
hex hex (Bibi Blocksberg) : )
Thank you mazze

Posted on: 2012/7/14 11:05
www.aeros-os.org AEROS for Raspberry Pi
www.aros-broadway.de Native AROS for i386 and m68k
www.indiego-Gaming.com indieGO! The AppStore for all amigans
www.ares-shop.eu
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Network Pref Editor Crash
#2
Home away from home
Home away from home


See User information
Looks like I have to fix this myself.

Abracadabra.

Simsalabim.

Fixed with commit #45223.

Reason for the crash was that ExAll() wasn't called as documented.

The reason why it worked when Network prefs. was called the first time is that the first run created the directory ENV:SMB. On the second run it tried to examine that empty directory, but ExAll() was called such that it failed on empty directories.

Posted on: 2012/7/14 11:01
AROS - Make code, not war :knuddel:
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


[FIXED] Network Pref Editor Crash
#1
Home away from home
Home away from home


See User information
I'm starting a new thread to stay on topic.

The first time I started the Network Pref. editor of linux-i386-ABIv0 it worked as expected. The second time it crashed with this backtrace:

#0  0xd8aae45f in english_strcompare (string1=0xc0dedbad <Address 0xc0dedbad out of bounds>, string2=0xf7e19008 "CONSOLE:", length=-2, type=0, LocaleBase=0xd8a847a0) at /home/mazze/projects/aros-src-v0/workbench/libs/locale/./english.c:370
#1  0xd8aad5de in Locale_StrnCmp (locale=0xd8a848c0, string1=0xc0dedbad <Address 0xc0dedbad out of bounds>, string2=0xf7e19008 "CONSOLE:", length=-1, type=0, LocaleBase=0xd8a847a0) at /home/mazze/projects/aros-src-v0/workbench/libs/locale/./strncmp.c:106
#2  0xd8aad86d in __inline_Locale_StrnCmp (__arg1=0xd8a848c0, __arg2=0xc0dedbad <Address 0xc0dedbad out of bounds>, __arg3=0xf7e19008 "CONSOLE:", __arg4=-1, __arg5=0, __LocaleBase=0xd8a847a0) at /home/mazze/projects/aros-linux-i386-v0-dbg/bin/linux-i386/gen/workbench/libs/locale/include/inline/locale.h:299
#3  0xd8aad89a in Locale_LocStricmp (string1=0xc0dedbad <Address 0xc0dedbad out of bounds>, string2=0xf7e19008 "CONSOLE:", UtilityBase=0xd88f9920) at /home/mazze/projects/aros-src-v0/workbench/libs/locale/./locstricmp.c:75
#4  0xf7d6668e in __inline_Utility_Stricmp (__arg1=0xc0dedbad <Address 0xc0dedbad out of bounds>, __arg2=0xf7e19008 "CONSOLE:", __UtilityBase=0xd88f9920) at /home/mazze/projects/aros-linux-i386-v0-dbg/bin/linux-i386/AROS/Development/include/inline/utility.h:296
#5  0xf7d66848 in InternalOpen (name=0xc0dedbad <Address 0xc0dedbad out of bounds>, accessMode=1005, handle=0xd92297c0, soft_nesting=16, DOSBase=0xd89bb79c) at /home/mazze/projects/aros-src-v0/rom/dos/./open.c:143
#6  0xf7d666da in Dos_Open (name=0xc0dedbad <Address 0xc0dedbad out of bounds>, accessMode=1005, DOSBase=0xd89bb79c) at /home/mazze/projects/aros-src-v0/rom/dos/./open.c:79
#7  0xd9299bb4 in __inline_Dos_Open (__arg1=0xc0dedbad <Address 0xc0dedbad out of bounds>, __arg2=1005, __DOSBase=0xd89bb79c) at /home/mazze/projects/aros-linux-i386-v0-dbg/bin/linux-i386/AROS/Development/include/inline/dos.h:20
#8  0xd929d441 in ReadServers () at /home/mazze/projects/aros-src-v0/workbench/prefs/network/prefsdata.c:1357
#9  0xd929d881 in InitNetworkPrefs (directory=0xd9243ecc "ENV:AROSTCP", use=0, save=0) at /home/mazze/projects/aros-src-v0/workbench/prefs/network/prefsdata.c:1491
#10 0xd92904e4 in main (argc=0, argv=0xd91ce000) at /home/mazze/projects/aros-src-v0/workbench/prefs/network/main.c:28
mpiler/autoinit/./programentries.c:26


Something seems to be wrong with an ExAll() call because in frame #8 I have:

(gdb) p *entry
$11 = {ed_Next = 0x0, ed_Name = 0xc0dedbad <Address 0xc0dedbad out of bounds>, ed_Type = -1059136595, ed_Size = 3235830701, ed_Prot = 3235830701, ed_Days = 3235830701, ed_Mins = 3235830701, ed_Ticks = 3235830701, ed_Comment = 0xc0dedbad <Address 0xc0dedbad out of bounds>, ed_OwnerUID = 56237, ed_OwnerGID = 49374}

Posted on: 2012/7/13 17:41

Edited by mazze on 2013/3/23 6:06:19
AROS - Make code, not war :knuddel:
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project