Opened 2 years ago

Closed 4 months ago

#13266 closed bug (fixed)

Webpositive hangs on URL

Reported by: vidrep Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev50919 x86_gcc2 HaikuWebKit 1.5.4 WebKit 602.1.1

The following URL causes Webpositive to hang: https://www.unixmen.com/haiku-a-new-kind-of-operating-system/

Attachments (11)

WebPositive-41914-debug-04-04-2017-22-32-28.report (50.1 KB) - added by vidrep 2 years ago.
WebPositive-5458-debug-10-04-2017-15-33-20.report (42.1 KB) - added by vidrep 2 years ago.
WebPositive-1284-debug-04-07-2017-19-01-57.report (235.9 KB) - added by vidrep 23 months ago.
WebPositive-984-debug-13-08-2017-18-15-09.report (77.1 KB) - added by vidrep 22 months ago.
screenshot1.png (33.4 KB) - added by vidrep 21 months ago.
screenshot2.png (102.9 KB) - added by vidrep 21 months ago.
WebPositive_terminal (99.7 KB) - added by vidrep 21 months ago.
terminal_WebPositive.txt (1.2 KB) - added by vidrep 14 months ago.
syslog_WebPositive (2.1 KB) - added by vidrep 14 months ago.
WebPositive-59736-debug-31-03-2018-22-52-59.report (32.0 KB) - added by vidrep 14 months ago.
WebPositive_terminal.txt (1.0 KB) - added by vidrep 11 months ago.

Download all attachments as: .zip

Change History (33)

comment:2 Changed 2 years ago by vidrep

Attempting to navigate this website with the search, or attempting to log in will cause Webpositive to either freeze or crash: http://www.kijiji.ca/h-calgary/1700199 Sample debug report attached

comment:3 Changed 2 years ago by vidrep

Has a Patch: set

comment:4 Changed 2 years ago by pulkomandy

The crash seems to point to an heap corruption. Can you reproduce with libroot_debug?

LD_PRELOAD=/system/lib/x86/libroot_debug.so WebPositive http://www.kijiji.ca/h-calgary/1700199

This should give a different (and hopefully more interesting) debug report.

For the freezes, I analyzed some that did occur here, and they were often related to a video or audio, which it seems the Media Kit is blocking on for some time when trying to load them. In that case, the browser will resume, once the video/audio is ready to play (it can take a minute or two in the worst cases, I think)

Last edited 2 years ago by pulkomandy (previous) (diff)

comment:5 Changed 2 years ago by vidrep

I loaded the following into terminal:

LD_PRELOAD=/system/lib/x86/libroot_debug.so WebPositive http://www.kijiji.ca/b-exercise-equipment/ontario/york-weight-bench-and-weight-9500/k0c655l9004

The resulting debug report is attached

comment:6 Changed 2 years ago by diver

This is the same as in #10392.

comment:7 Changed 2 years ago by pulkomandy

Has a Patch: unset

comment:8 Changed 23 months ago by vidrep

hrev51259 x86_gcc2h HaikuWebKit 1.6.0 Loading the URL referenced in the ticket description caused a crash. Debug report attached. https://www.unixmen.com/haiku-a-new-kind-of-operating-system/

comment:9 Changed 23 months ago by vidrep

Has a Patch: set

comment:10 Changed 23 months ago by pulkomandy

Has a Patch: unset

comment:11 Changed 22 months ago by vidrep

hrev51360 x86_64

Going to the URL in the ticket description caused Webpositive to completely lock up. I was not able to switch tabs nor navigate. Webpositive continued running in the Deskbar after closing. I attached Debugger, and debugged each thread. The debugger report is attached.

comment:12 Changed 22 months ago by vidrep

Has a Patch: set

comment:13 Changed 21 months ago by vidrep

hrev51367 x86_64 HaikuWebKit 1.6.2 The URL in the ticket description continues to be a problem. Each time it redirects to various error messages. 2 screenshots attached

Changed 21 months ago by vidrep

Attachment: screenshot1.png added

Changed 21 months ago by vidrep

Attachment: screenshot2.png added

comment:14 Changed 21 months ago by vidrep

Running WebPositive from the terminal and navigating to the unixmen.com URL provided the following output (see attached WebPositive_terminal).

Changed 21 months ago by vidrep

Attachment: WebPositive_terminal added

comment:15 Changed 21 months ago by pulkomandy

Has a Patch: unset

comment:16 Changed 21 months ago by pulkomandy

Has a Patch: unset

That "screenshot2" one is not an error, it's a website trying to scam you. A way out is installing a /etc/hosts which blocks such things (the only way we have to block ads currently). This could also improve browser stability as ads tend to be quite intrusive these days. Things were much simpler when they were using Flash, we could just ignore them then.

comment:17 Changed 21 months ago by diver

Has a Patch: unset

Alert window is to tall on screenshot2.png​. Would it make sense to make text scrollable in alert window to fit it on screen?

comment:18 Changed 18 months ago by vidrep

Tried the URL in the decsription https://www.unixmen.com/haiku-a-new-kind-of-operating-system/

Using HaikuWebKit 1.6.3 it does not hang Web+ anymore.

The second URL https://insights.regencylighting.com/led-replacement-for-t12s-pros-and-cons-explored

remains a problem.

comment:19 Changed 14 months ago by vidrep

hrev51861 x86_64

WebKit 1.6.4 - rebased

This URL remains a problem for WebKit-rebased: https://insights.regencylighting.com/led-replacement-for-t12s-pros-and-cons-explored

Running libroot_debug.so

Attached terminal log, syslog, Debug report

Changed 14 months ago by vidrep

Attachment: terminal_WebPositive.txt added

Changed 14 months ago by vidrep

Attachment: syslog_WebPositive added

comment:20 Changed 11 months ago by cocobean

Ref: https://insights.regencylighting.com/led-replacement-for-t12s-pros-and-cons-explored

Tested with hrev52020 x86_64/Webkit 1.6.5/WebPositive. This page now works. A few messages about Content Secure Policy and Facebook Pixel email issue, but it loads and renders 'ok'. Minor issues otherwise.

Last edited 11 months ago by cocobean (previous) (diff)

comment:21 Changed 11 months ago by vidrep

Kijiji adverts appear to hang, but actually just take a very long time to load. Sample URL:

https://www.kijiji.ca/v-classic-cars/calgary/86-fiero-restored-modified/1359807846?enableSearchNavigationFlag=true

Changed 11 months ago by vidrep

Attachment: WebPositive_terminal.txt added

comment:22 Changed 4 months ago by waddlesplash

Resolution: fixed
Status: newclosed

So, all these are fixed then; performance problems are already tracked in other tickets.

Note: See TracTickets for help on using tickets.