Changes between Initial Version and Version 2 of Ticket #2725
- Timestamp:
- Nov 25, 2006, 11:34:54 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2725
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
invalid
-
Property
Status
changed from
-
Ticket #2725 – Description
initial v2 1 1 There are a few places in the code where the result of dynamic_cast isn't tested before it is used. Sadly, in some cases, it can return NULL, which causes a bus error or SEGV. 2 2 [[BR]] 3 One particuar problem is in the keypress event processing. Causes a crash on OS X binaries built on 10.4 (gcc4), but running on 10.3. It is an old problem, usually caused by incorrectly compiling with - no-rtti: http://www.gossamer-threads.com/lists/mythtv/dev/72988#729883 One particuar problem is in the keypress event processing. Causes a crash on OS X binaries built on 10.4 (gcc4), but running on 10.3. It is an old problem, usually caused by incorrectly compiling with -fno-rtti: http://www.gossamer-threads.com/lists/mythtv/dev/72988#72988 4 4 [[BR]] 5 5 Some documents (''e.g.'' http://www.cplusplus.com/doc/tutorial/typecasting.html) say that dynamic_cast ing a base class to a subclass is illegal. QKeyEvent is a base class of QEvent, so if I believe this, it is the problem here.