Closed Bug 558880 Opened 13 years ago Closed 13 years ago

interesting modules files are zero length


(Socorro :: General, task)

Not set


(Not tracked)



(Reporter: chofmann, Assigned: jimb)



the firefox "interesting-modules" files seem to be zero length starting around 3/31 and continuing with the latest updates under crash_analysis.  See:


   0 Apr 12 12:54 20100411_Firefox_3.5.9-interesting-modules.txt20100411_Firefox_3.5.9-interesting-modules-with-versions.txt
the 3.6.3 versions of the files on 3/30 and 3/29 are also zero length, so the problem may have started sometime after 3/28
Something wrong with the python code that generates these reports.  Here is the error I have from the logs.

[processor@cm-breakpad02 ~]$ python26 /data/breakpad/crash-data-tools/ -p Firefox -r 3.5.9 -f /tmp/Firefox_3.5.9.tar > /tmp/Firefox_3.5.9-interesting-modules.txt
Traceback (most recent call last):
  File "/data/breakpad/crash-data-tools/", line 124, in <module>
    for libname, version in generate_modules_or_addons(crash):
  File "/data/breakpad/crash-data-tools/", line 76, in generate_modules_or_addons
    addrend, unknown = dump_line.split("|")
ValueError: need more than 4 values to unpack
[processor@cm-breakpad02 ~]$
Duplicate of this bug: 559063
Does this script live in a repo somewhere? And do you know what dump is being processed when the failure happens? jimb or I can probably hook this up pretty quick.
(In reply to comment #4)
> Does this script live in a repo somewhere? And do you know what dump is being
> processed when the failure happens? jimb or I can probably hook this up pretty
> quick.

Yes, I pulled it from

I don't know which uuid in the tens of thousands that are in the tar file is causing the script to choke.  I can upload the tar file, if you want to play with it, but its fairly sensitive data.. so I'd be careful with it.  Let me know how you want to proceed and we can figure something out.
Aravind, if I could get a copy of an input file before 3/28 and a current one, I can take a look at this.  Perhaps you could mail them to me at my Mozilla e-mail address.
Based on the error message and the script, I wonder if the format of the machine-readable output changed.
I'd like a copy of the current one, at least, however you want to post it.
Sent you guys a tar file with the info.
Blocks: 542201
The offending line being parsed is:


What's happening is that there is an embedded newline in the module description:


This is a bug in dump_syms, it should do something smarter with the embedded newline, although I'm not sure what yet.
That bad module line looks to be the same one that broke Socorro Processor in Bug 556690 and in the Socorro UI in Bug 556888.  We received a bunch of crashes like this one at the beginning of the month.
Assignee: nobody → jim
Patch mentioned in comment 11 landed upstream as r571.
still time to get this in to the 1.6.1 release that's being pushed tonight?

is the confidence in the patch good enough at this point to put it into production?

the number of bugs held up needing some module correlation data is growing so getting this as soon as possible would be great.
This is a change to minidump_stackwalk which can be put into production independently of any socorro changes. If we want to make the correlation scripts ignore the existing bad data, that would be a different patch.
I guess the question then is do we think the minidump_stackwalk change is ready for production?  seems better to just patch things there than to possibly continue to stumble on places that choke on the bad data.
Ben's patch from comment 11 looks extremely innocent to me.  I think it could safely be applied locally.
Assignee: jim → benjamin
Assignee: benjamin → jim
Other changes made upstream (r571, in particular) fail to compile on RHEL 5.4.  bug 560377 refers to the patch to fix that problem.  Marking that as blocking this, since the fix here is to re-import upstream.
Depends on: 560377
This code is now running in production.
Blocks: 561264
Chris, can you verify that the problem is fixed? It looks to me like the interesting-modules.txt lists are no longer being created as empty files, so I'd like to close this bug.
yeah, looks fixed after
Closed: 13 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.