Skippable crash on bsdsocket.library

A forum for general AmigaOS 4.x support questions that are not platform-specific

Skippable crash on bsdsocket.library

Postby samo79 » Thu Oct 06, 2016 11:28 am

Often i got a crash on bsdsocket.library while using simultaneously Odyssey 1.23 and TuneNet 2.5 ... not happen so often but with this combinations of programs is very easy to reproduce (quite randomly can say)

I'm using OS 4.1 FE under Sam440 Flex

Any idea ?

Hidden Text - Click to Show :
Crash log for task "pthread id 549"
Generated by GrimReaper 53.19
Crash occured in module bsdsocket.library at address 0x6FC67C54
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003

Register dump:
GPR (General Purpose Registers):
0: 00000004 41AADDD0 00000000 00000000 551C9A60 00000001 51C3FA8C 00000400
8: 551C9A60 3A8FF5B0 00000001 80000017 FFFFFFF8 00000000 4179CDA4 337C1E50
16: 02270000 7FD60780 02270000 001E8FF8 4179CDA0 00000000 0183B7A0 6FDC055C
24: 00000400 00000001 00000001 51C3FA8C 41AADE4C 4CEAC130 00000000 551C9A60


FPR (Floating Point Registers, NaN = Not a Number):
0: nan 261 946 0
4: 36 51.8 53.8 114
8: 485 -0.00196464 123.8 255
12: 1 964 0 -5.05923e-321
16: 0 1.39067e-309 0 0
20: 0 0 0 1.61895e-319
24: 4.94066e-324 5.18065e-318 1.08673e-311 -1.28745e+36
28: 0 1.35808e-312 8.6917e-311 -0.234375

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


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x42EEDD80
Instruction Pointer (ip) : 0x6FC67C54
Xtended Exception (xer) : 0x018193D0
Count (ctr) : 0x42EEE0F8
Link (lr) : 0x0002000E
DSI Status (dsisr) : 0x4457D01C
Data Address (dar) : 0x42EEE0F8



680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x6FC67C54 belongs to module "bsdsocket.library" (HUNK/Kickstart)

Stack trace:
module LIBS:bsdsocket.library at 0x6FC67C54 (section 5 @ 0xEC30)
module LIBS:bsdsocket.library at 0x6FC8B9A0 (section 5 @ 0x3297C)
module LIBS:bsdsocket.library at 0x6FC7ED04 (section 5 @ 0x25CE0)
Curl_ipv4_resolve_r()+0xd4 (section 1 @ 0x1973F64)
gethostbyname_thread()+0x20 (section 1 @ 0x1955574)
curl_thread_create_thunk()+0x38 (section 1 @ 0x197D174)
run()+0x278 (section 1 @ 0x54EC)
ThreadCode()+0x35c (section 1 @ 0x5894)
native kernel module dos.library.kmod+0x00024c18
native kernel module kernel+0x0003b648
native kernel module kernel+0x0003b6c8

PPC disassembly:
6fc67c4c: 4bffff84 b 0x6FC67BD0
6fc67c50: 8124004c lwz r9,76(r4)
*6fc67c54: 90690000 stw r3,0(r9)
6fc67c58: 4bffff78 b 0x6FC67BD0
6fc67c5c: 8124004c lwz r9,76(r4)

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

Expansion buses
PCI/AGP
00:00.0 Vendor 0x1014 Device 0x027F
Range 1: 00000000 - 40000000 (PREF.MEM)
00:0A.0 Vendor 0x12D8 Device 0x8150
00:0C.0 Vendor 0x1002 Device 0x5960
Range 0: A8000000 - B0000000 (PREF.MEM)
Range 1: 00001000 - 00001100 (IO)
Range 2: B0000000 - B0010000 (MEM)
00:0C.1 Vendor 0x1002 Device 0x5940
Range 0: B8000000 - C0000000 (PREF.MEM)
Range 1: C0000000 - C0010000 (MEM)
00:0E.0 Vendor 0x1095 Device 0x3114
Range 0: 00001100 - 00001108 (IO)
Range 1: 00001108 - 00001110 (IO)
Range 2: 00001110 - 00001118 (IO)
Range 3: 00001118 - 00001120 (IO)
Range 4: 00001120 - 00001130 (IO)
01:04.0 Vendor 0x1013 Device 0x6005
Range 0: A0000000 - A0001000 (MEM)
Range 1: A0010000 - A0020000 (MEM)
01:05.0 Vendor 0x1033 Device 0x0035
Range 0: A0020000 - A0021000 (MEM)
01:05.1 Vendor 0x1033 Device 0x0035
Range 0: A0021000 - A0022000 (MEM)
01:05.2 Vendor 0x1033 Device 0x00E0
Range 0: A0022000 - A0022100 (MEM)

Libraries
0x58a36ad8: ISO-8859-15.charset V52.1
0x592e7d48: italian_ISO-8859-15.language V52.1
0x021cdcc2: exec.library V53.70
0x5ff16048: cgxvideo.library V42.1
0x3babfb68: PCI_SoundCardHornet.driver V52.2
0x3babf9e8: PCI_sblive.pci V52.1
0x3babf868: PCI_Soundcard.driver V52.2
0x3babf268: PCI_GamePortHornet.driver V52.2
0x3babf7a8: PCI_GamePort.driver V53.1
0x3babf1a8: Generic_usb.driver V53.3
0x3babf0e8: Generic_Mouse.driver V52.1
0x389759d8: AmigaInput.library V53.3
0x38d5a288: speedbar.gadget V53.12
0x44371024: clipview.library V1.9
0x38a333fc: xadmaster.library V13.1
0x551421b0: datebrowser.gadget V53.7
0x4e4ab030: clock.gadget V1.14
0x52ec5710: gradientslider.gadget V53.6
0x52ec5674: colorwheel.gadget V53.7
0x464c2b98: TN_PT.tnplug V1.2
0x464c2b18: TN_ProTracker.tnplug V1.4
0x52a54c18: TN_OGG.tnplug V1.4
0x55d0af68: TN_MP3_Encode.tnplug V1.5
0x548159a4: mpega.library V2.4
0x52ec5a28: TN_MP3CAST.tnplug V1.21
0x483c37c8: TN_HVL.tnplug V51.6
0x530beb28: TN_AIFF.tnplug V1.8
0x5486c260: select.gadget V53.3
0x548155c0: shared.image V2.1
0x52ec5ca8: tickbox.gadget V53.6
0x553f4d68: infowindow.class V53.6
0x548109a0: texteditor.gadget V53.21
0x551b1e58: minigl.library V2.21
0x57caa960: Warp3D.library V53.24
0x449b3518: W3D_Avenger.library V53.1
0x449b3818: W3D_Napalm.library V53.1
0x52f50198: W3D_Permedia2.library V53.4
0x52f50f18: W3D_R200.library V53.28
0x57ca9dd8: W3D_Picasso96.library V53.11
0x57ca9e80: Aboutbox.mcc V21.2
0x57ca9b60: fuelgauge.gadget V53.8
0x57ca9980: Popmenu.mui V21.2
0x551b2f50: Lamp.mcc V21.2
0x553f61c4: btree.library V53.3
0x551b2af0: Objectmap.mui V21.2
0x553f6974: asyncio.library V50.3
0x551b2910: Gauge.mui V21.2
0x551b2870: Dtpic.mui V21.2
0x551b2690: Popasl.mui V21.2
0x551b2550: Calltips.mcc V21.2
0x551b2410: String.mui V21.3
0x551b2370: Listtree.mcc V21.2
0x551b2230: Title.mui V21.3
0x55113de0: openurl.library V7.17
0x5509dd30: expat.library V53.4
0x5518052c: codesets.library V6.20
0x55113588: muigfx.library V21.2
0x55181d98: muimaster.library V21.6
0x5545cb28: pthreads.library V53.11
0x55ca5f40: ascii.datatype V53.7
0x561f1850: text.datatype V53.8
0x55d0ade8: Separator.docky V53.2
0x55ca5360: slider.gadget V53.15
0x55ca5220: getfont.gadget V53.9
0x55d0ab68: progressbar.gadget V53.10
0x55ca50e0: getfile.gadget V53.12
0x55ca5040: arexx.class V53.5
0x55d05760: requester.class V53.18
0x561f1df0: space.gadget V53.6
0x561f1e90: integer.gadget V53.12
0x561f1990: bitmap.image V53.9
0x55d3c708: clicktab.gadget V53.44
0x57e0da98: screenblanker.library V53.6
0x561e0718: chooser.gadget V53.21
0x561f1cb0: penmap.image V53.5
0x561f1b70: checkbox.gadget V53.9
0x55f06384: asl.library V53.49
0x57e0d378: listbrowser.gadget V53.62
0x56b879e0: string.gadget V53.20
0x561f18f0: scroller.gadget V53.14
0x583fb924: device.audio V6.2
0x583ef498: filesave.audio V6.5
0x58503aa8: cs4281.audio V5.5
0x58ab0340: jpeg.datatype V53.7
0x58ad25d4: usergroup.library V4.30
0x583f5a60: bsdsocket.library V4.307
0x58503970: mathieeedoubbas.library V52.1
0x58893cc8: usbhidgate.library V53.2
0x589754ac: hid.usbfd V53.12
0x588fa7cc: textclip.library V53.1
0x58a889b0: button.gadget V53.19
0x58a88a50: glyph.image V53.3
0x58976e30: window.class V54.1
0x58893428: popupmenu.class V53.2
0x58ad3a58: popupmenu.library V53.11
0x58a88870: label.image V53.13
0x58893258: layout.gadget V54.2
0x58893330: bevel.image V53.6
0x58a887d0: drawlist.image V53.3
0x58a88230: png.datatype V53.10
0x588ca674: picture.datatype V53.6
0x58d28c48: timezone.library V53.8
0x58ad4a78: application.library V53.12
0x58ace96c: ft2.library V53.2
0x5ff22c4c: workbench.library V53.53
0x58ad0730: Picasso96API.library V54.9
0x58a35e90: gadtools.library V53.7
0x5fffbc8c: commodities.library V53.7
0x58d26540: datatypes.library V53.4
0x58ace674: png.iconmodule V53.1
0x58a810cc: icon.library V53.16
0x58ad40a0: z.library V53.5
0x592e74c8: version.library V53.14
0x58de4ed0: iffparse.library V53.1
0x5ffb5ccc: locale.library V53.7
0x5ff6a7ac: diskfont.library V53.5
0x5ff9ef18: petunia.library V53.6
0x5ff9ecd8: diskcache.library V3.31
0x5feda220: dos.library V53.157
0x5ff16804: usbprivate.library V53.12
0x5ff68acc: massstorage.usbfd V53.39
0x5fe450a8: bootkeyboard.usbfd V52.3
0x5fe45028: bootmouse.usbfd V53.2
0x5ff166bc: hub.usbfd V53.10
0x5ff1624c: usbresource.library V53.12
0x5ff685b8: hunk.library V53.4
0x5ff9e294: elf.library V53.19
0x5ff724d0: intuition.library V54.10
0x5ff8f2c0: keymap.library V53.9
0x5ff8d6f0: cybergraphics.library V43.0
0x5ff985a0: ATIRadeon.chip V53.28
0x5ff98524: PCIGraphics.card V53.9
0x5ffb4420: graphics.library V54.156
0x5ff6b150: layers.library V54.12
0x5ff60150: rtg.library V54.89
0x5ff68184: nonvolatile.library V53.5
0x5ff9d2b8: newlib.library V53.30
0x5ff9f1ac: utility.library V54.1
0x5fffb398: expansion.library V53.1
0x5889458e: rexxsyslib.library V53.4 (Legacy)

