[jitsi-dev] Current 1.1 Trunk 32bit run.exe crash known??


#1

Is this a known issue?

Happens both with my own installer and the nightly download 32 bit on 2
clean win machines (XP SP3 + Win7 32 bit).

64bit is fine.

1.0-stable-latest works fine.

Is this an OSGI dependency issue? Or, is there a way I can enable a debug
build of run.exe to see where it's crashing. Right now, I'm just getting a
stack trace. So, I want to fix this, but, I'm not very skilled with Felix,
however, if it's just a gcc issue, I should be able to handle that, I just
need some advice with making a debug build with Ant.

As I'm not very familiar with the TDM-GCC environment, and I'm not using
Eclipse, I was wondering if anyone had a quick way to debug run.exe,
creating a debug build through modification of build.xml so I could run gdb.
Unless this is a known issue.. I did spend a lot of time searching the
archives for it, but found nothing.

Thanks,

Damian Kohlfeld


#2

Hey Damian,

Is this a known issue?

Happens both with my own installer and the nightly download 32 bit on 2
clean win machines (XP SP3 + Win7 32 bit).

Interesting. Do you think you'd be able to send us the crash dumps and
the Jitsi logs in case we managed to log something in there?

64bit is fine.

1.0-stable-latest works fine.

Is this an OSGI dependency issue?

Unlikely. If this really is a crash then it is either a java thing or
something that's caused by one of our many native dependencies.

Or, is there a way I can enable a
debug build of run.exe to see where it’s crashing. Right now, I’m just
getting a stack trace.

Can we see it?

Emil

···

On 13.08.12, 20:47, Damian Kohlfeld wrote:

So, I want to fix this, but, I’m not very
skilled with Felix, however, if it’s just a gcc issue, I should be able
to handle that, I just need some advice with making a debug build with
Ant.

As I’m not very familiar with the TDM-GCC environment, and I’m not using
Eclipse, I was wondering if anyone had a quick way to debug run.exe,
creating a debug build through modification of build.xml so I could run
gdb. Unless this is a known issue…. I did spend a lot of time
searching the archives for it, but found nothing.

Thanks,

Damian Kohlfeld

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#3

Thank you for the report!

We've just been able to reproduce the crash of the 32-bit run.exe and we're currently looking into it.

···

On Aug 13, 2012, at 9:47 PM, Damian Kohlfeld <damian@kohlfeld.com> wrote:

Is this a known issue?

Happens both with my own installer and the nightly download 32 bit on 2 clean win machines (XP SP3 + Win7 32 bit).

64bit is fine.


#4

Damian, it appears we'll need additional information from you regarding this issue.

···

On Aug 13, 2012, at 9:47 PM, Damian Kohlfeld <damian@kohlfeld.com> wrote:

Right now, I’m just getting a stack trace.

Could you please show us the stack trace?

When you launch Jitsi, does it create an %APPDATA%\Jitsi directory and an %APPDATA%\Jitsi\log\jitsi*.log.* file before the application crashes? If it creates a log file, what's in it? For the purposes of the test, you could temporarily move your current %APPDATA%\Jitsi directory away before executing run.exe.

After Jitsi crashes, do you get an hs_err_pid*.log file? What does it say? It could be in the %APPDATA%\Jitsi directory, your %TEMP% directory, or the directory in which you have Jitsi installed.

Does Even Viewer show information about the crash? Which module does it blame?

Could you please test how the crash is affected by deleting .dll files from Jitsi's native directory where you have it installed? Please try by incrementally ruling out the following .dll files in the specified order: jmsofficecomm.dll, jmsoutlookaddrbook.dll, jnawtrenderer.dll, jndirectshow.dll, jnscreencapture.dll, jnportaudio.dll.


#5

Just finished following your steps, as far as deleting DLL's, and if I
simply remove jmsofficecomm then the software runs perfectly under 32 bit.
I'm wondering if this dll is actually a 64bit dll, although when I run it
through "strings" I only see 32bit references.

Sorry for the delayed response. One interesting thing is that the 32bit
version run's fine on 64bit windows. It runs fine without error. However,
if you run the latest snapshot against just 32 bit windows the error
happens. I tried using GDB with a debug (-g) build to no avail. So, it
must be outside run.c/registry.c. I already went through the source code of
all the C-code I could, so, it's not a problem with run.exe.

Steps to recreate:
Download latest snapshot for 32bit, uninstall any previous version, and
delete any config data left behind, then install and run at the end of setup
or manually.
*only happens on 32bit windows, runs fine on 64bit.

Here is what the windows error was:

Problem signature:
  Problem Event Name: APPCRASH
  Application Name: run.exe
  Application Version: 0.0.0.0
  Application Timestamp: 502d8cbd
  Fault Module Name: ntdll.dll
  Fault Module Version: 6.1.7601.17514
  Fault Module Timestamp: 4ce7b96e
  Exception Code: c0000005
  Exception Offset: 000561aa
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

This is from the log in APPDATA:

19:35:49.690 INFO:
plugin.defaultresourcepack.DefaultResourcePackActivator.start().93 Default
resources ... [REGISTERED]
19:35:49.696 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.runtime.name=Java(TM) SE Runtime Environment
19:35:49.697 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
felix.config.properties=file:./lib/felix.client.run.properties
19:35:49.697 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.boot.library.path=c:\program files\jitsi\jre\bin
19:35:49.697 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.version=23.1-b03
19:35:49.697 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.java2d.d3d=false
19:35:49.697 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.vendor=Oracle Corporation
19:35:49.697 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor.url=http://java.oracle.com/
19:35:49.698 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
path.separator=;
19:35:49.698 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.util.logging.config.file=lib/logging.properties
19:35:49.698 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.name=Java HotSpot(TM) Client VM
19:35:49.698 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
file.encoding.pkg=sun.io
19:35:49.698 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.country=US
19:35:49.698 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.script=
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.os.patch.level=Service Pack 1
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.specification.name=Java Virtual Machine Specification
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
user.dir=c:\program files\jitsi
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.runtime.version=1.7.0_05-b06
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.endorsed.dirs=c:\program files\jitsi\jre\lib\endorsed
19:35:49.699 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.arch=x86
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.io.tmpdir=C:\Users\dpk\AppData\Local\Temp\
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() line.separator=

19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.specification.vendor=Oracle Corporation
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.variant=
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.name=Windows
7
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.jnu.encoding=Cp1252
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.library.path=c:\program files\jitsi\native
19:35:49.700 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.specification.name=Java Platform API Specification
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.class.version=51.0
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia
.notify.AudioNotifierServiceImpl
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.management.compiler=HotSpot Client Compiler
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() os.version=6.1
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
user.home=C:\Users\dpk
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
user.timezone=America/Chicago
19:35:49.701 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.awt.printerjob=sun.awt.windows.WPrinterJob
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
file.encoding=Cp1252
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.specification.version=1.7
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
jna.library.path=c:\program files\jitsi\native
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.class.path=lib\felix.jar;lib\jdic-all.jar;lib\jdic_stub.jar;lib\bcprovi
der.jar;sc-bundles\sc-launcher.jar;sc-bundles\util.jar
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info() user.name=dpk
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.specification.version=1.7
19:35:49.702 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.home=c:\program files\jitsi\jre
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.arch.data.model=32
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
user.language=en
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.specification.vendor=Oracle Corporation
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
awt.toolkit=sun.awt.windows.WToolkit
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vm.info=mixed mode
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.version=1.7.0_05
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.ext.dirs=c:\program files\jitsi\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
19:35:49.703 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.boot.class.path=c:\program files\jitsi\jre\lib\resources.jar;c:\program
files\jitsi\jre\lib\rt.jar;c:\program
files\jitsi\jre\lib\sunrsasign.jar;c:\program
files\jitsi\jre\lib\jsse.jar;c:\program
files\jitsi\jre\lib\jce.jar;c:\program
files\jitsi\jre\lib\charsets.jar;c:\program
files\jitsi\jre\lib\jfr.jar;c:\program files\jitsi\jre\classes
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
net.java.sip.communicator.SC_HOME_DIR_LOCATION=C:\Users\dpk\AppData\Roaming
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor=Oracle Corporation
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
file.separator=\
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
net.java.sip.communicator.SC_HOME_DIR_NAME=Jitsi
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.io.unicode.encoding=UnicodeLittle
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.cpu.endian=little
19:35:49.704 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.desktop=windows
19:35:49.705 INFO:
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386
i86
19:35:49.736 INFO: impl.resources.ResourceManagementActivator.start().43
Resource manager ... [REGISTERED]
19:35:49.737 INFO:
service.notification.NotificationServiceActivator.start().37 Notification
Service...[ STARTED ]
19:35:49.741 INFO:
service.notification.NotificationServiceActivator.start().44 Notification
Service ...[REGISTERED]
19:35:49.827 INFO: impl.netaddr.NetworkAddressManagerServiceImpl.start().81
Network Address Manager ...[ STARTED ]
19:35:49.827 INFO: impl.netaddr.NetworkAddressManagerServiceImpl.start().87
Network Address Manager Service ...[REGISTERED]
19:35:49.831 INFO: impl.browserlauncher.BrowserLauncherActivator.start().45
Browser Launcher Service STARTED
19:35:49.831 INFO: impl.browserlauncher.BrowserLauncherActivator.start().54
Browser Launcher Service REGISTERED
19:35:49.840 INFO: impl.packetlogging.PacketLoggingActivator.start().78
Packet Logging Service ...[REGISTERED]
19:35:49.844 INFO: impl.version.VersionActivator.start() Jitsi Version:
Jitsi 1.1.0-0.build.by.SVN
19:35:49.928 INFO:
plugin.globalproxyconfig.GlobalProxyPluginActivator.start().79 GLOBAL PROXY
CONFIGURATION PLUGIN... [REGISTERED]
19:35:49.943 INFO: org.jitsi.impl.neomedia.device.DeviceSystem.info()
Initializing audio devices
19:35:50.077 INFO: org.jitsi.impl.neomedia.device.DeviceSystem.info()
Initializing video devices
19:35:50.131 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:640x480
19:35:50.131 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:160x120
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:176x144
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:320x240
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:432x240
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:352x288
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:640x360
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:800x448
19:35:50.132 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:864x480
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1024x576
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:800x600
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:960x720
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1280x720
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1600x896
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1920x1080
19:35:50.133 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:640x480
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:160x120
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:176x144
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:320x240
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:432x240
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:352x288
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:640x360
19:35:50.134 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:800x448
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:864x480
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1024x576
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:800x600
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:960x720
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1280x720
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1600x896
19:35:50.135 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Webcam available resolution for Logitech HD Webcam C615:1920x1080
19:35:50.136 INFO: org.jitsi.impl.neomedia.device.DirectShowSystem.info()
Found[0]: Logitech HD Webcam C615
19:35:50.137 INFO: org.jitsi.impl.neomedia.device.DeviceConfiguration.info()
Looking for configured audio devices.
19:35:50.137 INFO: org.jitsi.impl.neomedia.device.DeviceConfiguration.info()
Scanning for configured Video Devices.
19:35:50.138 INFO: org.jitsi.impl.neomedia.device.DeviceConfiguration.info()
Found Logitech HD Webcam C615 as a AVFRAME, class
org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt= -1 video capture
device.
19:35:50.212 INFO: fmj.commit() Wrote registry file:
C:\Users\dpk\AppData\Roaming\Jitsi\.fmj.registry
19:35:50.250 INFO: impl.neomedia.NeomediaActivator.start().277 Audio
Notifier Service ...[REGISTERED]
19:35:50.423 INFO:
impl.netaddr.NetworkConfigurationWatcher.checkNetworkInterfaces().444
Currently Active eth13:[/10.XXX.XXX.XXX]
19:35:50.423 INFO:
impl.netaddr.NetworkConfigurationWatcher.checkNetworkInterfaces().444
Currently Active net4:[/2001:0:413X:9e7X:88X:44X:f52X:feeX]
19:35:50.579 INFO: impl.msghistory.MessageHistoryActivator.start().73
Message History Service ...[REGISTERED]
19:35:50.586 INFO: impl.callhistory.CallHistoryActivator.start().93 Call
History Service ...[REGISTERED]
19:35:50.594 INFO: impl.filehistory.FileHistoryActivator.start().64 File
History Service ...[REGISTERED]
19:35:50.599 INFO: impl.metahistory.MetaHistoryActivator.start().56 Meta
History Service ...[REGISTERED]
19:35:50.620 INFO: impl.gui.GuiActivator.start().130 GlobalStatus Service
...[REGISTERED]
19:35:51.095 INFO: impl.gui.GuiActivator.start().141 UI Service...[ STARTED
]
19:35:51.179 INFO: impl.gui.GuiActivator.start().147 UI Service
...[REGISTERED]
19:35:51.183 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.185 INFO:
plugin.branding.BrandingActivator.registerMenuEntryNonMacOSX().228 ABOUT
WINDOW ... [REGISTERED]
19:35:51.185 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.194 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.195 INFO:
plugin.branding.BrandingActivator.registerMenuEntryNonMacOSX().242 CHAT
ABOUT WINDOW ... [REGISTERED]
19:35:51.198 INFO:
impl.swingnotification.SwingNotificationActivator.start().52 Swing
Notification ...[ STARTING ]
19:35:51.200 INFO:
impl.swingnotification.SwingNotificationActivator.start().67 Swing
Notification ...[REGISTERED]
19:35:51.220 INFO:
impl.osdependent.jdic.SystrayServiceJdicImpl.initSystray().380 added the
following popup handler : Jitsi popups
19:35:51.220 INFO:
impl.osdependent.jdic.SystrayServiceJdicImpl.setActivePopupMessageHandler().
582 setting the following popup handler as active: Jitsi popups
19:35:51.258 INFO: impl.osdependent.OsDependentActivator.start().76 Systray
Service...[ STARTED ]
19:35:51.259 INFO: impl.osdependent.OsDependentActivator.start().84 Systray
Service ...[REGISTERED]
19:35:51.261 INFO: impl.osdependent.OsDependentActivator.start().90 Desktop
Service...[ STARTED ]
19:35:51.261 INFO: impl.osdependent.OsDependentActivator.start().98 Desktop
Service ...[REGISTERED]
19:35:51.298 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.302 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.309 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.319 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.324 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.329 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.333 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.341 INFO: impl.notification.NotificationActivator.start().45
Notification handler Service...[ STARTED ]
19:35:51.343 INFO: impl.notification.NotificationActivator.start().65
Notification handler Service ...[REGISTERED]
19:35:51.346 INFO:
plugin.notificationwiring.NotificationWiringActivator.start().42
Notification wiring plugin...[ STARTED ]
19:35:51.467 INFO:
plugin.notificationwiring.NotificationWiringActivator.start().54
Notification wiring plugin ...[REGISTERED]
19:35:51.472 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.473 INFO: plugin.contactinfo.ContactInfoActivator.start().45
CONTACT INFO... [REGISTERED]
19:35:51.487 INFO:
plugin.generalconfig.GeneralConfigPluginActivator.start().178 PREFERENCES
PLUGIN... [REGISTERED]
19:35:51.494 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.495 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.497 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.502 INFO:
plugin.facebookaccregwizz.FacebookAccRegWizzActivator.start().68 Loading
facebook account wizard.
19:35:51.503 INFO:
impl.gui.main.account.AccountRegWizardContainerImpl.serviceChanged().311
Handling registration of a new Account Wizard.
19:35:51.503 INFO:
plugin.facebookaccregwizz.FacebookAccRegWizzActivator.start().95 Facebook
account registration wizard [STARTED].
19:35:51.521 WARNING: plugin.spellcheck.Parameters.<clinit>().89
Unrecognized category: #text
19:35:51.521 WARNING: plugin.spellcheck.Parameters.<clinit>().89
Unrecognized category: #text
19:35:51.525 WARNING: plugin.spellcheck.Parameters.<clinit>().89
Unrecognized category: #text
19:35:51.528 INFO:
impl.resources.ResourceManagementServiceImpl.getImageURL().544 Missing
resource for key: blankFlag
19:35:51.694 INFO: plugin.spellcheck.SpellChecker.start().161 Spell Checker
loaded.
19:35:51.694 INFO: impl.gui.UIServiceImpl.serviceChanged().1054 Handling
registration of a new Plugin Component.
19:35:51.701 INFO: plugin.advancedconfig.AdvancedConfigActivator.start().88
ADVANCED CONFIG PLUGIN... [REGISTERED]
19:35:51.709 INFO:
plugin.advancedconfig.AdvancedConfigurationPanel.serviceChanged().161
Handling registration of a new Configuration Form.
19:35:51.712 INFO:
plugin.advancedconfig.AdvancedConfigurationPanel.serviceChanged().161
Handling registration of a new Configuration Form.
19:35:51.719 INFO: impl.replacement.youtube.YoutubeActivator.start().56
Youtube source implementation [STARTED].
19:35:51.735 INFO:
impl.replacement.dailymotion.DailymotionActivator.start().56 Dailymotion
source implementation [STARTED].
19:35:51.740 INFO: impl.replacement.smiley.SmileyActivator.start().76 Smiley
source implementation [STARTED].
19:35:51.819 INFO: impl.replacement.vimeo.VimeoActivator.start().56 Vimeo
source implementation [STARTED].
19:35:51.823 INFO: impl.replacement.vbox7.Vbox7Activator.start().57 Vbox7
source implementation [STARTED].
19:35:51.827 INFO: impl.replacement.metacafe.MetacafeActivator.start().57
Metacafe source implementation [STARTED].
19:35:51.831 INFO: impl.replacement.flickr.FlickrActivator.start().57 Flickr
source implementation [STARTED].
19:35:51.836 INFO: impl.replacement.hulu.HuluActivator.start().56 HULU
source implementation [STARTED].
19:35:51.839 INFO: impl.replacement.twitpic.TwitpicActivator.start().57
Twitpic source implementation [STARTED].
19:35:51.842 INFO:
impl.replacement.directimage.DirectImageActivator.start().57 Direct Image
Link source implementation [STARTED].
19:35:51.847 INFO: impl.replacement.bliptv.BliptvActivator.start().57
Blip.TV source implementation [STARTED].
19:35:51.851 INFO: impl.replacement.viddler.ViddlerActivator.start().58
Viddler source implementation [STARTED].
19:35:51.908 INFO:
plugin.advancedconfig.AdvancedConfigurationPanel.serviceChanged().161
Handling registration of a new Configuration Form.
19:35:51.912 INFO:
plugin.advancedconfig.AdvancedConfigurationPanel.serviceChanged().161
Handling registration of a new Configuration Form.

From: Lubomir Marinov [mailto:lubo@sip-communicator.org] On Behalf Of

Lyubomir Marinov

···

-----Original Message-----
Sent: Wednesday, August 15, 2012 4:04 AM
To: dev@jitsi.java.net
Cc: damian@kohlfeld.com
Subject: Re: [jitsi-dev] Current 1.1 Trunk 32bit run.exe crash known??

Damian, it appears we'll need additional information from you regarding this
issue.

On Aug 13, 2012, at 9:47 PM, Damian Kohlfeld <damian@kohlfeld.com> wrote:

Right now, I'm just getting a stack trace.

Could you please show us the stack trace?

When you launch Jitsi, does it create an %APPDATA%\Jitsi directory and an
%APPDATA%\Jitsi\log\jitsi*.log.* file before the application crashes? If it
creates a log file, what's in it? For the purposes of the test, you could
temporarily move your current %APPDATA%\Jitsi directory away before
executing run.exe.

After Jitsi crashes, do you get an hs_err_pid*.log file? What does it say?
It could be in the %APPDATA%\Jitsi directory, your %TEMP% directory, or the
directory in which you have Jitsi installed.

Does Even Viewer show information about the crash? Which module does it
blame?

Could you please test how the crash is affected by deleting .dll files from
Jitsi's native directory where you have it installed? Please try by
incrementally ruling out the following .dll files in the specified order:
jmsofficecomm.dll, jmsoutlookaddrbook.dll, jnawtrenderer.dll,
jndirectshow.dll, jnscreencapture.dll, jnportaudio.dll.


#6

Damian, thank you very much for you reply!

Just finished following your steps, as far as deleting DLL's, and if I
simply remove jmsofficecomm then the software runs perfectly under 32 bit.

This suggests that the crash is caused by jmsofficecomm.dll then.

I'm wondering if this dll is actually a 64bit dll, although when I run it
through "strings" I only see 32bit references.

Well, if it was a 64-bit DLL, then 32-bit Windows wouldn't load it and
the application wouldn't crash.

Steps to recreate:
Download latest snapshot for 32bit, uninstall any previous version, and
delete any config data left behind, then install and run at the end of setup
or manually.
*only happens on 32bit windows, runs fine on 64bit.

Unfortunately, I'm unable to reproduce it.

32-bit Jitsi did crash for me on both 32-bit and 64-bit Windows the
first time I ever started it on the respective setup but then no
subsequent run of the application resulted in a crash (which sounds
like a different issue that has already been reported).
.

···

2012/8/17 Damian Kohlfeld <damian@kohlfeld.com>:


#7

Well, I guess I had to write that e-mail before I could get an idea…

There is a .tlb inside jmsofficecomm.dll which is being registered if its information is not in the registry yet. When that piece of code is executed, the 32-bit jmsofficecomm.dll crashes. I'm looking into it now..

···

On Aug 18, 2012, at 10:41 PM, Lyubomir Marinov <lyubomir.marinov@jitsi.org> wrote:

Unfortunately, I'm unable to reproduce it.

32-bit Jitsi did crash for me on both 32-bit and 64-bit Windows the
first time I ever started it on the respective setup but then no
subsequent run of the application resulted in a crash (which sounds
like a different issue that has already been reported).


#8

Hey

Is that Typelib-Stuff being removed when Jitsi is shutting down?
Normally COM-dlls are registered by using regsvr32 (which invokes DllMain
with a special argument). Installers usually extract this information, put
it into the msi and to registry on installation. As the msi knows what it
created, it also removes it on unistall.

Ah, and if you're working on that thing - have you had the time to take a
look at my comments from a couple of weeks ago?

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

From: Lubomir Marinov [mailto:lubo@sip-communicator.org] On Behalf Of
Lyubomir Marinov
Sent: Samstag, 18. August 2012 16:27
To: dev@jitsi.java.net
Cc: damian@kohlfeld.com
Subject: [jitsi-dev] Re: Current 1.1 Trunk 32bit run.exe crash known??

> Unfortunately, I'm unable to reproduce it.
>
> 32-bit Jitsi did crash for me on both 32-bit and 64-bit Windows the
> first time I ever started it on the respective setup but then no
> subsequent run of the application resulted in a crash (which sounds
> like a different issue that has already been reported).

Well, I guess I had to write that e-mail before I could get an idea

There is a .tlb inside jmsofficecomm.dll which is being registered if its
information is not in the registry yet. When that piece of code is

executed,

···

-----Original Message-----
On Aug 18, 2012, at 10:41 PM, Lyubomir Marinov <lyubomir.marinov@jitsi.org> > wrote:
the 32-bit jmsofficecomm.dll crashes. I'm looking into it now.


#9

From: Lubomir Marinov [mailto:lubo@sip-communicator.org] On Behalf Of

Lyubomir Marinov

···

----Original Message-----
Sent: Saturday, August 18, 2012 3:27 PM
To: dev@jitsi.java.net
Cc: damian@kohlfeld.com
Subject: [jitsi-dev] Re: Current 1.1 Trunk 32bit run.exe crash known??

On Aug 18, 2012, at 10:41 PM, Lyubomir Marinov <lyubomir.marinov@jitsi.org> wrote:

Unfortunately, I'm unable to reproduce it.

32-bit Jitsi did crash for me on both 32-bit and 64-bit Windows the
first time I ever started it on the respective setup but then no
subsequent run of the application resulted in a crash (which sounds
like a different issue that has already been reported).

Well, I guess I had to write that e-mail before I could get an idea.

There is a .tlb inside jmsofficecomm.dll which is being registered if its

information is not in the registry yet. When that piece of code is executed,
the 32-bit jmsofficecomm.dll crashes. >I'm looking into it now.

How is the tlb file being registered from the DLL? Is it part of the *load*
process? I'm used to manually registering my com components as part if the
installation process, then un-registering them as part of the uninstall.
Are you saying that there is some kind of method within the DLL that is
registering it when it is invoked/loaded?

That's quite a trick, I've done a lot of DLL magic in my time, but, nothing
like that :wink: Or, does WIX call regsvr32 during install/uninstall?

Damian

.


#10

How is the tlb file being registered from the DLL?

RegisterTypeLibForUser

Is it part of the *load*
process?

I don't know what you mean by *load* process. The jmsofficecomm.dll library performs the registration as one of the initial steps of starting the COM server that it implements.

I'm used to manually registering my com components as part if the
installation process, then un-registering them as part of the uninstall.

Ingo already pointed it out so I'll write about it as part of my reply to him.

Are you saying that there is some kind of method within the DLL that is
registering it when it is invoked/loaded?

The jmsofficecomm.dll file implements a JNI library which is loaded by the JVM as part of the execution of the Jitsi application. It starts a COM server implementing (parts of) the Office Communicator 2007 API. In order for Microsoft Office/Outlook to be able to invoke that implementation, it needs the type library in question so jmofficecomm.dll makes sure it is available.

That's quite a trick

What is "quite a trick"?

, I've done a lot of DLL magic in my time, but, nothing
like that :wink: Or, does WIX call regsvr32 during install/uninstall?

WiX is capable of calling regsvr32 during install/uninstall. Jitsi does not currently employ it for jmsofficecomm.dll.

···

On Aug 21, 2012, at 9:51 AM, Damian Kohlfeld <damian@kohlfeld.com> wrote: