MantisBT - NetSurf | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002858 | NetSurf | GTK-specific | public | 2023-08-13 02:17 | 2023-09-17 19:23 |
Reporter | phoebos | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | Linux | OS Version | 6.4.8 |
Product Version | |||||
Target Version | Fixed in Version | ||||
Fixed in CI build # | |||||
Reported in CI build # | |||||
URL of problem page | |||||
Summary | 0002858: segfault; content_get_bitmap returns an invalid pointer | ||||
Description | Viewing the image https://stackoverflow.com/questions/45981545/why-does-noreturn-function-return causes a segfault. The segfault occurs in frontends/gtk/window.c line 1048. Inspection with a debugger reveals that icon_bitmap (which is the return value of content_get_bitmap) has an address of (for example) 0x468, which looks more like an int than a pointer. | ||||
Steps To Reproduce | Apply the patch from https://bugs.netsurf-browser.org/mantis/view.php?id=2854 to libcss. Build netsurf etc from latest git. run "netsurf-gtk3 https://stackoverflow.com/questions/45981545/why-does-noreturn-function-return" | ||||
Additional Information | Backtrace: #0 gui_window_set_icon (gw=0x7ffff4c459d0, icon=<optimized out>) at frontends/gtk/window.c:1048 #1 0x0000555555917c8f in browser_window_favicon_callback (c=0x7ffff46dd410, event=<optimized out>, pw=0x7ffff4f1da30) at desktop/browser_window.c:457 0000002 0x00005555559070a4 in hlcache_content_callback (c=<optimized out>, msg=<optimized out>, data=<optimized out>, pw=<optimized out>) at content/hlcache.c:205 #3 0x0000555555865763 in content_broadcast (c=0x7ffff463f650, msg=CONTENT_MSG_DONE, data=0x0) at content/content.c:762 #4 0x00005555558658cd in content_set_done (c=c@entry=0x7ffff463f650) at content/content.c:308 #5 0x00005555558ac4e3 in nsico_convert (c=0x7ffff463f650) at content/handlers/image/ico.c:169 #6 0x0000555555865aa5 in content_convert (c=0x7ffff463f650) at content/content.c:84 #7 content_llcache_callback (llcache=<optimized out>, event=<optimized out>, pw=0x7ffff463f650) at content/content.c:140 #8 0x000055555590aac7 in llcache_object_notify_users (object=object@entry=0x7ffff47af5a0) at content/llcache.c:3523 #9 0x000055555590ac50 in llcache_catch_up_all_users (ignored=<optimized out>) at content/llcache.c:3685 #10 0x000055555594a30d in schedule_run () at frontends/gtk/schedule.c:148 #11 0x000055555593f640 in nsgtk_main () at frontends/gtk/gui.c:1072 #12 0x00005555559402ad in main (argc=<optimized out>, argv=<optimized out>) at frontends/gtk/gui.c:1231 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | log.txt (36,194) 2023-08-13 02:17 https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=732&type=bug log2.txt (20,295) 2023-08-13 02:21 https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=733&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2023-08-13 02:17 | phoebos | New Issue | |||
2023-08-13 02:17 | phoebos | File Added: log.txt | |||
2023-08-13 02:21 | phoebos | File Added: log2.txt | |||
2023-08-13 02:21 | phoebos | Note Added: 0002421 | |||
2023-09-17 19:23 | Michael Drake | Note Added: 0002427 |