Devices
0x41ac94b4: serial.device V53.9
0x54815894: clipboard.device V53.3
0x58d2e018: ppc440ep_eth.device V53.18
0x5fdecb44: ahi.device V6.7
0x5fd296b8: usbdisk.device V53.39
0x5ff9fd10: usbsys.device V53.12
0x5ff68cd0: ehci.usbhcd V53.18
0x5ff68c30: ohci.usbhcd V53.19
0x5ff68b90: uhci.usbhcd V53.13
0x5ff68984: sii3114ide.device V53.20
0x5ff9f648: console.device V53.83
0x5ff692b0: ramdrive.device V52.6
0x5ff8f50c: input.device V53.5
0x5ff6a3b4: keyboard.device V53.11
0x5ff69050: timer.device V53.2

Tasks
ClickToFront (Waiting)
Stack: 0x55d12004 - 0x55d21ffc, pointer @ 0x55d219f0 (Cookie OK)
Signals: SigRec 0xe000d000, SigWait 0x00000100
State: Process (Waiting)
input.device (Waiting)
Stack: 0x5fec5000 - 0x5fed5000, pointer @ 0x5fed4f00 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Task (Waiting)
SFS DosList handler (Waiting)
Stack: 0x596e2004 - 0x596e5ffc, pointer @ 0x596e5f20 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Process (Waiting)
USB stack (Waiting)
Stack: 0x5fedd000 - 0x5fee1000, pointer @ 0x5fee0f20 (Cookie OK)
Signals: SigRec 0xf8007000, SigWait 0x00000000
State: Task (Waiting)
OHCI Controller Task Unit 1 (Waiting)
Stack: 0x5fe07000 - 0x5fe0f000, pointer @ 0x5fe0ef20 (Cookie OK)
Signals: SigRec 0xbc009000, SigWait 0x00000000
State: Task (Waiting)
EHCI Controller Task Unit 0 (Waiting)
Stack: 0x5fdcb000 - 0x5fdd3000, pointer @ 0x5fdd2f20 (Cookie OK)
Signals: SigRec 0xbe009000, SigWait 0x00000000
State: Task (Waiting)
OHCI Controller Task Unit 0 (Waiting)
Stack: 0x5fe2b000 - 0x5fe33000, pointer @ 0x5fe32f20 (Cookie OK)
Signals: SigRec 0xbc009000, SigWait 0x00000000
State: Task (Waiting)
page_sweep (Waiting)
Stack: 0x5fe4b004 - 0x5fe52ffc, pointer @ 0x5fe52e80 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Task (Waiting)
sii3114ide.device - chip 0 port 0 (Waiting)
Stack: 0x5ff19000 - 0x5ff21000, pointer @ 0x5ff20f30 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x20000000
State: Task (Waiting)
sii3114ide.device - chip 0 port 1 (Waiting)
Stack: 0x5fe73000 - 0x5fe7b000, pointer @ 0x5fe7af30 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00008000
State: Task (Waiting)
PPC440ep_eth Unit 0 (Waiting)
Stack: 0x58cfc004 - 0x58d0bffc, pointer @ 0x58d0be20 (Cookie OK)
Signals: SigRec 0xf6003000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x584b4004 - 0x584bbffc, pointer @ 0x584bbe90 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Mouse (Waiting)
Stack: 0x5848c004 - 0x5849bffc, pointer @ 0x5849bf20 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
USB0/CrossDOSFileSystem 53.11 (Waiting)
Stack: 0x58640004 - 0x5864fffc, pointer @ 0x5864fee0 (Cookie OK)
Signals: SigRec 0x00010100, SigWait 0x00000000
State: Process (Waiting)
CD0/CDFileSystem 53.4 (Waiting)
Stack: 0x596d6004 - 0x596d9ffc, pointer @ 0x596d9f30 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x04000000
State: Process (Waiting)
DH0/SmartFilesystem 1.290 (Waiting)
Stack: 0x5fc1f004 - 0x5fc22ffc, pointer @ 0x5fc22eb0 (Cookie OK)
Signals: SigRec 0xe0000100, SigWait 0x10000000
State: Process (Waiting)
DH1/SmartFilesystem 1.290 (Waiting)
Stack: 0x59451004 - 0x59454ffc, pointer @ 0x59454eb0 (Cookie OK)
Signals: SigRec 0xe0000100, SigWait 0x10000000
State: Process (Waiting)
reaper.task (Waiting)
Stack: 0x58e2d004 - 0x58e34ffc, pointer @ 0x58e34660 (Cookie OK)
Signals: SigRec 0x00007000, SigWait 0x00000000
State: Process (Waiting)
RAM/ram-handler 53.171 (Waiting)
Stack: 0x58dd0004 - 0x58dd3ffc, pointer @ 0x58dd3c80 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
MainUSB0/CrossDOSFileSystem 53.11 (Waiting)
Stack: 0x5862c004 - 0x5863bffc, pointer @ 0x5863beb0 (Cookie OK)
Signals: SigRec 0x40000100, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x584a8004 - 0x584afffc, pointer @ 0x584afe90 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Keyboard (Waiting)
Stack: 0x5845c004 - 0x5846bffc, pointer @ 0x5846bf10 (Cookie OK)
Signals: SigRec 0x90001000, SigWait 0x00000000
State: Process (Waiting)
DH2/SmartFilesystem 1.290 (Waiting)
Stack: 0x595b5004 - 0x595b8ffc, pointer @ 0x595b8eb0 (Cookie OK)
Signals: SigRec 0xe0000100, SigWait 0x10000000
State: Process (Waiting)
HID Consumer (Waiting)
Stack: 0x58478004 - 0x58487ffc, pointer @ 0x58487f20 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x58509004 - 0x58510ffc, pointer @ 0x58510e90 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
dos_filedir_notify (Waiting)
Stack: 0x5fc67004 - 0x5fc6affc, pointer @ 0x5fc6aad0 (Cookie OK)
Signals: SigRec 0x40001000, SigWait 0x80000100
State: Process (Waiting)
pager (Waiting)
Stack: 0x58e09004 - 0x58e28ffc, pointer @ 0x58e28f00 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
MassStorage Device Task (Waiting)
Stack: 0x5fca3000 - 0x5fcab000, pointer @ 0x5fcaaed0 (Cookie OK)
Signals: SigRec 0xe4009000, SigWait 0x00000000
State: Task (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x57c83004 - 0x57c92ffc, pointer @ 0x57c92e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
ENV/env-handler 54.5 (Waiting)
Stack: 0x58dec004 - 0x58defffc, pointer @ 0x58defef0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
RANDOM/Random-Handler 52.1 (Waiting)
Stack: 0x584c0004 - 0x584cfffc, pointer @ 0x584cfef0 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
URL/launch-handler 53.38 (Waiting)
Stack: 0x58563004 - 0x585ddffc, pointer @ 0x585d9fb0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x20000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x52f1e004 - 0x52f2dffc, pointer @ 0x52f2de20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x55c14004 - 0x55c23ffc, pointer @ 0x55c23e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x55cc5004 - 0x55cd4ffc, pointer @ 0x55cd4e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x55d5f004 - 0x55d6effc, pointer @ 0x55d6ee20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x55ddd004 - 0x55decffc, pointer @ 0x55dece20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x55e49004 - 0x55e58ffc, pointer @ 0x55e58e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
AUDIO/AHI-Handler 6.2 (Waiting)
Stack: 0x5843c004 - 0x5844c004, pointer @ 0x5844bec0 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
APPDIR/appdir-handler-in-dos 53.157 (Waiting)
Stack: 0x58dfd004 - 0x58e04ffc, pointer @ 0x58e04dd0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x5928d004 - 0x59294ffc, pointer @ 0x59294e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
RAW/con-handler 53.72 (Waiting)
Stack: 0x592b9004 - 0x592c0ffc, pointer @ 0x592c0e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.72 (Waiting)
Stack: 0x592dd004 - 0x592e4ffc, pointer @ 0x592e4e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
dos_nbmd_process (Waiting)
Stack: 0x5fc77004 - 0x5fc7affc, pointer @ 0x5fc7af30 (Cookie OK)
Signals: SigRec 0x00001100, SigWait 0x00000000
State: Process (Waiting)
dos_lock_handler (Waiting)
Stack: 0x5fcb3004 - 0x5fcb6ffc, pointer @ 0x5fcb6f00 (Cookie OK)
Signals: SigRec 0x00001100, SigWait 0x00000000
State: Process (Waiting)
RexxMaster (Waiting)
Stack: 0x58390004 - 0x583a0004, pointer @ 0x5839ff60 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000100
State: Process (Waiting)
TEXTCLIP/textclip-handler 53.1 (Waiting)
Stack: 0x58529004 - 0x58538ffc, pointer @ 0x58538eb0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
Libreria ScreenBlanker. (Waiting)
Stack: 0x55c4c004 - 0x55c5cffc, pointer @ 0x55c5cf00 (Cookie OK)
Signals: SigRec 0xb4001000, SigWait 0x00000100
State: Process (Waiting)
compose.task (Waiting)
Stack: 0x56b89000 - 0x56b91000, pointer @ 0x56b90f30 (Cookie OK)
Signals: SigRec 0x00000021, SigWait 0x00000000
State: Task (Waiting)
Workbench (Waiting)
Stack: 0x58105004 - 0x58114ffc, pointer @ 0x58114ea0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x20008000
State: Process (Waiting)
ContextMenus Command Dispatcher (Waiting)
Stack: 0x54b14004 - 0x54b23ffc, pointer @ 0x54b23f30 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
Workbench DosList Notify (Waiting)
Stack: 0x55ff4004 - 0x56003ffc, pointer @ 0x56003f40 (Cookie OK)
Signals: SigRec 0x00003000, SigWait 0x00000100
State: Process (Waiting)
ramlib (Waiting)
Stack: 0x58d46004 - 0x58d5effc, pointer @ 0x58d5ef20 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000100
State: Process (Waiting)
MUI imagespace screen notify (Waiting)
Stack: 0x55026004 - 0x55035ffc, pointer @ 0x55035d10 (Cookie OK)
Signals: SigRec 0x80009000, SigWait 0x00000100
State: Process (Waiting)
texteditor.gadget Clipboard Server (Waiting)
Stack: 0x396ce004 - 0x396e6ffc, pointer @ 0x396e6f00 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
string.gadget server (Waiting)
Stack: 0x55fd4004 - 0x55fe3ffc, pointer @ 0x55fe3db0 (Cookie OK)
Signals: SigRec 0x40000000, SigWait 0x00000100
State: Process (Waiting)
Workbench Clipboard Server (Waiting)
Stack: 0x57e15004 - 0x57e24ffc, pointer @ 0x57e24f00 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
NotificationServer (Waiting)
Stack: 0x55c28004 - 0x55c47ffc, pointer @ 0x55c472d0 (Cookie OK)
Signals: SigRec 0xbc001000, SigWait 0x00000100
State: Process (Waiting)
AmiDock (Waiting)
Stack: 0x55e5d004 - 0x55e6cffc, pointer @ 0x55e6c910 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
Odyssey (Waiting)
Stack: 0x54197004 - 0x5437fffc, pointer @ 0x5437f4e0 (Cookie OK)
Signals: SigRec 0x00001080, SigWait 0x08080100
State: Process (Waiting)
[OWB] Timer (Waiting)
Stack: 0x56ae7004 - 0x56af6ffc, pointer @ 0x56af6ed0 (Cookie OK)
Signals: SigRec 0x50000000, SigWait 0x00000000
State: Process (Waiting)
TCP/IP Control (Waiting)
Stack: 0x57a8d004 - 0x57b81ffc, pointer @ 0x57b81dc0 (Cookie OK)
Signals: SigRec 0xf8009080, SigWait 0x00000000
State: Process (Waiting)
hub.usbfd (Waiting)
Stack: 0x5fd67004 - 0x5fd6effc, pointer @ 0x5fd6ef10 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
[OWB] IconDatabase (Waiting)
Stack: 0x58188004 - 0x58207ffc, pointer @ 0x58207e90 (Cookie OK)
Signals: SigRec 0x00000010, SigWait 0x00000000
State: Process (Waiting)
[OWB] JavaScriptCore::BlockFree (Waiting)
Stack: 0x540e3004 - 0x54162ffc, pointer @ 0x54162ed0 (Cookie OK)
Signals: SigRec 0x00000010, SigWait 0x00000000
State: Process (Waiting)
TCP/IP Superserver (Waiting)
Stack: 0x57b86004 - 0x57c7affc, pointer @ 0x57c7a9f0 (Cookie OK)
Signals: SigRec 0xd0000080, SigWait 0x00000000
State: Process (Waiting)
ContextMenus (Waiting)
Stack: 0x55cd9004 - 0x55ce8ffc, pointer @ 0x55ce8c90 (Cookie OK)
Signals: SigRec 0xe0001000, SigWait 0x04000000
State: Process (Waiting)
[OWB] WebCore: LocalStorage (Waiting)
Stack: 0x4f497004 - 0x4f516ffc, pointer @ 0x4f516e30 (Cookie OK)
Signals: SigRec 0x00000010, SigWait 0x00000000
State: Process (Waiting)
TCP/IP Configuration (Waiting)
Stack: 0x57e71004 - 0x57f65ffc, pointer @ 0x57f65e10 (Cookie OK)
Signals: SigRec 0xf8003000, SigWait 0x00000000
State: Process (Waiting)
clipview.library server (Waiting)
Stack: 0x41fc2004 - 0x41fe1ffc, pointer @ 0x41fe1e00 (Cookie OK)
Signals: SigRec 0xd8003000, SigWait 0x00000000
State: Process (Waiting)
Mounter GUI (Waiting)
Stack: 0x58668004 - 0x5867bffc, pointer @ 0x5867be00 (Cookie OK)
Signals: SigRec 0x80007000, SigWait 0x00000000
State: Process (Waiting)
application.library messageserver (Waiting)
Stack: 0x58a7e000 - 0x58a7efa0, pointer @ 0x58a7ef10 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000000
State: Task (Waiting)
ScreenBlankerEngine (Waiting)
Stack: 0x55d7b004 - 0x55d8affc, pointer @ 0x55d8abe0 (Cookie OK)
Signals: SigRec 0xd8001000, SigWait 0x00000010
State: Process (Waiting)
WebCore: File (Waiting)
Stack: 0x59643004 - 0x596c2ffc, pointer @ 0x596c2e30 (Cookie OK)
Signals: SigRec 0x00000010, SigWait 0x00000000
State: Process (Waiting)
DefIcons (Waiting)
Stack: 0x55df9004 - 0x55e08ffc, pointer @ 0x55e08dc0 (Cookie OK)
Signals: SigRec 0x80009000, SigWait 0x00000100
State: Process (Waiting)
datatypes.library (Waiting)
Stack: 0x58859004 - 0x58868ffc, pointer @ 0x58868f10 (Cookie OK)
Signals: SigRec 0x00001100, SigWait 0x00000000
State: Process (Waiting)
smtube (Waiting)
Stack: 0x46598004 - 0x465d5ffc, pointer @ 0x465d5110 (Cookie OK)
Signals: SigRec 0x04000000, SigWait 0x00000180
State: Process (Waiting)
pthread id 1 (Waiting)
Stack: 0x48621004 - 0x4865effc, pointer @ 0x4865eab0 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000000
State: Process (Waiting)
select.gadget prefs (Waiting)
Stack: 0x396ba004 - 0x396c9ffc, pointer @ 0x396c9c90 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
ASYNCWB (Waiting)
Stack: 0x55e15004 - 0x55e24ffc, pointer @ 0x55e24e80 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000100
State: Process (Waiting)
RAWBInfo (Waiting)
Stack: 0x55d8f004 - 0x55d9effc, pointer @ 0x55d9eec0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000100
State: Process (Waiting)
« IPrefs » (Waiting)
Stack: 0x58a98004 - 0x58aa7ffc, pointer @ 0x58aa7980 (Cookie OK)
Signals: SigRec 0x0000f000, SigWait 0x20000100
State: Process (Waiting)
TCP/IP Log (Waiting)
Stack: 0x57f6a004 - 0x5805effc, pointer @ 0x5805ef00 (Cookie OK)
Signals: SigRec 0x80003000, SigWait 0x00000000
State: Process (Waiting)
ConClip (Waiting)
Stack: 0x58400004 - 0x5840fffc, pointer @ 0x5840feb0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Process (Waiting)
USB stack Process (Waiting)
Stack: 0x58694004 - 0x586a3ffc, pointer @ 0x586a3ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
MassStorage Notifier (Waiting)
Stack: 0x5fe33000 - 0x5fe3ad00, pointer @ 0x5fe3ac70 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DST watcher (Waiting)
Stack: 0x58995004 - 0x589a4ffc, pointer @ 0x589a4f10 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000000
State: Process (Waiting)
hub.usbfd (Waiting)
Stack: 0x5fd73004 - 0x5fd7affc, pointer @ 0x5fd7af10 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
hub.usbfd (Waiting)
Stack: 0x5fd7f004 - 0x5fd86ffc, pointer @ 0x5fd86f10 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
pthread id 549 (Crashed)
Stack: 0x418c5004 - 0x41aadffc, pointer @ 0x41aaddd0 (Cookie OK)
Signals: SigRec 0x00000010, SigWait 0x00000000
State: Process (Crashed)
Mounter Task (Waiting)
Stack: 0x5fe3b000 - 0x5fe43000, pointer @ 0x5fe42e10 (Cookie OK)
Signals: SigRec 0xb0001000, SigWait 0x00000000
State: Task (Waiting)
Mounter Companion Process (Waiting)
Stack: 0x58680004 - 0x5868fffc, pointer @ 0x5868ff40 (Cookie OK)
Signals: SigRec 0x80003000, SigWait 0x00000000
State: Process (Waiting)
ramlib.support (Waiting)
Stack: 0x58d63004 - 0x58d7bffc, pointer @ 0x58d7bf00 (Cookie OK)
Signals: SigRec 0x80005000, SigWait 0x00000000
State: Process (Waiting)
dos_signal_server (Waiting)
Stack: 0x5fc6f004 - 0x5fc72ffc, pointer @ 0x5fc72f10 (Cookie OK)
Signals: SigRec 0x0000f000, SigWait 0x00000000
State: Process (Waiting)
dos_appdir_server (Waiting)
Stack: 0x5fc5b004 - 0x5fc62ffc, pointer @ 0x5fc62d40 (Cookie OK)
Signals: SigRec 0x80005000, SigWait 0x00000000
State: Process (Waiting)
idle.task (Ready)
Stack: 0x5ff8e000 - 0x5ff8f000, pointer @ 0x5ff8efd0 (Cookie OK)
Signals: SigRec 0x00000000, SigWait 0x00000000
State: Task (Ready)
User avatar
samo79
 
Posts: 519
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Skippable crash on bsdsocket.library

Postby zzd10h » Thu Oct 06, 2016 11:46 pm

Hi Samir,
I still have similar issue when I used wget (WebReplay or smtub download for example) instead of Curl.

Maybe is it too your problem ?
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
zzd10h
 
Posts: 545
Joined: Sun Sep 16, 2012 6:40 am
Location: France

Re: Skippable crash on bsdsocket.library

Postby samo79 » Fri Oct 07, 2016 11:31 pm

Don't know, i don't remember any similar issue with WebReplay, at most i'm using SMTube with the "standard" method of download ..
At beginning I though about a possible problem related to the radio streaming of TuneNet, but no it crash even just opening TuneNet with no file playing :?
User avatar
samo79
 
Posts: 519
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Skippable crash on bsdsocket.library

Postby chris » Sat Oct 15, 2016 8:26 pm

The problem is Curl. The threaded resolver does not work because each resolver instance runs in a thread that does not open bsdsocket.library itself. It's nothing to do with running multiple network programs at the same time, although that might create the crash scenario more frequently.

I thought I'd submitted patches back to Curl but maybe there was some proper fix coming from elsewhere. It's so long ago now that I've forgotten.

Patches here: http://git.netsurf-browser.org/toolchai ... pc-amigaos
All software using Curl should have libcurl either built with those patches (the relevant bits or equivalent), or the threaded resolver disabled.
chris
 
Posts: 551
Joined: Sat Jun 18, 2011 12:05 pm

Re: Skippable crash on bsdsocket.library

Postby salass00 » Tue Oct 18, 2016 12:01 am

As chris said it is not a bug. Would be nice if bsdsocket.library had thread safe getaddrinfo() and gethostbyname_r() so libcurl wouldn't have to use the not so thread safe gethostbyname() though ;-).
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 502
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: Skippable crash on bsdsocket.library

Postby ssolie » Tue Oct 18, 2016 9:12 pm

salass00 wrote:As chris said it is not a bug. Would be nice if bsdsocket.library had thread safe getaddrinfo() and gethostbyname_r() so libcurl wouldn't have to use the not so thread safe gethostbyname() though ;-).

Olaf already added gethostbyname_r() to the bsdsocket.library API.
AmigaOS Development Team Lead
Be authentic. Get AmigaOS.
User avatar
ssolie
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1000
Joined: Mon Dec 20, 2010 9:51 pm
Location: Canada

Re: Skippable crash on bsdsocket.library

Postby salass00 » Wed Oct 19, 2016 9:21 am

ssolie wrote:Olaf already added gethostbyname_r() to the bsdsocket.library API.


It is not released though. The latest public version is 4.307 from September 2012.
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 502
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

Re: Skippable crash on bsdsocket.library

Postby ssolie » Wed Oct 19, 2016 7:28 pm

salass00 wrote:
ssolie wrote:Olaf already added gethostbyname_r() to the bsdsocket.library API.


It is not released though. The latest public version is 4.307 from September 2012.

Oops! We better fix that then. :mrgreen:
AmigaOS Development Team Lead
Be authentic. Get AmigaOS.
User avatar
ssolie
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1000
Joined: Mon Dec 20, 2010 9:51 pm
Location: Canada


Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 3 guests