Opened 3 years ago

Closed 8 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 2 years ago.
WebPositive-984-debug-13-08-2017-18-15-09.report (77.1 KB ) - added by vidrep 2 years ago.
screenshot1.png (33.4 KB ) - added by vidrep 2 years ago.
screenshot2.png (102.9 KB ) - added by vidrep 2 years ago.
WebPositive_terminal (99.7 KB ) - added by vidrep 2 years ago.
terminal_WebPositive.txt (1.2 KB ) - added by vidrep 18 months ago.
syslog_WebPositive (2.1 KB ) - added by vidrep 18 months ago.
WebPositive-59736-debug-31-03-2018-22-52-59.report (32.0 KB ) - added by vidrep 18 months ago.
WebPositive_terminal.txt (1.0 KB ) - added by vidrep 15 months ago.

Download all attachments as: .zip

Change History (33)

comment:2 by vidrep, 2 years ago

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 by vidrep, 2 years ago

Has a Patch: set

comment:4 by pulkomandy, 2 years ago

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 by vidrep, 2 years ago

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 by diver, 2 years ago

This is the same as in #10392.

comment:7 by pulkomandy, 2 years ago

Has a Patch: unset

comment:8 by vidrep, 2 years ago

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 by vidrep, 2 years ago

Has a Patch: set

comment:10 by pulkomandy, 2 years ago

Has a Patch: unset

comment:11 by vidrep, 2 years ago

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 by vidrep, 2 years ago

Has a Patch: set

comment:13 by vidrep, 2 years ago

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

by vidrep, 2 years ago

Attachment: screenshot1.png added

by vidrep, 2 years ago

Attachment: screenshot2.png added

comment:14 by vidrep, 2 years ago

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

by vidrep, 2 years ago

Attachment: WebPositive_terminal added

comment:15 by pulkomandy, 2 years ago

Has a Patch: unset

comment:16 by pulkomandy, 2 years ago

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 by diver, 2 years ago

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 by vidrep, 22 months ago

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 by vidrep, 18 months ago

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

by vidrep, 18 months ago

Attachment: terminal_WebPositive.txt added

by vidrep, 18 months ago

Attachment: syslog_WebPositive added

comment:20 by cocobean, 15 months ago

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 15 months ago by cocobean (previous) (diff)

comment:21 by vidrep, 15 months ago

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

by vidrep, 15 months ago

Attachment: WebPositive_terminal.txt added

comment:22 by waddlesplash, 8 months ago

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.