[haiku-bugs] Re: [Haiku] #8264: Web+ crash on launch

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Sat, 31 Dec 2011 13:16:47 -0000

#8264: Web+ crash on launch
----------------------------------------+----------------------------
   Reporter:  humdinger                 |      Owner:  leavengood
       Type:  bug                       |     Status:  closed
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:  invalid                   |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by zooey):

 You should build from hrev43507 or later, as that revision changed the
 structure mbstate_t, which requires a full rebuild, including the
 compiler.

 The crash you've seen is triggered because you're using an older gcc
 compiler, that has been compiled on a Haiku with a different mbstate_t
 (which is used in the initialization function that's referenced in the
 above stack trace). So the libstdc++.so from the older gcc uses a
 different mbstate_t than the compiled Haiku revision, leading to the
 crash.

 Basically, the underlying problem is again the fact that we're not cross-
 compiling on Haiku.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8264#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: