Hi,

I built firefox with directfb by using other supporting packges.
I have two builds one is with --enable-debug option and other is
--enable-debug=no option.
Both builds are finished successfully.
But while launching firefox "the executable with enable debug is
working fine" but "the executable with disable debug is crashing".

Is there any inter dependecy of building gtk,directfb,mozilla with
disable debug option? What may be the reason for system crash.

Here is the output of build when it was crash.

---------------------------------------------------------------------------
[EMAIL PROTECTED] firefox-1.5.0.3]# gdb firefox-bin
GNU gdb Red Hat Linux (6.5-8.fc6rh)
Copyright (C) 2006 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 "i386-redhat-linux-gnu"...(no debugging
symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) c
The program is not being run.
(gdb) r
Starting program: /root/Phoenix/lib/firefox-1.5.0.3/firefox-bin
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208817968 (LWP 7465)]

     =======================|  DirectFB 1.0.0-rc4  |=======================
          (c) 2001-2006  United Cultures of Earth - go for outer space!
          (c) 2000-2004  Convergence (integrated media) GmbH
        ----------------------------------------------------------------

(*) DirectFB/Core: Multi Application Core. (2007-08-01 17:07)
(*) Fusion/SHM: Not using MADV_REMOVE (2.6.18.0 < 2.6.19.2)!
[New Thread -1210918000 (LWP 7468)]
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 7468)...
[New Thread -1221407856 (LWP 7469)]
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 7469)...
[New Thread -1235043440 (LWP 7472)]
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 7472)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
[New Thread -1245533296 (LWP 7473)]
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 7473)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
[New Thread -1256023152 (LWP 7474)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7474)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
[New Thread -1266513008 (LWP 7475)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7475)...
(*) DirectFB/Input: ImPS/2 Logitech Wheel Mouse (2) 0.1 (directfb.org)
[New Thread -1277002864 (LWP 7476)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7476)...
(*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/FBDev: Panning display failed!
    --> Invalid argument
[New Thread -1287492720 (LWP 7477)]
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 7477)...
[New Thread -1297982576 (LWP 7478)]
[New Thread -1308472432 (LWP 7479)]
nsScreenGtk :: Inside Init
Gdk-DirectFB-Message: gdk_screen_width_mm() assumes a screen
resolution of 72 dpi
[New Thread -1318962288 (LWP 7480)]
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData
nsWindow::Inside GetNativeData


*****system crash******

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208817968 (LWP 7465)]
0x00143692 in gdk_directfb_draw_image () from
/root/Phoenix/lib/libgdk-directfb-2.0.so.0

*****************************
(gdb)
(gdb) bt
#0  0x00143692 in gdk_directfb_draw_image () from
/root/Phoenix/lib/libgdk-directfb-2.0.so.0
#1  0x00125545 in gdk_draw_image () from
/root/Phoenix/lib/libgdk-directfb-2.0.so.0
#2  0x0012f3a4 in gdk_pixmap_draw_image () from
/root/Phoenix/lib/libgdk-directfb-2.0.so.0
#3  0x00125545 in gdk_draw_image () from
/root/Phoenix/lib/libgdk-directfb-2.0.so.0
#4  0x00cbbb77 in nsImageGTK::UpdateCachedImage () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libgfx_gtk.so
#5  0x00cbbc03 in nsImageGTK::Optimize () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libgfx_gtk.so
#6  0x00cc9f0a in gfxImageFrame::SetMutable () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libgfx_gtk.so
#7  0x00cdd226 in imgContainerGIF::DecodingComplete () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#8  0x00cdb936 in nsGIFDecoder2::EndGIF () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#9  0x00cdb57d in gif_write () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#10 0x00cdbfed in nsGIFDecoder2::ProcessData () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#11 0x00cdc051 in ReadDataOut () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#12 0x00711f57 in nsPipeInputStream::ReadSegments () from
/root/Phoenix/lib/firefox-1.5.0.3/libxpcom_core.so
#13 0x00cdc3a6 in nsGIFDecoder2::WriteFrom () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#14 0x00cd86d8 in imgRequest::OnDataAvailable () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#15 0x00cd515c in ProxyListener::OnDataAvailable () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libimglib2.so
#16 0x008348ba in nsJARChannel::OnDataAvailable () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libjar50.so
#17 0x00778c47 in nsInputStreamPump::OnStateTransfer () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libnecko.so
#18 0x00778d60 in nsInputStreamPump::OnInputStreamReady () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libnecko.so
#19 0x00712d55 in nsInputStreamReadyEvent::EventHandler () from
/root/Phoenix/lib/firefox-1.5.0.3/libxpcom_core.so
#20 0x00726357 in PL_HandleEvent (self=0xa2f4d1c) at plevent.c:688
#21 0x00726637 in PL_ProcessPendingEvents (self=0xa060400) at plevent.c:623
#22 0x0072820d in nsEventQueueImpl::ProcessPendingEvents () from
/root/Phoenix/lib/firefox-1.5.0.3/libxpcom_core.so
#23 0x00ac4da5 in event_processor_callback () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libwidget_gtk2.so
#24 0x00eaf3ef in g_io_unix_dispatch (source=0xa2c9e20,
callback=0xac4d90 <event_processor_callback(_GIOChannel*,
GIOCondition, void*)>,
    user_data=0xa058308) at giounix.c:162
#25 0x00e86b99 in g_main_dispatch (context=0xa028980) at gmain.c:2043
#26 0x00e87f97 in IA__g_main_context_dispatch (context=0xa028980) at
gmain.c:2594
#27 0x00e884ae in g_main_context_iterate (context=0xa028980, block=1,
dispatch=1, self=0xa149aa0) at gmain.c:2675
#28 0x00e88b05 in IA__g_main_loop_run (loop=0xa240ef8) at gmain.c:2879
#29 0x00417efc in gtk_main () from /root/Phoenix/lib/libgtk-directfb-2.0.so.0
#30 0x00ac51a7 in nsAppShell::Run () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libwidget_gtk2.so
#31 0x00c7192b in nsAppStartup::Run () from
/root/Phoenix/lib/firefox-1.5.0.3/components/libtoolkitcomps.so
#32 0x0804e65a in XRE_main ()
#33 0x0804a4b3 in main ()
(gdb) c
Continuing.
(!) [ 7465:   69.964] --> Caught signal 11, no siginfo available <--
[Thread -1235043440 (LWP 7472) exited]
[Thread -1245533296 (LWP 7473) exited]
[Thread -1256023152 (LWP 7474) exited]
[Thread -1266513008 (LWP 7475) exited]
[Thread -1277002864 (LWP 7476) exited]
[Thread -1221407856 (LWP 7469) exited]
(!) DirectFB/core/vt: Unable to disallocate VT!
    --> Device or resource busy
(!) Direct/Thread: Canceling 'Fusion Dispatch' (7468)!
[Thread -1210918000 (LWP 7468) exited]

Program received signal SIGABRT, Aborted.
0x002eb402 in __kernel_vsyscall ()
(gdb) q
The program is running.  Exit anyway? (y or n) y



Can any one please help me to solve out this issue.

Thanks......

Regards,
Sreenivas

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to