Opened 9 years ago

Closed 9 years ago

#6084 closed bug (fixed)

www.codemercs.com reliably crashes in BBitmap::Bounds ()

Reported by: mmadia Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/WebPositive Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev36601-4h + r1a2-hrev515 (also confirmed on hrev515 haiku hrev36832-2h).

  • goto http://www.codemercs.com/
  • wait for it ...
    GNU gdb 6.3
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "i586-pc-haiku"...(no debugging symbols found)
    
    [tcsetpgrp failed in terminal_inferior: Invalid Argument]
    Thread 446008 caused an exception: Segment violation
    Reading symbols from /boot/system/runtime_loader...(no debugging symbols found)...done.
    Loaded symbols for /boot/system/runtime_loader
    Reading symbols from /boot/apps/WebPositive/lib/libjavascriptcore.so...(no debugging symbols found)...done.
    Loaded symbols for /boot/apps/WebPositive/lib/libjavascriptcore.so
    Reading symbols from /boot/apps/WebPositive/lib/libwebcore.so...
    (no debugging symbols found)...done.
    Loaded symbols for /boot/apps/WebPositive/lib/libwebcore.so
    Reading symbols from /boot/apps/WebPositive/lib/libwebkit.so...(no debugging symbols found)...done.
    Loaded symbols for /boot/apps/WebPositive/lib/libwebkit.so
    Reading symbols from /boot/common/lib/libcurl.so.4.2.0...
    (no debugging symbols found)...done.
    Loaded symbols for /boot/common/lib/libcurl.so.4.2.0
    Reading symbols from /boot/system/lib/libicu-common.so.4.2...(no debugging symbols found)...done.
    Loaded symbols for /boot/system/lib/libicu-common.so.4.2
    Reading symbols from /boot/system/lib/libicu-data.so.4.2...
    (no debugging symbols found)...done.
    Loaded symbols for /boot/system/lib/libicu-data.so.4.2
    Reading symbols from /boot/system/lib/libpng.so.1.4...(no debugging symbols found)...done.
    Loaded symbols for /boot/system/lib/libpng.so.1.4
    Reading symbols from /boot/common/lib/libsqlite3.so.0.8.6...done.
    Loaded symbols for /boot/common/lib/libsqlite3.so.0.8.6
    Reading symbols from /boot/common/lib/libxml2.so.2.7.7...done.
    Loaded symbols for /boot/common/lib/libxml2.so.2.7.7
    Reading symbols from /boot/system/lib/libz.so.1...done.
    Loaded symbols for /boot/system/lib/libz.so.1
    Reading symbols from /boot/system/lib/libbe.so...done.
    Loaded symbols for /boot/system/lib/libbe.so
    Reading symbols from /boot/system/lib/libbsd.so...done.
    Loaded symbols for /boot/system/lib/libbsd.so
    Reading symbols from /boot/system/lib/liblocale.so...done.
    Loaded symbols for /boot/system/lib/liblocale.so
    Reading symbols from /boot/system/lib/libnetwork.so...done.
    Loaded symbols for /boot/system/lib/libnetwork.so
    Reading symbols from /boot/system/lib/libstdc++.so...done.
    Loaded symbols for /boot/system/lib/libstdc++.so
    Reading symbols from /boot/system/lib/libtracker.so...done.
    Loaded symbols for /boot/system/lib/libtracker.so
    Reading symbols from /boot/system/lib/libtranslation.so...done.
    Loaded symbols for /boot/system/lib/libtranslation.so
    Reading symbols from /boot/system/lib/libroot.so...done.
    Loaded symbols for /boot/system/lib/libroot.so
    Reading symbols from /boot/system/lib/libicu-i18n.so.4.2...done.
    Loaded symbols for /boot/system/lib/libicu-i18n.so.4.2
    Reading symbols from /boot/system/lib/libjpeg.so.8.0...done.
    Loaded symbols for /boot/system/lib/libjpeg.so.8.0
    Reading symbols from /boot/system/lib/libtextencoding.so...done.
    Loaded symbols for /boot/system/lib/libtextencoding.so
    Reading symbols from /boot/common/lib/libssl.so.1.0.0...done.
    Loaded symbols for /boot/common/lib/libssl.so.1.0.0
    Reading symbols from /boot/common/lib/libcrypto.so.1.0.0...done.
    Loaded symbols for /boot/common/lib/libcrypto.so.1.0.0
    Reading symbols from /boot/system/lib/libsupc++.so...done.
    Loaded symbols for /boot/system/lib/libsupc++.so
    Reading symbols from /boot/common/lib/libiconv.so.2.5.0...done.
    Loaded symbols for /boot/common/lib/libiconv.so.2.5.0
    Reading symbols from /boot/system/add-ons/locale/catalogs/plaintext...done.
    Loaded symbols for /boot/system/add-ons/locale/catalogs/plaintext
    Reading symbols from /boot/system/add-ons/locale/catalogs/zeta...done.
    Loaded symbols for /boot/system/add-ons/locale/catalogs/zeta
    [tcsetpgrp failed in terminal_inferior: Invalid Argument]
    
    [Switching to team /boot/apps/WebPositive/WebPositive (446008) thread WebPositive (446008)]
    0x025e0ee9 in BBitmap::Bounds () from /boot/system/lib/libbe.so
    (gdb) bt
    #0  0x025e0ee9 in BBitmap::Bounds () from /boot/system/lib/libbe.so
    #1  0x014f2d22 in BWebSettings::_HandleSendIconForURL ()
       from /boot/apps/WebPositive/lib/libwebkit.so
    #2  0x014f35ec in BWebSettings::MessageReceived ()
       from /boot/apps/WebPositive/lib/libwebkit.so
    #3  0x025c43e3 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so
    #4  0x025ba88f in BApplication::DispatchMessage ()
       from /boot/system/lib/libbe.so
    #5  0x025c6229 in BLooper::task_looper () from /boot/system/lib/libbe.so
    #6  0x025bb123 in BApplication::Run () from /boot/system/lib/libbe.so
    #7  0x00237594 in main ()
    (gdb) 
    
    

Change History (2)

comment:1 by HAL, 9 years ago

I also got a similar segment violation with webpositive at: http://www.autoindustry.co.uk/articles/05-06-06 The backtrace is almost exactly the same. I am using a gcc2 hybrid of hrev1/alpha2.

comment:2 by stippi, 9 years ago

Resolution: fixed
Status: newclosed

Somehow the favicon is not yet loaded, even if the the frame count is reported > 0. At least don't crash. Fixed in hrev525.

Note: See TracTickets for help on using tickets.